CVE-2024-35848

eeprom: at24: fix memory corruption race condition

State
Published
Severity
7.0 High
Published
May 17, 2024
Updated
Aug 5, 2026
Reserved
May 17, 2024

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

eeprom: at24: fix memory corruption race condition

If the eeprom is not accessible, an nvmem device will be registered, the read will fail, and the device will be torn down. If another driver accesses the nvmem device after the teardown, it will reference invalid memory.

Move the failure point before registering the nvmem device.

Scores

CVSSScoreVectorSource
3.17.0 HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • b20eb4c1f0261eebe6e1b9221c0d6e4048837778 to before c850f71fca09ea41800ed55905980063d17e01daAffected
  • b20eb4c1f0261eebe6e1b9221c0d6e4048837778 to before 26d32bec4c6d255a03762f33c637bfa3718be15aAffected
  • b20eb4c1f0261eebe6e1b9221c0d6e4048837778 to before c43e5028f5a35331eb25017f5ff6cc21735005c6Affected
  • b20eb4c1f0261eebe6e1b9221c0d6e4048837778 to before 2af84c46b9b8f2d6c0f88d09ee5c849ae1734676Affected
  • b20eb4c1f0261eebe6e1b9221c0d6e4048837778 to before 6d8b56ec0c8f30d5657382f47344a32569f7a9bcAffected
  • b20eb4c1f0261eebe6e1b9221c0d6e4048837778 to before f42c97027fb75776e2e9358d16bf4a99aeb04cf2Affected
LinuxLinux
  • 5.3Affected
  • before 5.3Not affected
  • 5.10.217 through 5.10.*Not affected
  • 5.15.159 through 5.15.*Not affected
  • 6.1.91 through 6.1.*Not affected
  • 6.6.31 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.