VDB

CVE-2024-35984

CVE-2024-35984 PUBLISHED

i2c: smbus: fix NULL function pointer dereference

Reported by linux · Published May 20, 2024

In the Linux kernel, the following vulnerability has been resolved: i2c: smbus: fix NULL function pointer dereference Baruch reported an OOPS when using the designware controller as target only. Target-only modes break the assumption of one transfer function always being available. Fix this by always checking the pointer in __i2c_transfer. [wsa: dropped the simplification in core-smbus to avoid theoretical regressions]

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
perfAmazon Linux6.1.90-99.173.amzn2023
kernel-headersAmazon Linux6.1.90-99.173.amzn2023
kernelAmazon Linux6.1.90-99.173.amzn2023

Affected products

VendorProductVersions
LinuxLinux63453b59e41173241c4efe9335815f6432fa8586, 63453b59e41173241c4efe9335815f6432fa8586, 63453b59e41173241c4efe9335815f6432fa8586
LinuxLinux4.19, 0, 4.19.313
amazon:2023perf0
amazon:2023kernel-headers0
amazon:2023kernel0
linuxlinux_kernel4.19, 4.19, 4.19
amazon:2023python3-perf0
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystem0
SiemensSCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family0
amazon:2023kernel-libbpf0
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-tools0
amazon:2023kernel-livepatch-6.1.90-99.1730
amazon:2023kernel-devel0
amazon:2023kernel-tools-devel0
amazon:2023kernel-libbpf-static0
LinuxLinux5.15.158, 6.1.90, 6.6.30
amazon:2023bpftool0
SiemensSCALANCE XCM-/XRM-/XCH-/XRH-300 family0
amazon:2023kernel-modules-extra0

…and 2 more

Timeline

  • May 20, 2024 CVE Published
  • May 21, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (7 in total, the first dated here)
  • Dec 16, 2025 PoC Published
  • Jan 10, 2026 Security Advisory (443 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (338 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-35984
vulnetix vdb fixes CVE-2024-35984

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-35984/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›