CVE-2026-98834

mtd: core: avoid double-free of OTP NVMEM device

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.

Key facts

Published
18 Oct 2026
Last changed
19 Oct 2026
Assigned by
Linux
EPSS
0.155% likely to be exploited in the next 30 days, higher than 4.73% of CVEs (scores for 18 Nov 2026)

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
LinuxLinux
  • Default status: unaffected
  • e0489f6e221f5ddee6cb3bd51b992b790c5fa4b9 up to but excluding cecf007418b93a2cbc94269e07fe2fb28f54d8fb (affected)
  • e0489f6e221f5ddee6cb3bd51b992b790c5fa4b9 up to but excluding 26300879cd8e4612dce66bb8f6ff7cd35fcf3e59 (affected)
  • 6d1af517817a760d7af3dee0fc4603645485495c (affected)
  • f1b4affca1e13706ca2eb075bf6775421236d7d1 (affected)
  • 949476b8601bde5459048eebdf457c9db20addd8 (affected)
  • dd6c85f98ff33b009b819090268cbf679dc208b9 (affected)
  • 5.15.111 up to but excluding 5.16 (affected)
  • 6.1.28 up to but excluding 6.2 (affected)
  • 6.2.15 up to but excluding 6.3 (affected)
  • 6.3.2 up to but excluding 6.4 (affected)
LinuxLinux
  • Default status: affected
  • 6.4 (affected)
  • 0 up to but excluding 6.4 (unaffected)
  • 7.2.10 up to and including 7.2.* (unaffected)
  • 7.3 up to and including * (unaffected)

Timeline

  1. 18 Oct 2026 Published

References