{"id":"CVE-2026-98834","aliases":["CVE-2026-98834"],"related":[],"kind":"vulnerability","state":"published","title":"mtd: core: avoid double-free of OTP NVMEM device","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-10-18T15:49:46.003Z","modified":"2026-11-30T12:18:06.570Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"e0489f6e221f5ddee6cb3bd51b992b790c5fa4b9","fixed":"4b87d9a89934402b4d29aac77d4e41fb7aaf237a","status":"affected"},{"type":"git","introduced":"e0489f6e221f5ddee6cb3bd51b992b790c5fa4b9","fixed":"cecf007418b93a2cbc94269e07fe2fb28f54d8fb","status":"affected"},{"type":"git","introduced":"e0489f6e221f5ddee6cb3bd51b992b790c5fa4b9","fixed":"26300879cd8e4612dce66bb8f6ff7cd35fcf3e59","status":"affected"},{"type":"git","version":"6d1af517817a760d7af3dee0fc4603645485495c","status":"affected"},{"type":"git","version":"f1b4affca1e13706ca2eb075bf6775421236d7d1","status":"affected"},{"type":"git","version":"949476b8601bde5459048eebdf457c9db20addd8","status":"affected"},{"type":"git","version":"dd6c85f98ff33b009b819090268cbf679dc208b9","status":"affected"},{"type":"semver","introduced":"5.15.111","fixed":"5.16","status":"affected"},{"type":"semver","introduced":"6.1.28","fixed":"6.2","status":"affected"},{"type":"semver","introduced":"6.2.15","fixed":"6.3","status":"affected"},{"type":"semver","introduced":"6.3.2","fixed":"6.4","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.4","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.4","status":"unaffected"},{"type":"semver","introduced":"6.18.66","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.10","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/4b87d9a89934402b4d29aac77d4e41fb7aaf237a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cecf007418b93a2cbc94269e07fe2fb28f54d8fb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/26300879cd8e4612dce66bb8f6ff7cd35fcf3e59","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98834","url":"https://www.cve.org/CVERecord?id=CVE-2026-98834","licence":"CVE Terms of Use","modified":"2026-11-30T12:08:41.593Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98834","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98834","licence":"Public domain","modified":"2026-11-30T12:18:06.570Z"}],"updatedAt":"2026-11-30T12:32:13.573Z","epss":{"score":0.00166,"percentile":0.06094,"date":"2026-12-01T12:00:22.000Z"}}