media: dvb-frontends: dib7090p: fix null-ptr-deref in dib7090p_rw_on_apb()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 713d54a8bd812229410a1902cd9b332a2a27af9f · < 0bb32863426afe0badac25c28d59021f211d0f48| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
media: dvb-frontends: dib7090p: fix null-ptr-deref in dib7090p_rw_on_apb()
In dib7090p_rw_on_apb, msg is controlled by user. When msg[0].buf is null and msg[0].len is zero, former checks on msg[0].buf would be passed. If accessing msg[0].buf[2] without sanity check, null pointer deref would happen. We add check on msg[0].len to prevent crash. Similar issue occurs when access msg[1].buf[0] and msg[1].buf[1].
Similar commit: commit 0ed554fd769a ("media: dvb-usb: az6027: fix null-ptr-deref in az6027_i2c_xfer()")
From the CVE record · Linux
The Linux kernel’s dib7090p DVB frontend has a null-pointer dereference in dib7090p_rw_on_apb(). A user-controlled message with a null buffer and zero length can pass the existing checks and cause a crash. The input does not specify whether exploitation requires local access, authentication, or user interaction.
Engineers running Linux kernels with the dib7090p DVB frontend should check their versions; affected versions are not specified.