CVE-2023-54314

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

N/A
Published: December 30, 2025 at 12:23 PM UTC
Updated: June 17, 2026 at 06:47 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.2%

Description

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()")

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.23 ≤ v < 4.14.3262.6.23 ≤ v < 4.19.2952.6.23 ≤ v < 5.10.1972.6.23 ≤ v < 5.15.1332.6.23 ≤ v < 5.4.2572.6.23 ≤ v < 6.1.552.6.23 ≤ v < 6.5.52.6.23 ≤ v < 6.62.6.23af4e067e1dcf926d9523dff11e46c45fd9fa9da2
Vendor states this is fixed in 033b0c0780adee32dde218179e9bc51d2525108f (fixed)
Vendor states this is fixed in 0c02eb70b1dd4ae9bb304ce6cdadbc6faba2b2e9 (fixed)
Vendor states this is fixed in 63d962ac7a52c0ff4cd09af2e284dce5e5955dfe (fixed)
Vendor states this is fixed in 98c12abb275b75a98ff62de9466d21e4daa98536 (fixed)
Vendor states this is fixed in abb6fd93e05e80668d2317fe1110bc99b05034c3 (fixed)
Vendor states this is fixed in c7e5ac737db25d7387fe517cb5207706782b6cf8 (fixed)
Vendor states this is fixed in e595ff350b2fd600823ee8491df7df693ae4b7c5 (fixed)
Vendor states this is fixed in f4ee84f27625ce1fdf41e8483fa0561a1b837d10 (fixed)
Vendor states this is fixed in 2.6.23 (unaffected)
Vendor states this is fixed in 4.14.326 (unaffected)
Vendor states this is fixed in 4.19.295 (unaffected)
Vendor states this is fixed in 5.10.197 (unaffected)
Vendor states this is fixed in 5.15.133 (unaffected)
Vendor states this is fixed in 5.4.257 (unaffected)
Vendor states this is fixed in 6.1.55 (unaffected)
Vendor states this is fixed in 6.5.5 (unaffected)
Vendor states this is fixed in 6.6 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusDEFERRED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card