{"id":"CVE-2026-98834","published":"2026-10-18T15:49:46Z","modified":"2026-10-19T09:26:26Z","title":"mtd: core: avoid double-free of OTP NVMEM device","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmtd: core: avoid double-free of OTP NVMEM device\n\nIf factory OTP setup fails after the user OTP NVMEM device has been\nregistered, mtd_otp_nvmem_add() unregisters the user device but leaves\nmtd->otp_user_nvmem set. On an error, the caller unregisters it again.\nFor -EOPNOTSUPP, registration continues and normal teardown unregisters\nit again.\n\nClear mtd->otp_user_nvmem after unregistering it.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00198,"percentile":0.05454,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/cecf007418b93a2cbc94269e07fe2fb28f54d8fb","tags":[]},{"url":"https://git.kernel.org/stable/c/26300879cd8e4612dce66bb8f6ff7cd35fcf3e59","tags":[]}],"priority":{"score":1.1,"factors":[{"name":"EPSS percentile","points":1.09}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= e0489f6e221f5ddee6cb3bd51b992b790c5fa4b9, < cecf007418b93a2cbc94269e07fe2fb28f54d8fb",">= e0489f6e221f5ddee6cb3bd51b992b790c5fa4b9, < 26300879cd8e4612dce66bb8f6ff7cd35fcf3e59","6d1af517817a760d7af3dee0fc4603645485495c","f1b4affca1e13706ca2eb075bf6775421236d7d1","949476b8601bde5459048eebdf457c9db20addd8","dd6c85f98ff33b009b819090268cbf679dc208b9",">= 5.15.111, < 5.16",">= 6.1.28, < 6.2",">= 6.2.15, < 6.3",">= 6.3.2, < 6.4"]},{"vendor":"Linux","product":"Linux","versions":["6.4"]}],"euvd":{"id":"EUVD-2026-103774","exploited":false,"provenance":"source"}}