nvdimm: pmem: keep PREFLUSH before data writes
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 22d1f4dcdc9c6d0295c6db0c8933126098b14e05, Kernel 72561ca1ab96f0f0f32737a6171641e05a318538, Kernel 770a90c2127220f0fc194ce909ad4f0842e141cb and 2 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.3, >=c5d4355d10d414a96ca870b731756b89d068d57a <22d1f4dcdc9c6d0295c6db0c8933126098b14e05, >=c5d4355d10d414a96ca870b731756b89d068d57a <72561ca1ab96f0f0f32737a6171641e05a318538, >=c5d4355d10d414a96ca870b731756b89d068d57a <770a90c2127220f0fc194ce909ad4f0842e141cb, >=c5d4355d10d414a96ca870b731756b89d068d57a <c644a2f8fef5618fcf453c591177700fd07dd024, >=c5d4355d10d414a96ca870b731756b89d068d57a <d34c30bc994328d9cf6749b2e9a32aabd08fd076 | 22d1f4dcdc9c6d0295c6db0c8933126098b14e05, 72561ca1ab96f0f0f32737a6171641e05a318538, 770a90c2127220f0fc194ce909ad4f0842e141cb, c644a2f8fef5618fcf453c591177700fd07dd024, d34c30bc994328d9cf6749b2e9a32aabd08fd076 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket