CVE-2026-98834
not scored yetmtd: core: avoid double-free of OTP NVMEM device
In the Linux kernel, the following vulnerability has been resolved:
mtd: core: avoid double-free of OTP NVMEM device
If factory OTP setup fails after the user OTP NVMEM device has been
registered, mtd_otp_nvmem_add() unregisters the user device but leaves
mtd->otp_user_nvmem set. On an error, the caller unregisters it again.
For -EOPNOTSUPP, registration continues and normal teardown unregisters
it again.
Clear mtd->otp_user_nvmem after unregistering it.
- Published
- 18 Oct 2026
- Last modified
- 30 Nov 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSONCVE ListJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Linux | Linux | >= e0489f6e221f5ddee6cb3bd51b992b790c5fa4b9, < 4b87d9a89934402b4d29aac77d4e41fb7aaf237a; >= 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 | 4b87d9a89934402b4d29aac77d4e41fb7aaf237a, cecf007418b93a2cbc94269e07fe2fb28f54d8fb, 26300879cd8e4612dce66bb8f6ff7cd35fcf3e59, 5.16, 6.2, 6.3, 6.4 |
| CVE List | Linux | Linux | = 6.4 |
References
- https://git.kernel.org/stable/c/26300879cd8e4612dce66bb8f6ff7cd35fcf3e59
- https://git.kernel.org/stable/c/4b87d9a89934402b4d29aac77d4e41fb7aaf237a
- https://git.kernel.org/stable/c/cecf007418b93a2cbc94269e07fe2fb28f54d8fb
History
- 30 Nov 2026 12:18 UTC · NVD: 1 reference added
- 30 Nov 2026 12:18 UTC · CVE List: first stored (published 18 Oct 2026)
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 18 Oct 2026)