What’s Vulnerable › Vulnerabilities
CVE-2026-98834: mtd: core: avoid double-free of OTP NVMEM device
- Severity: unknown
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-18 · updated 2026-10-19
Description
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.
Affected products
- Linux kernel: from 5.15.111 before 5.16; from 6.1.28 before 6.2; from 6.2.15 before 6.3; from 6.3.2 before 6.4; 6.4 — fixed in 5.16, 6.2, 6.3, 6.4, 7.3
How to fix
Upgrade to a fixed version: Linux kernel 5.16, 6.2, 6.3, 6.4. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/26300879cd8e4612dce66bb8f6ff7cd35fcf3e59
- https://git.kernel.org/stable/c/cecf007418b93a2cbc94269e07fe2fb28f54d8fb
Get alerted when CVE-2026-98834 or the next vulnerability affects your stack