{"id":"CVE-2026-98161","aliases":["CVE-2026-98161"],"related":[],"kind":"vulnerability","state":"published","title":"nvdimm: pmem: keep PREFLUSH before data writes","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvdimm: pmem: keep PREFLUSH before data writes\n\npmem_submit_bio() records a REQ_PREFLUSH error, but continues to copy the\nbio data and can later overwrite the error with a successful REQ_FUA flush.\nThat lets data writes run after a failed preflush and can complete the bio\nsuccessfully despite the failed ordering barrier.\n\nRun the REQ_PREFLUSH flush synchronously before touching the bio data and\ncomplete the bio with the flush error if it fails. Keep asynchronous flush\nchaining for REQ_FUA. At that point, data copy has completed and the parent\nbio can wait for the chained flush bio.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvdimm: pmem: keep PREFLUSH before data writes\n\npmem_submit_bio() records a REQ_PREFLUSH error, but continues to copy the\nbio data and can later overwrite the error with a successful REQ_FUA flush.\nThat lets data writes run after a failed preflush and can complete the bio\nsuccessfully despite the failed ordering barrier.\n\nRun the REQ_PREFLUSH flush synchronously before touching the bio data and\ncomplete the bio with the flush error if it fails. Keep asynchronous flush\nchaining for REQ_FUA. At that point, data copy has completed and the parent\nbio can wait for the chained flush bio.","source":"cvelist"}],"published":"2026-09-25T13:06:51.138Z","modified":"2026-10-21T13:21:24.663Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-754"],"affected":[{"ranges":[{"type":"git","introduced":"c5d4355d10d414a96ca870b731756b89d068d57a","fixed":"22d1f4dcdc9c6d0295c6db0c8933126098b14e05","status":"affected"},{"type":"git","introduced":"c5d4355d10d414a96ca870b731756b89d068d57a","fixed":"d34c30bc994328d9cf6749b2e9a32aabd08fd076","status":"affected"},{"type":"git","introduced":"c5d4355d10d414a96ca870b731756b89d068d57a","fixed":"770a90c2127220f0fc194ce909ad4f0842e141cb","status":"affected"},{"type":"git","introduced":"c5d4355d10d414a96ca870b731756b89d068d57a","fixed":"72561ca1ab96f0f0f32737a6171641e05a318538","status":"affected"},{"type":"git","introduced":"c5d4355d10d414a96ca870b731756b89d068d57a","fixed":"c644a2f8fef5618fcf453c591177700fd07dd024","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.3","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.3","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.112","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.52","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.6","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.3","fixed":"6.18.52"},{"status":"affected","introduced":"6.19","fixed":"7.2.6"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/22d1f4dcdc9c6d0295c6db0c8933126098b14e05","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d34c30bc994328d9cf6749b2e9a32aabd08fd076","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/770a90c2127220f0fc194ce909ad4f0842e141cb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/72561ca1ab96f0f0f32737a6171641e05a318538","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c644a2f8fef5618fcf453c591177700fd07dd024","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98161","url":"https://www.cve.org/CVERecord?id=CVE-2026-98161","licence":"CVE Terms of Use","modified":"2026-10-21T12:54:44.996Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98161","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98161","licence":"Public domain","modified":"2026-10-21T13:21:24.663Z"}],"updatedAt":"2026-11-25T22:59:41.098Z","epss":{"score":0.00114,"percentile":0.01609,"date":"2026-12-01T12:00:22.000Z"}}