Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-98931— mtd: spinand: fix NULL pointer dereference with no ECC engine

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

在 Linux 内核中,以下漏洞已得到修复: mtd: spinand: 修复在无 ECC 引擎时发生的空指针解引用问题 当设备树(DT)中设置了 "nand-no-ecc-engine" 时, 会进入 路径并返回成功,但此时 仍为 NULL。然而,SPI-NAND 代码仍无条件地解引用该指针以检测是否为流水线式引擎,导致探测此类设备时立即触发内核崩溃(oops)。 为避免在多处重复编写检查逻辑,本次修复在 NAND 核心中新增了辅助函数 ,将 NULL 检查整合到流水线引擎的比对逻辑中,并在所有相关位置统一使用该

AI Predicted 7.8 Difficulty: Moderate

Affected Version Matrix 12

VendorProduct Version RangeStatus
Linux Linux f9d7c7265bcff7d9a17425a8cddf702e8fe159c2< 77c449c9c946fc420008dc55cd30f53749c915e4 affected
f9d7c7265bcff7d9a17425a8cddf702e8fe159c2< 3c765fd5212c1bbc71568b1518a7ec963a7040b4 affected
f9d7c7265bcff7d9a17425a8cddf702e8fe159c2< 80e8b0ea73ba295e92dfb6cf1c41df9da64234c6 affected
f9d7c7265bcff7d9a17425a8cddf702e8fe159c2< fc2f651f520394893b14b75281a01e502bfa73bb affected
f9d7c7265bcff7d9a17425a8cddf702e8fe159c2< b890e6163761ddb580cc74f43e15f8bbde15647e affected
5.18 affected
< 5.18 unaffected
6.6.160≤ 6.6.* unaffected
… +4 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-98931

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
mtd: spinand: fix NULL pointer dereference with no ECC engine
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux f9d7c7265bcff7d9a17425a8cddf702e8fe159c2 ~ 77c449c9c946fc420008dc55cd30f53749c915e4 -
Linux Linux 5.18 -

II. Public POCs for CVE-2026-98931

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-98931

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-98931 (5)

Same Patch Batch · Linux · 2026-10-23 · 218 CVEs total

CVE-2026-98938 rust: irq: pass RegistrationInner as cookie to request_irq
CVE-2026-98951 riscv: ptrace: Zero-initialize regset buffers before copyin
CVE-2026-98950 flow_dissector: avoid u16 truncation of hlen in bpf_flow_dissect()
CVE-2026-98949 drm/imagination: Fix reference and vm_bo handling in remap()
CVE-2026-98948 mlxsw: spectrum_flower: Fix port range register leak in tmplt_create()
CVE-2026-98947 vsock: Fix memory leak in vmci_transport_recv_dgram_cb()
CVE-2026-98946 drm/vc4: Disable the V3D interrupt across runtime suspend
CVE-2026-98945 HID: steam: Rearrange teardown sequence
CVE-2026-98944 HID: steam: Refactor registration
CVE-2026-98943 HID: steam: Clean up locking
CVE-2026-98942 sched_ext: Build the cid tables privately and publish them with RCU
CVE-2026-98941 ext4: don't enable large folios on encrypted inodes
CVE-2026-98940 ASoC: qcom: lpass-cpu: use DAI table index for playback constraints
CVE-2026-98939 x86/mm: Drop unnecessary PMD page copy when freeing
CVE-2026-98926 drm/amd/display: Remove sink usage from DPMS
CVE-2026-98929 macsec: initialize SecY before registering the netdevice
CVE-2026-98928 KVM: arm64: Derive GUEST_HAS_SVE from the SVE feature bit at EL2
CVE-2026-98927 KVM: arm64: nv: Fix life cycle of the nested_mmus array
CVE-2026-98930 KVM: s390: Fix IRQ injection with SIGP Stop and Store Status
CVE-2026-98925 bpf, sockmap: Fix self-redirect copied_seq double-counting

Showing top 20 of 218 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2026-98931

No comments yet


Leave a comment