CVE-2026-98931
mtd: spinand: fix NULL pointer dereference with no ECC engine
Check your servers for CVE-2026-98931
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-98931 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.
Description
In the Linux kernel, the following vulnerability has been resolved:
mtd: spinand: fix NULL pointer dereference with no ECC engine
When "nand-no-ecc-engine" is set in DT, nanddev_get_ecc_engine() takes the NAND_ECC_ENGINE_TYPE_NONE path and returns success while leaving nand->ecc.engine NULL. The SPI-NAND code nevertheless dereferences it unconditionally to test for a pipelined engine, so probing such a device oopses immediately.
Rather than open-coding the test three times, add a nand_ecc_is_pipelined() helper to the NAND core that folds the NULL check into the integration comparison, and use it everywhere. Future callers then cannot reintroduce the problem.
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.2% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from f9d7c7265bcff7d9a17425a8cddf702e8fe159c2, before ab781c7840bb8a210156e25eb0c027d6097fb74d affected from f9d7c7265bcff7d9a17425a8cddf702e8fe159c2, before 77c449c9c946fc420008dc55cd30f53749c915e4 affected from f9d7c7265bcff7d9a17425a8cddf702e8fe159c2, before 3c765fd5212c1bbc71568b1518a7ec963a7040b4 affected from f9d7c7265bcff7d9a17425a8cddf702e8fe159c2, before 80e8b0ea73ba295e92dfb6cf1c41df9da64234c6 affected from f9d7c7265bcff7d9a17425a8cddf702e8fe159c2, before fc2f651f520394893b14b75281a01e502bfa73bb affected from f9d7c7265bcff7d9a17425a8cddf702e8fe159c2, before b890e6163761ddb580cc74f43e15f8bbde15647e
Other versions: unaffected
|
| Linux |
affected 5.18 unaffected before 5.18 unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.160 up to and including 6.6.* unaffected from 6.12.113 up to and including 6.12.* unaffected from 6.18.56 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-98931 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98931
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-98931
trivy image --scanners vuln IMAGE | grep CVE-2026-98931
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
- https://git.kernel.org/stable/c/ab781c7840bb8a210156e25eb0c027d6097fb74d git.kernel.org
- https://git.kernel.org/stable/c/77c449c9c946fc420008dc55cd30f53749c915e4 git.kernel.org
- https://git.kernel.org/stable/c/3c765fd5212c1bbc71568b1518a7ec963a7040b4 git.kernel.org
- https://git.kernel.org/stable/c/80e8b0ea73ba295e92dfb6cf1c41df9da64234c6 git.kernel.org
- https://git.kernel.org/stable/c/fc2f651f520394893b14b75281a01e502bfa73bb git.kernel.org
- https://git.kernel.org/stable/c/b890e6163761ddb580cc74f43e15f8bbde15647e git.kernel.org
Source: the record CVE-2026-98931 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.
Vulnpocalypse