---
id: CVE-2026-98161
title: |-
  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 wit…
summary: |-
  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 wit…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    770a90c2127220f0fc194ce909ad4f0842e141cb
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    72561ca1ab96f0f0f32737a6171641e05a318538
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    c644a2f8fef5618fcf453c591177700fd07dd024
  - Linux < 6.18.52
  - Linux < 7.2.6
  - Linux (all versions)
published: '2026-09-25'
updated: '2026-09-25'
sourceUpdated: '2026-09-25T14:17:27.770'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-98161'
references:
  - url: 'https://git.kernel.org/stable/c/72561ca1ab96f0f0f32737a6171641e05a318538'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/770a90c2127220f0fc194ce909ad4f0842e141cb'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/c644a2f8fef5618fcf453c591177700fd07dd024'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
  - cve.org
ingestedAt: '2026-09-25T14:09:46.373Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
