What’s Vulnerable › Vulnerabilities
CVE-2026-98161: nvdimm: pmem: keep PREFLUSH before data writes
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-09-25 · updated 2026-10-21
- Weakness: CWE-754
Description
In the Linux kernel, the following vulnerability has been resolved: nvdimm: pmem: keep PREFLUSH before data writes pmem_submit_bio() records a REQ_PREFLUSH error, but continues to copy the bio data and can later overwrite the error with a successful REQ_FUA flush. That lets data writes run after a failed preflush and can complete the bio successfully despite the failed ordering barrier. Run the REQ_PREFLUSH flush synchronously before touching the bio data and complete the bio with the flush error if it fails. Keep asynchronous flush chaining for REQ_FUA. At that point, data copy has completed and the parent bio can wait for the chained flush bio.
Affected products
- Linux kernel: from 5.3 before 6.18.52; from 6.19 before 7.2.6 — fixed in 6.18.52, 7.2.6
How to fix
Upgrade to a fixed version: Linux kernel 6.18.52, 7.2.6. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/22d1f4dcdc9c6d0295c6db0c8933126098b14e05
- https://git.kernel.org/stable/c/72561ca1ab96f0f0f32737a6171641e05a318538
- https://git.kernel.org/stable/c/770a90c2127220f0fc194ce909ad4f0842e141cb
- https://git.kernel.org/stable/c/c644a2f8fef5618fcf453c591177700fd07dd024
- https://git.kernel.org/stable/c/d34c30bc994328d9cf6749b2e9a32aabd08fd076
Get alerted when CVE-2026-98161 or the next vulnerability affects your stack