CVE-2026-98834

critical

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.

References

https://git.kernel.org/stable/c/cecf007418b93a2cbc94269e07fe2fb28f54d8fb

https://git.kernel.org/stable/c/26300879cd8e4612dce66bb8f6ff7cd35fcf3e59

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-103774

Details

Source: Mitre, NVD

Published: 2026-10-18

Updated: 2026-10-18

Risk Information

CVSS v2

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Severity: High

CVSS v3

Base Score: 9.8

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: Critical