CVE-2026-98931 mtd: spinand: fix NULL pointer dereference with no ECC engine
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2026-98931?
CVE-2026-98931 is a vulnerability in Linux, published on 23 Oct 2026.
Official 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.
Which versions are affected by CVE-2026-98931?
How do I fix CVE-2026-98931?
Upgrade to a fixed version.
Is CVE-2026-98931 being exploited?
There is no known exploitation of CVE-2026-98931 in the wild and no public exploit code.
Sources
Also known as AZL-110714, BELL-CVE-2026-98931, DEBIAN-CVE-2026-98931, GHSA-h8g8-r2jh-pj86, UBUNTU-CVE-2026-98931.