CVE-2023-54314

media: af9005: Fix null-ptr-deref in af9005_i2c_xfer

published December 30, 2025

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

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

media: af9005: Fix null-ptr-deref in af9005_i2c_xfer

In af9005_i2c_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 af9005_i2c_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.00198 · 9.1th percentile
Published
2025-12-30T12:23Z
EPSS history
Timeline
  • 30 DEC 12:23Z
    media: af9005: Fix null-ptr-deref in af9005_i2c_xfer
    cvelistv5