CVE-2026-98931
mtd: spinand: fix NULL pointer dereference with no ECC engine
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= f9d7c7265bcff7d9a17425a8cddf702e8fe159c2, < ab781c7840bb8a210156e25eb0c027d6097fb74d; >= f9d7c7265bcff7d9a17425a8cddf702e8fe159c2, < 77c449c9c946fc420008dc55cd30f53749c915e4; >= f9d7c7265bcff7d9a17425a8cddf702e8fe159c2, < 3c765fd5212c1bbc71568b1518a7ec963a7040b4; >= f9d7c7265bcff7d9a17425a8cddf702e8fe159c2, < 80e8b0ea73ba295e92dfb6cf1c41df9da64234c6; >= f9d7c7265bcff7d9a17425a8cddf702e8fe159c2, < fc2f651f520394893b14b75281a01e502bfa73bb; >= f9d7c7265bcff7d9a17425a8cddf702e8fe159c2, < b890e6163761ddb580cc74f43e15f8bbde15647e
- Anyone running Linux 5.18
Vulnerability facts
- Affected
- Linux >= f9d7c7265bcff7d9a17425a8cddf702e8fe159c2, < ab781c7840bb8a210156e25eb0c027d6097fb74d; >= f9d7c7265bcff7d9a17425a8cddf702e8fe159c2, < 77c449c9c946fc420008dc55cd30f53749c915e4; >= f9d7c7265bcff7d9a17425a8cddf702e8fe159c2, < 3c765fd5212c1bbc71568b1518a7ec963a7040b4; >= f9d7c7265bcff7d9a17425a8cddf702e8fe159c2, < 80e8b0ea73ba295e92dfb6cf1c41df9da64234c6; >= f9d7c7265bcff7d9a17425a8cddf702e8fe159c2, < fc2f651f520394893b14b75281a01e502bfa73bb; >= f9d7c7265bcff7d9a17425a8cddf702e8fe159c2, < b890e6163761ddb580cc74f43e15f8bbde15647e; Linux 5.18
- Fixed in
- Linux 77c449c9c946fc420008dc55cd30f53749c915e4, Linux 3c765fd5212c1bbc71568b1518a7ec963a7040b4, Linux 80e8b0ea73ba295e92dfb6cf1c41df9da64234c6
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.21% chance of exploitation in 30 days (percentile 7, 2026-11-26)
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= f9d7c7265bcff7d9a17425a8cddf702e8fe159c2, < ab781c7840bb8a210156e25eb0c027d6097fb74d; >= f9d7c7265bcff7d9a17425a8cddf702e8fe159c2, < 77c449c9c946fc420008dc55cd30f53749c915e4; >= f9d7c7265bcff7d9a17425a8cddf702e8fe159c2, < 3c765fd5212c1bbc71568b1518a7ec963a7040b4; >= f9d7c7265bcff7d9a17425a8cddf702e8fe159c2, < 80e8b0ea73ba295e92dfb6cf1c41df9da64234c6; >= f9d7c7265bcff7d9a17425a8cddf702e8fe159c2, < fc2f651f520394893b14b75281a01e502bfa73bb; >= f9d7c7265bcff7d9a17425a8cddf702e8fe159c2, < b890e6163761ddb580cc74f43e15f8bbde15647e | — | cvelist |
| Linux | 5.18 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-98931. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-98931.md Affected: Linux >= f9d7c7265bcff7d9a17425a8cddf702e8fe159c2, < ab781c7840bb8a210156e25eb0c027d6097fb74d; >= f9d7c7265bcff7d9a17425a8cddf702e8fe159c2, < 77c449c9c946fc420008dc55cd30f53749c915e4; >= f9d7c7265bcff7d9a17425a8cddf702e8fe159c2, < 3c765fd5212c1bbc71568b1518a7ec963a7040b4; >= f9d7c7265bcff7d9a17425a… Fixed in: Linux 77c449c9c946fc420008dc55cd30f53749c915e4, Linux 3c765fd5212c1bbc71568b1518a7ec963a7040b4, Linux 80e8b0ea73ba295e92dfb6cf1c41df9da64234c6 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Other
- https://git.kernel.org/stable/c/ab781c7840bb8a210156e25eb0c027d6097fb74d
- https://git.kernel.org/stable/c/77c449c9c946fc420008dc55cd30f53749c915e4
- https://git.kernel.org/stable/c/3c765fd5212c1bbc71568b1518a7ec963a7040b4
- https://git.kernel.org/stable/c/80e8b0ea73ba295e92dfb6cf1c41df9da64234c6
- https://git.kernel.org/stable/c/fc2f651f520394893b14b75281a01e502bfa73bb
- https://git.kernel.org/stable/c/b890e6163761ddb580cc74f43e15f8bbde15647e
FAQ
Is CVE-2026-98931 being exploited?
There is no confirmed exploitation: CVE-2026-98931 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-98931?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-98931?
Linux >= f9d7c7265bcff7d9a17425a8cddf702e8fe159c2, < ab781c7840bb8a210156e25eb0c027d6097fb74d; >= f9d7c7265bcff7d9a17425a8cddf702e8fe159c2, < 77c449c9c946fc420008dc55cd30f53749c915e4; >= f9d7c7265bcff7d9a17425a8cddf702e8fe159c2, < 3c765fd5212c1bbc71568b1518a7ec963a7040b4; >= f9d7c7265bcff7d9a17425a8cddf702e8fe159c2, < 80e8b0ea73ba295e92dfb6cf1c41df9da64234c6; >= f9d7c7265bcff7d9a17425a8cddf702e8fe159c2, < fc2f651f520394893b14b75281a01e502bfa73bb; >= f9d7c7265bcff7d9a17425a8cddf702e8fe159c2, < b890e6163761ddb580cc74f43e15f8bbde15647e; Linux 5.18.
Is there a fix for CVE-2026-98931?
Yes. Fixed in Linux 77c449c9c946fc420008dc55cd30f53749c915e4, Linux 3c765fd5212c1bbc71568b1518a7ec963a7040b4, Linux 80e8b0ea73ba295e92dfb6cf1c41df9da64234c6. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-98931?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.