CVE-2026-98834

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

No CVSS score yet EPSS 0.17%

Published 18 Oct 2026 Updated 30 Nov 2026 CNA: Linux

Check your servers for CVE-2026-98834

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-98834 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.09% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from e0489f6e221f5ddee6cb3bd51b992b790c5fa4b9, before 4b87d9a89934402b4d29aac77d4e41fb7aaf237a
affected from e0489f6e221f5ddee6cb3bd51b992b790c5fa4b9, before cecf007418b93a2cbc94269e07fe2fb28f54d8fb
affected from e0489f6e221f5ddee6cb3bd51b992b790c5fa4b9, before 26300879cd8e4612dce66bb8f6ff7cd35fcf3e59
affected 6d1af517817a760d7af3dee0fc4603645485495c
affected f1b4affca1e13706ca2eb075bf6775421236d7d1
affected 949476b8601bde5459048eebdf457c9db20addd8
affected dd6c85f98ff33b009b819090268cbf679dc208b9
affected from 5.15.111, before 5.16
affected from 6.1.28, before 6.2
affected from 6.2.15, before 6.3
affected from 6.3.2, before 6.4
Other versions: unaffected
Linux
affected 6.4
unaffected before 6.4
unaffected from 6.18.66 up to and including 6.18.*
unaffected from 7.2.10 up to and including 7.2.*
unaffected 7.3 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-98834 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98834

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-98834
trivy image --scanners vuln IMAGE | grep CVE-2026-98834

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-98834 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.