Lucene search

K
cvelistLinuxCVELIST:CVE-2024-35848
HistoryMay 17, 2024 - 2:47 p.m.

CVE-2024-35848 eeprom: at24: fix memory corruption race condition

2024-05-1714:47:26
Linux
www.cve.org
1
linux
kernel
vulnerability
memory corruption
race condition
eeprom
nvmem
driver

7.7 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

10.3%

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.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/misc/eeprom/at24.c"
    ],
    "versions": [
      {
        "version": "b20eb4c1f026",
        "lessThan": "c850f71fca09",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "b20eb4c1f026",
        "lessThan": "26d32bec4c6d",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "b20eb4c1f026",
        "lessThan": "c43e5028f5a3",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "b20eb4c1f026",
        "lessThan": "2af84c46b9b8",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "b20eb4c1f026",
        "lessThan": "6d8b56ec0c8f",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "b20eb4c1f026",
        "lessThan": "f42c97027fb7",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/misc/eeprom/at24.c"
    ],
    "versions": [
      {
        "version": "5.3",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.3",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.217",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.159",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.91",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.31",
        "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"
      }
    ]
  }
]

7.7 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

10.3%