CVE-2026-98931

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.

Package Linux Kernel
Published 2026-10-23
Last modified 2026-10-23
Patch available
Yes

Affected versions

Linux kernel versions 5.18 and later are affected. Fixed in 6.6.160, 6.12.113, 6.18.56, 7.2.10, 7.3 and their respective stable series.

Affected from
≥ 5.18
Fixed in
✓ 6.6.160 6.6.x ✓ 6.12.113 6.12.x ✓ 6.18.56 6.18.x ✓ 7.2.10 7.2.x ✓ 7.3

Frequently asked questions

  • What is CVE-2026-98931?

    CVE-2026-98931 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 5.18 onward and has been patched in 6.6.160, 6.12.113, 6.18.56 and others. CVE-2026-98931 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • Is there a patch available for CVE-2026-98931?

    Yes. CVE-2026-98931 has been patched. Fixed versions include 6.6.160, 6.12.113, 6.18.56 and others. If you are running Linux kernel 5.18 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2026-98931 actively exploited?

    No. CVE-2026-98931 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.