CVE-2023-52915

media: dvb-usb-v2: af9035: Fix null-ptr-deref in af9035_i2c_master_xfer

published September 6, 2024

CVSS
—
EPSS
0%
Percentile
10.8
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

media: dvb-usb-v2: af9035: Fix null-ptr-deref in af9035_i2c_master_xfer

In af9035_i2c_master_xfer, msg is controlled by user. When msg[i].buf

is null and msg[i].len is zero, former checks on msg[i].buf would be

passed. Malicious data finally reach af9035_i2c_master_xfer. If accessing

msg[i].buf[0] without sanity check, null ptr deref would happen.

We add check on msg[i].len to prevent crash.

Similar commit:

commit 0ed554fd769a

("media: dvb-usb: az6027: fix null-ptr-deref in az6027_i2c_xfer()")

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00211 · 10.8th percentile
Published
2024-09-06T09:07Z
EPSS history
Timeline
  • 06 SEP 09:07Z
    media: dvb-usb-v2: af9035: Fix null-ptr-deref in af9035_i2c_master_xfer
    cvelistv5