CVE-2024-35984
Assigner: Linux
Published: 2024-05-20T09:47:51.738Z
State: PUBLISHED
descriptions: value: 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]
affected: product: Linux
vendor: Linux
defaultStatus: unaffected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions: version: 4b1acc43331d
lessThan: 40f1d79f07b4
status: affected
versionType: git
version: 4b1acc43331d
lessThan: ad3c3ac7a03b
status: affected
versionType: git
version: 4b1acc43331d
lessThan: 5fd72404587d
status: affected
versionType: git
version: 4b1acc43331d
lessThan: 5a09eae9a7db
status: affected
versionType: git
version: 4b1acc43331d
lessThan: 4e75e222d397
status: affected
versionType: git
version: 4b1acc43331d
lessThan: e3425674ff68
status: affected
versionType: git
version: 4b1acc43331d
lessThan: 357c64ef1ef3
status: affected
versionType: git
version: 4b1acc43331d
lessThan: 91811a31b68d
status: affected
versionType: git
product: Linux
vendor: Linux
defaultStatus: affected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions: version: 3.19
status: affected
version: 0
lessThan: 3.19
status: unaffected
versionType: custom
version: 4.19.313
lessThanOrEqual: 4.19.*
status: unaffected
versionType: custom
version: 5.4.275
lessThanOrEqual: 5.4.*
status: unaffected
versionType: custom
version: 5.10.216
lessThanOrEqual: 5.10.*
status: unaffected
versionType: custom
version: 5.15.158
lessThanOrEqual: 5.15.*
status: unaffected
versionType: custom
version: 6.1.90
lessThanOrEqual: 6.1.*
status: unaffected
versionType: custom
version: 6.6.30
lessThanOrEqual: 6.6.*
status: unaffected
versionType: custom
version: 6.8.9
lessThanOrEqual: 6.8.*
status: unaffected
versionType: custom
version: 6.9
lessThanOrEqual: *
status: unaffected
versionType: original_commit_for_fix
title: i2c: smbus: fix NULL function pointer dereference
x_generator: engine: bippy-d175d3acf727