# CVE-2024-35984: i2c: smbus: fix NULL function pointer dereference

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2024-05-20T09:47:51.738Z
- Modified: 2026-10-15T01:18:16.317Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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]

(As written by CVE List.)

## Affected

- Linux Linux: from 63453b59e41173241c4efe9335815f6432fa8586 before 40f1d79f07b49c8a64a861706e5163f2db4bd95d; from 63453b59e41173241c4efe9335815f6432fa8586 before ad3c3ac7a03be3697114f781193dd3e9d97e6e23; from 63453b59e41173241c4efe9335815f6432fa8586 before 5fd72404587d7db4acb2d241fd8c387afb0a7aec; from 63453b59e41173241c4efe9335815f6432fa8586 before 5a09eae9a7db597fe0c1fc91636205b4a25d2620; from 63453b59e41173241c4efe9335815f6432fa8586 before 4e75e222d397c6752b229ed72fc4644c8c36ecde; from 63453b59e41173241c4efe9335815f6432fa8586 before e3425674ff68dc521c57c6eabad0cbd20a027d85; from 63453b59e41173241c4efe9335815f6432fa8586 before 357c64ef1ef39b1e7cd91ab6bdd304d043702c83; from 63453b59e41173241c4efe9335815f6432fa8586 before 91811a31b68d3765b3065f4bb6d7d6d84a7cfc9f; 4.19 (not affected: before 4.19; from 4.19.313 up to 4.19.*; from 5.4.275 up to 5.4.*; from 5.10.216 up to 5.10.*; from 5.15.158 up to 5.15.*; from 6.1.90 up to 6.1.*; from 6.6.30 up to 6.6.*; from 6.8.9 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: from 3.19 before 4.19.313; from 4.20 before 5.4.275; from 5.5 before 5.10.216; from 5.11 before 5.15.158; from 5.16 before 6.1.90; from 6.2 before 6.6.30; from 6.7 before 6.8.9

## References

- <https://git.kernel.org/stable/c/40f1d79f07b49c8a64a861706e5163f2db4bd95d> (patch)
- <https://git.kernel.org/stable/c/ad3c3ac7a03be3697114f781193dd3e9d97e6e23> (patch)
- <https://git.kernel.org/stable/c/5fd72404587d7db4acb2d241fd8c387afb0a7aec> (patch)
- <https://git.kernel.org/stable/c/5a09eae9a7db597fe0c1fc91636205b4a25d2620> (patch)
- <https://git.kernel.org/stable/c/4e75e222d397c6752b229ed72fc4644c8c36ecde> (patch)
- <https://git.kernel.org/stable/c/e3425674ff68dc521c57c6eabad0cbd20a027d85> (patch)
- <https://git.kernel.org/stable/c/357c64ef1ef39b1e7cd91ab6bdd304d043702c83> (patch)
- <https://git.kernel.org/stable/c/91811a31b68d3765b3065f4bb6d7d6d84a7cfc9f> (patch)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html>
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-613116.html>

## Sources

- CVE List: [CVE-2024-35984](https://www.cve.org/CVERecord?id=CVE-2024-35984), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2024-35984](https://nvd.nist.gov/vuln/detail/CVE-2024-35984), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2024-35984 · Whole record: https://cve.day/CVE-2024-35984.json · Rebuilt by cve.day 2026-11-25T22:58:40.653Z
