CVE-2024-35984

i2c: smbus: fix NULL function pointer dereference

State
Published
Severity
Not scored
Published
May 20, 2024
Updated
Oct 15, 2026
Reserved
May 17, 2024

Read the record on cve.org

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]

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 63453b59e41173241c4efe9335815f6432fa8586 to before 40f1d79f07b49c8a64a861706e5163f2db4bd95dAffected
  • 63453b59e41173241c4efe9335815f6432fa8586 to before ad3c3ac7a03be3697114f781193dd3e9d97e6e23Affected
  • 63453b59e41173241c4efe9335815f6432fa8586 to before 5fd72404587d7db4acb2d241fd8c387afb0a7aecAffected
  • 63453b59e41173241c4efe9335815f6432fa8586 to before 5a09eae9a7db597fe0c1fc91636205b4a25d2620Affected
  • 63453b59e41173241c4efe9335815f6432fa8586 to before 4e75e222d397c6752b229ed72fc4644c8c36ecdeAffected
  • 63453b59e41173241c4efe9335815f6432fa8586 to before e3425674ff68dc521c57c6eabad0cbd20a027d85Affected
  • 63453b59e41173241c4efe9335815f6432fa8586 to before 357c64ef1ef39b1e7cd91ab6bdd304d043702c83Affected
  • 63453b59e41173241c4efe9335815f6432fa8586 to before 91811a31b68d3765b3065f4bb6d7d6d84a7cfc9fAffected
LinuxLinux
  • 4.19Affected
  • before 4.19Not affected
  • 4.19.313 through 4.19.*Not affected
  • 5.4.275 through 5.4.*Not affected
  • 5.10.216 through 5.10.*Not affected
  • 5.15.158 through 5.15.*Not affected
  • 6.1.90 through 6.1.*Not affected
  • 6.6.30 through 6.6.*Not affected
  • 6.8.9 through 6.8.*Not affected
  • 6.9 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.