Bug 2555247 (CVE-2026-98834) - CVE-2026-98834 kernel: mtd: core: avoid double-free of OTP NVMEM device
Summary: CVE-2026-98834 kernel: mtd: core: avoid double-free of OTP NVMEM device
Keywords:
Status: NEW
Alias: CVE-2026-98834
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-18 16:04 UTC by OSIDB Bzimport
Modified: 2026-10-23 21:13 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-10-18 16:04:31 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.