CVE-2024-35984

Source
https://cve.org/CVERecord?id=CVE-2024-35984
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-35984.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-35984
Downstream
Related
Published
2024-05-20T09:47:51.738Z
Modified
2026-05-28T03:54:27.224612361Z
Summary
i2c: smbus: fix NULL function pointer dereference
Details

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 _i2ctransfer.

[wsa: dropped the simplification in core-smbus to avoid theoretical regressions]

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35984.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
63453b59e41173241c4efe9335815f6432fa8586
Fixed
40f1d79f07b49c8a64a861706e5163f2db4bd95d
Fixed
ad3c3ac7a03be3697114f781193dd3e9d97e6e23
Fixed
5fd72404587d7db4acb2d241fd8c387afb0a7aec
Fixed
5a09eae9a7db597fe0c1fc91636205b4a25d2620
Fixed
4e75e222d397c6752b229ed72fc4644c8c36ecde
Fixed
e3425674ff68dc521c57c6eabad0cbd20a027d85
Fixed
357c64ef1ef39b1e7cd91ab6bdd304d043702c83
Fixed
91811a31b68d3765b3065f4bb6d7d6d84a7cfc9f

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-35984.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.19.0
Fixed
4.19.313
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.275
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.216
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.158
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.90
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.30
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.8.9

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-35984.json"