eeprom: at24: fix memory corruption race condition (Linux Linux)

CVE-2024-35848
HIGH 7.0

At a glance

Source
NVD
EPSS
EPSS 0.19 % · percentile 8 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-362 — Concurrent Execution using Shared Resource with Improper Synchronization

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.0CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.0CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 4.7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected b20eb4c1f0261eebe6e1b9221c0d6e4048837778 < c850f71fca09ea41800ed55905980063d17e01da ; affected b20eb4c1f0261eebe6e1b9221c0d6e4048837778 < 26d32bec4c6d255a03762f33c637bfa3718be15a ; affected b20eb4c1f0261eebe6e1b9221c0d6e4048837778 < c43e5028f5a35331eb25017f5ff6cc21735005c6 ; affected b20eb4c1f0261eebe6e1b9221c0d6e4048837778 < 2af84c46b9b8f2d6c0f88d09ee5c849ae1734676 ; affected b20eb4c1f0261eebe6e1b9221c0d6e4048837778 < 6d8b56ec0c8f30d5657382f47344a32569f7a9bc ; affected b20eb4c1f0261eebe6e1b9221c0d6e4048837778 < f42c97027fb75776e2e9358d16bf4a99aeb04cf2
Linux · Linuxaffected 5.3 ; unaffected 0 < 5.3 ; unaffected 5.10.217 ≤ 5.10.* ; unaffected 5.15.159 ≤ 5.15.* ; unaffected 6.1.91 ≤ 6.1.* ; unaffected 6.6.31 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD