CVE Catalog

CVE-2026-98931

Low risk· EPSS 6%
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.17%

6th percentile - higher than 6% of all known CVEs

Summary

In the Linux kernel, a NULL pointer dereference in the MTD/spinand subsystem was fixed. When 'nand-no-ecc-engine' is set in DT, nand->ecc.engine remains NULL, but SPI-NAND code dereferenced it unconditionally, causing an oops during probe.

Risk Assessment

Probing an SPI-NAND device with no ECC engine can cause a kernel oops, leading to device or system unavailability.

Recommendation

Update the Linux kernel to a version containing the fix that adds a nand_ecc_is_pipelined() helper with a NULL check. Avoid 'nand-no-ecc-engine' configurations until updated.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS