CVE-2024-35848 (GCVE-0-2024-35848)

Vulnerability from cvelistv5 – Published: 2024-05-17 14:47 – Updated: 2026-08-05 11:30
VLAI
Title
eeprom: at24: fix memory corruption race condition
Summary
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.
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator (v2.0.3)
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: b20eb4c1f0261eebe6e1b9221c0d6e4048837778 , < c850f71fca09ea41800ed55905980063d17e01da (git)
Affected: b20eb4c1f0261eebe6e1b9221c0d6e4048837778 , < 26d32bec4c6d255a03762f33c637bfa3718be15a (git)
Affected: b20eb4c1f0261eebe6e1b9221c0d6e4048837778 , < c43e5028f5a35331eb25017f5ff6cc21735005c6 (git)
Affected: b20eb4c1f0261eebe6e1b9221c0d6e4048837778 , < 2af84c46b9b8f2d6c0f88d09ee5c849ae1734676 (git)
Affected: b20eb4c1f0261eebe6e1b9221c0d6e4048837778 , < 6d8b56ec0c8f30d5657382f47344a32569f7a9bc (git)
Affected: b20eb4c1f0261eebe6e1b9221c0d6e4048837778 , < f42c97027fb75776e2e9358d16bf4a99aeb04cf2 (git)
Create a notification for this product.
Linux Linux Affected: 5.3
Unaffected: 0 , < 5.3 (semver)
Unaffected: 5.10.217 , ≤ 5.10.* (semver)
Unaffected: 5.15.159 , ≤ 5.15.* (semver)
Unaffected: 6.1.91 , ≤ 6.1.* (semver)
Unaffected: 6.6.31 , ≤ 6.6.* (semver)
Unaffected: 6.8.9 , ≤ 6.8.* (semver)
Unaffected: 6.9 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2024-35848",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-05-17T17:15:51.983063Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-06-04T17:34:04.173Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      },
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-02T03:21:48.632Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/c850f71fca09ea41800ed55905980063d17e01da"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/26d32bec4c6d255a03762f33c637bfa3718be15a"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/c43e5028f5a35331eb25017f5ff6cc21735005c6"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/2af84c46b9b8f2d6c0f88d09ee5c849ae1734676"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/6d8b56ec0c8f30d5657382f47344a32569f7a9bc"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/f42c97027fb75776e2e9358d16bf4a99aeb04cf2"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://lists.debian.org/debian-lts-announce/2024/06/msg00019.html"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/misc/eeprom/at24.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "c850f71fca09ea41800ed55905980063d17e01da",
              "status": "affected",
              "version": "b20eb4c1f0261eebe6e1b9221c0d6e4048837778",
              "versionType": "git"
            },
            {
              "lessThan": "26d32bec4c6d255a03762f33c637bfa3718be15a",
              "status": "affected",
              "version": "b20eb4c1f0261eebe6e1b9221c0d6e4048837778",
              "versionType": "git"
            },
            {
              "lessThan": "c43e5028f5a35331eb25017f5ff6cc21735005c6",
              "status": "affected",
              "version": "b20eb4c1f0261eebe6e1b9221c0d6e4048837778",
              "versionType": "git"
            },
            {
              "lessThan": "2af84c46b9b8f2d6c0f88d09ee5c849ae1734676",
              "status": "affected",
              "version": "b20eb4c1f0261eebe6e1b9221c0d6e4048837778",
              "versionType": "git"
            },
            {
              "lessThan": "6d8b56ec0c8f30d5657382f47344a32569f7a9bc",
              "status": "affected",
              "version": "b20eb4c1f0261eebe6e1b9221c0d6e4048837778",
              "versionType": "git"
            },
            {
              "lessThan": "f42c97027fb75776e2e9358d16bf4a99aeb04cf2",
              "status": "affected",
              "version": "b20eb4c1f0261eebe6e1b9221c0d6e4048837778",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/misc/eeprom/at24.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.3"
            },
            {
              "lessThan": "5.3",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.217",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.159",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.91",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.31",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.8.*",
              "status": "unaffected",
              "version": "6.8.9",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.9",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.217",
                  "versionStartIncluding": "5.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.159",
                  "versionStartIncluding": "5.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.91",
                  "versionStartIncluding": "5.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.31",
                  "versionStartIncluding": "5.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.8.9",
                  "versionStartIncluding": "5.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.9",
                  "versionStartIncluding": "5.3",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\neeprom: at24: fix memory corruption race condition\n\nIf the eeprom is not accessible, an nvmem device will be registered, the\nread will fail, and the device will be torn down. If another driver\naccesses the nvmem device after the teardown, it will reference\ninvalid memory.\n\nMove the failure point before registering the nvmem device."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The dangling nvmem provider is driven through local interfaces \u2014 the world-readable `/sys/bus/nvmem/devices/*/nvmem` and compat `eeprom` binary attributes (0444 for `at24_data_spd`/`24c02_vaio` via AT24_FLAG_IRUGO) reached by read(2), plus in-kernel nvmem consumer paths. There is no network exposure, and the exploitation interface is a local syscall rather than physical manipulation.\nAC:H - Exploitation requires the EEPROM\u0027s one-byte probe read to fail (an I2C/hardware condition a local unprivileged attacker cannot induce) while an nvmem consumer holds a reference across the devres teardown. The consumer half is deterministic on affected platforms (e.g. the NVMEM_ADD notifier in cp500.c fires inside nvmem_register itself), but the hardware-failure half is outside attacker control.\nPR:L - SPD and VAIO at24 chip data clear `root_only`, giving the nvmem and compat eeprom sysfs attributes mode 0444, so any unprivileged local account can invoke the freed `at24_read()` path with no capabilities, namespace tricks, or group membership.\nUI:N - No victim action is needed; the attacker simply reads the sysfs attribute, or an in-kernel consumer touches the stale nvmem device on its own.\nS:U - The use-after-free occurs in kernel memory and its impact is confined to the kernel\u0027s own security authority \u2014 no VM, IOMMU, or sandbox boundary is crossed.\nC:H - Reading the stale nvmem device dereferences a freed `at24_data`, and `at24_translate_offset()` indexes `client_regmaps[]` using an index bounded only by the freed `byte_len`, yielding out-of-bounds pointer fetches and regmap reads that return arbitrary reclaimed kernel memory into the user-visible read buffer.\nI:H - `at24_read()` calls `at24-\u003eread_post()` \u2014 a function pointer loaded from freed memory \u2014 and drives regmap op/lock tables out of a freed regmap, while `at24_write()` on a writable instance pushes attacker data through the same stale structures; heap grooming turns this into arbitrary write and control-flow hijack.\nA:H - Even without grooming, the use-after-free dereferences freed regmap and device pointers and locks a freed mutex, reliably producing an oops or panic, and the dangling nvmem device persists so the crash can be triggered repeatedly."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T11:30:17.634Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/c850f71fca09ea41800ed55905980063d17e01da"
        },
        {
          "url": "https://git.kernel.org/stable/c/26d32bec4c6d255a03762f33c637bfa3718be15a"
        },
        {
          "url": "https://git.kernel.org/stable/c/c43e5028f5a35331eb25017f5ff6cc21735005c6"
        },
        {
          "url": "https://git.kernel.org/stable/c/2af84c46b9b8f2d6c0f88d09ee5c849ae1734676"
        },
        {
          "url": "https://git.kernel.org/stable/c/6d8b56ec0c8f30d5657382f47344a32569f7a9bc"
        },
        {
          "url": "https://git.kernel.org/stable/c/f42c97027fb75776e2e9358d16bf4a99aeb04cf2"
        }
      ],
      "title": "eeprom: at24: fix memory corruption race condition",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-35848",
    "datePublished": "2024-05-17T14:47:26.828Z",
    "dateReserved": "2024-05-17T13:50:33.105Z",
    "dateUpdated": "2026-08-05T11:30:17.634Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2024-35848",
      "date": "2026-08-05",
      "epss": "0.002",
      "percentile": "0.10011"
    },
    "microsoft_vex": {
      "current_release_date": "2026-02-18T02:27:52.000Z",
      "cve": "CVE-2024-35848",
      "id": "msrc_CVE-2024-35848",
      "initial_release_date": "2024-05-02T07:00:00.000Z",
      "product_status:fixed": "5",
      "product_status:known_affected": "5",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "eeprom: at24: fix memory corruption race condition",
      "url": "https://msrc.microsoft.com/csaf/vex/2024/msrc_cve-2024-35848.json",
      "version": "4"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2024-35848\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-05-17T15:15:21.693\",\"lastModified\":\"2026-06-17T07:35:32.887\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\neeprom: at24: fix memory corruption race condition\\n\\nIf the eeprom is not accessible, an nvmem device will be registered, the\\nread will fail, and the device will be torn down. If another driver\\naccesses the nvmem device after the teardown, it will reference\\ninvalid memory.\\n\\nMove the failure point before registering the nvmem device.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se resolvi\u00f3 la siguiente vulnerabilidad: eeprom: at24: corrige la condici\u00f3n de ejecuci\u00f3n por corrupci\u00f3n de memoria. Si no se puede acceder a la eeprom, se registrar\u00e1 un dispositivo nvmem, la lectura fallar\u00e1 y el dispositivo se apagar\u00e1. Si otro controlador accede al dispositivo nvmem despu\u00e9s del desmontaje, har\u00e1 referencia a una memoria no v\u00e1lida. Mueva el punto de fallo antes de registrar el dispositivo nvmem.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/misc/eeprom/at24.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"b20eb4c1f0261eebe6e1b9221c0d6e4048837778\",\"lessThan\":\"c850f71fca09ea41800ed55905980063d17e01da\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"b20eb4c1f0261eebe6e1b9221c0d6e4048837778\",\"lessThan\":\"26d32bec4c6d255a03762f33c637bfa3718be15a\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"b20eb4c1f0261eebe6e1b9221c0d6e4048837778\",\"lessThan\":\"c43e5028f5a35331eb25017f5ff6cc21735005c6\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"b20eb4c1f0261eebe6e1b9221c0d6e4048837778\",\"lessThan\":\"2af84c46b9b8f2d6c0f88d09ee5c849ae1734676\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"b20eb4c1f0261eebe6e1b9221c0d6e4048837778\",\"lessThan\":\"6d8b56ec0c8f30d5657382f47344a32569f7a9bc\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"b20eb4c1f0261eebe6e1b9221c0d6e4048837778\",\"lessThan\":\"f42c97027fb75776e2e9358d16bf4a99aeb04cf2\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/misc/eeprom/at24.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"5.3\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"5.3\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.217\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.159\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.91\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.31\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.8.9\",\"lessThanOrEqual\":\"6.8.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.9\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":4.7,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"HIGH\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.0,\"impactScore\":3.6}],\"ssvcV203\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"ssvcData\":{\"timestamp\":\"2024-05-17T17:15:51.983063Z\",\"id\":\"CVE-2024-35848\",\"options\":[{\"exploitation\":\"none\"},{\"automatable\":\"no\"},{\"technicalImpact\":\"partial\"}],\"role\":\"CISA Coordinator\",\"version\":\"2.0.3\"}}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-362\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.3\",\"versionEndExcluding\":\"5.10.217\",\"matchCriteriaId\":\"249FA71E-8E46-4CB8-8EDC-1BE81FE97F20\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.11\",\"versionEndExcluding\":\"5.15.159\",\"matchCriteriaId\":\"F16678CD-F7C6-4BF6-ABA8-E7600857197B\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.16\",\"versionEndExcluding\":\"6.1.91\",\"matchCriteriaId\":\"4F8C886C-75AA-469B-A6A9-12BF1A29C0D5\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.2\",\"versionEndExcluding\":\"6.6.31\",\"matchCriteriaId\":\"CDDB1F69-36AC-41C1-9192-E7CCEF5FFC00\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.7\",\"versionEndExcluding\":\"6.8.9\",\"matchCriteriaId\":\"5F9041E5-8358-4EF7-8F98-B812EDE49612\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:*\",\"matchCriteriaId\":\"22BEDD49-2C6D-402D-9DBF-6646F6ECD10B\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.9:rc2:*:*:*:*:*:*\",\"matchCriteriaId\":\"DF73CB2A-DFFD-46FB-9BFE-AA394F27EA37\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.9:rc3:*:*:*:*:*:*\",\"matchCriteriaId\":\"52048DDA-FC5A-4363-95A0-A6357B4D7F8C\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.9:rc4:*:*:*:*:*:*\",\"matchCriteriaId\":\"A06B2CCF-3F43-4FA9-8773-C83C3F5764B2\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.9:rc5:*:*:*:*:*:*\",\"matchCriteriaId\":\"F850DCEC-E08B-4317-A33B-D2DCF39F601B\"}]}]},{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"07B237A9-69A3-4A9C-9DA0-4E06BD37AE73\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/26d32bec4c6d255a03762f33c637bfa3718be15a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/2af84c46b9b8f2d6c0f88d09ee5c849ae1734676\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/6d8b56ec0c8f30d5657382f47344a32569f7a9bc\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/c43e5028f5a35331eb25017f5ff6cc21735005c6\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/c850f71fca09ea41800ed55905980063d17e01da\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/f42c97027fb75776e2e9358d16bf4a99aeb04cf2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/26d32bec4c6d255a03762f33c637bfa3718be15a\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/2af84c46b9b8f2d6c0f88d09ee5c849ae1734676\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/6d8b56ec0c8f30d5657382f47344a32569f7a9bc\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/c43e5028f5a35331eb25017f5ff6cc21735005c6\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/c850f71fca09ea41800ed55905980063d17e01da\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/f42c97027fb75776e2e9358d16bf4a99aeb04cf2\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://lists.debian.org/debian-lts-announce/2024/06/msg00019.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Third Party Advisory\"]}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-08-04T18:57:46+00:00",
      "cve": "CVE-2024-35848",
      "id": "CVE-2024-35848",
      "initial_release_date": "2024-05-17T00:00:00+00:00",
      "product_status:fixed": "279",
      "product_status:known_affected": "64",
      "product_status:known_not_affected": "56",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: eeprom: at24: fix memory corruption race condition",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-35848.json",
      "version": "3"
    },
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://git.kernel.org/stable/c/c850f71fca09ea41800ed55905980063d17e01da\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/26d32bec4c6d255a03762f33c637bfa3718be15a\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/c43e5028f5a35331eb25017f5ff6cc21735005c6\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/2af84c46b9b8f2d6c0f88d09ee5c849ae1734676\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/6d8b56ec0c8f30d5657382f47344a32569f7a9bc\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/f42c97027fb75776e2e9358d16bf4a99aeb04cf2\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://lists.debian.org/debian-lts-announce/2024/06/msg00019.html\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-02T03:21:48.632Z\"}}, {\"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-35848\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-05-17T17:15:51.983063Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-05-23T19:01:24.598Z\"}, \"title\": \"CISA ADP Vulnrichment\"}], \"cna\": {\"title\": \"eeprom: at24: fix memory corruption race condition\", \"metrics\": [{\"cvssV3_1\": {\"version\": \"3.1\", \"baseScore\": 7, \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"AV:L - The dangling nvmem provider is driven through local interfaces \\u2014 the world-readable `/sys/bus/nvmem/devices/*/nvmem` and compat `eeprom` binary attributes (0444 for `at24_data_spd`/`24c02_vaio` via AT24_FLAG_IRUGO) reached by read(2), plus in-kernel nvmem consumer paths. There is no network exposure, and the exploitation interface is a local syscall rather than physical manipulation.\\nAC:H - Exploitation requires the EEPROM\u0027s one-byte probe read to fail (an I2C/hardware condition a local unprivileged attacker cannot induce) while an nvmem consumer holds a reference across the devres teardown. The consumer half is deterministic on affected platforms (e.g. the NVMEM_ADD notifier in cp500.c fires inside nvmem_register itself), but the hardware-failure half is outside attacker control.\\nPR:L - SPD and VAIO at24 chip data clear `root_only`, giving the nvmem and compat eeprom sysfs attributes mode 0444, so any unprivileged local account can invoke the freed `at24_read()` path with no capabilities, namespace tricks, or group membership.\\nUI:N - No victim action is needed; the attacker simply reads the sysfs attribute, or an in-kernel consumer touches the stale nvmem device on its own.\\nS:U - The use-after-free occurs in kernel memory and its impact is confined to the kernel\u0027s own security authority \\u2014 no VM, IOMMU, or sandbox boundary is crossed.\\nC:H - Reading the stale nvmem device dereferences a freed `at24_data`, and `at24_translate_offset()` indexes `client_regmaps[]` using an index bounded only by the freed `byte_len`, yielding out-of-bounds pointer fetches and regmap reads that return arbitrary reclaimed kernel memory into the user-visible read buffer.\\nI:H - `at24_read()` calls `at24-\u003eread_post()` \\u2014 a function pointer loaded from freed memory \\u2014 and drives regmap op/lock tables out of a freed regmap, while `at24_write()` on a writable instance pushes attacker data through the same stale structures; heap grooming turns this into arbitrary write and control-flow hijack.\\nA:H - Even without grooming, the use-after-free dereferences freed regmap and device pointers and locks a freed mutex, reliably producing an oops or panic, and the dangling nvmem device persists so the crash can be triggered repeatedly.\"}]}], \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"b20eb4c1f0261eebe6e1b9221c0d6e4048837778\", \"lessThan\": \"c850f71fca09ea41800ed55905980063d17e01da\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"b20eb4c1f0261eebe6e1b9221c0d6e4048837778\", \"lessThan\": \"26d32bec4c6d255a03762f33c637bfa3718be15a\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"b20eb4c1f0261eebe6e1b9221c0d6e4048837778\", \"lessThan\": \"c43e5028f5a35331eb25017f5ff6cc21735005c6\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"b20eb4c1f0261eebe6e1b9221c0d6e4048837778\", \"lessThan\": \"2af84c46b9b8f2d6c0f88d09ee5c849ae1734676\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"b20eb4c1f0261eebe6e1b9221c0d6e4048837778\", \"lessThan\": \"6d8b56ec0c8f30d5657382f47344a32569f7a9bc\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"b20eb4c1f0261eebe6e1b9221c0d6e4048837778\", \"lessThan\": \"f42c97027fb75776e2e9358d16bf4a99aeb04cf2\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/misc/eeprom/at24.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"5.3\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"5.3\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"5.10.217\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15.159\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"6.1.91\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.1.*\"}, {\"status\": \"unaffected\", \"version\": \"6.6.31\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.6.*\"}, {\"status\": \"unaffected\", \"version\": \"6.8.9\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.8.*\"}, {\"status\": \"unaffected\", \"version\": \"6.9\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/misc/eeprom/at24.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/c850f71fca09ea41800ed55905980063d17e01da\"}, {\"url\": \"https://git.kernel.org/stable/c/26d32bec4c6d255a03762f33c637bfa3718be15a\"}, {\"url\": \"https://git.kernel.org/stable/c/c43e5028f5a35331eb25017f5ff6cc21735005c6\"}, {\"url\": \"https://git.kernel.org/stable/c/2af84c46b9b8f2d6c0f88d09ee5c849ae1734676\"}, {\"url\": \"https://git.kernel.org/stable/c/6d8b56ec0c8f30d5657382f47344a32569f7a9bc\"}, {\"url\": \"https://git.kernel.org/stable/c/f42c97027fb75776e2e9358d16bf4a99aeb04cf2\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\neeprom: at24: fix memory corruption race condition\\n\\nIf the eeprom is not accessible, an nvmem device will be registered, the\\nread will fail, and the device will be torn down. If another driver\\naccesses the nvmem device after the teardown, it will reference\\ninvalid memory.\\n\\nMove the failure point before registering the nvmem device.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.10.217\", \"versionStartIncluding\": \"5.3\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.15.159\", \"versionStartIncluding\": \"5.3\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.1.91\", \"versionStartIncluding\": \"5.3\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.6.31\", \"versionStartIncluding\": \"5.3\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.8.9\", \"versionStartIncluding\": \"5.3\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.9\", \"versionStartIncluding\": \"5.3\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-08-05T11:30:17.634Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2024-35848\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-08-05T11:30:17.634Z\", \"dateReserved\": \"2024-05-17T13:50:33.105Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-05-17T14:47:26.828Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…