{
   "containers": {
      "cna": {
         "providerMetadata": {
            "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038"
         },
         "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."
            }
         ],
         "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"
                  }
               ]
            }
         ],
         "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-a5840b7849dd"
         }
      }
   },
   "cveMetadata": {
      "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
      "cveID": "CVE-2024-35848",
      "requesterUserId": "gregkh@kernel.org",
      "serial": "1",
      "state": "PUBLISHED"
   },
   "dataType": "CVE_RECORD",
   "dataVersion": "5.0"
}
