What’s Vulnerable › Vulnerabilities

CVE-2026-98161: nvdimm: pmem: keep PREFLUSH before data writes

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

How to fix

Upgrade to a fixed version: Linux kernel 6.18.52, 7.2.6. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-98161 or the next vulnerability affects your stack