From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DAE3449B454 for ; Fri, 25 Sep 2026 13:07:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790341637; cv=none; b=s3wwVRqexuFp0wHthutSSQvcg/6upEA/eV1tuTV2FfdbJZPino2vxvIOW3sM4KwtakFdashokDfH7TdHGKSDqHguQoqHs65CpTi0846ewA1WbUYrQXnzRsgRcQKdJBxAhHTbzh49z0rPUHHdQ/mwx9JYUm2q1XQEzgy5ZKvzew0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790341637; c=relaxed/simple; bh=PxsfWO5U75LMgAe/mce4nRu8ONNhDBCK78K1WuP+jXU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=mQlFRbhOtTN/d6Ps3+Pn8Jd96YYoHPMJpkchYe0GlIFUUnCXkzZWtERqXAxhVP/2G20g1/u81Dm+QSwGdnkvAHod7W+ZtapSMAJXSeP6HJPMZq6/vnUK31DGJ5cLSxyZtPalo1lDwCxJrjqDm+xq8GDXPDaDXlWOarRA8MviUoM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=C64cq1j+; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="C64cq1j+" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8EC161F000FF; Fri, 25 Sep 2026 13:07:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790341635; bh=KmAoA3oKlwMt/l/LGWOo0TQ3bV1A2/a2wxZUYaW1jkM=; h=From:To:Cc:Subject:Date:Reply-To; b=C64cq1j+H8nAE54zVNQXxrchs/fx1D0RbZ1ESw0pnM+DcF/UJXKv9CVE6rsU+irQd NRY+Xvt+pMGpGZb8IJN9kx/9W0O3iTK2TCKI5piorYaeebkR8trREXdtF1e3GFpAzM mZfi8IDrelDryv/AXu6+JcXFCd2uQYdOC4ZjniLY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98161: nvdimm: pmem: keep PREFLUSH before data writes Date: Fri, 25 Sep 2026 15:07:06 +0200 Message-ID: <2026092558-CVE-2026-98161-e1d0@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2284; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=29SYYSNONvuvw2SzW/ZnoV2e5kyqhCdosOkM0KeMyME=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnbCj/lXr+2OUTl+qVXzowRdhdzFu7393FLdNiy5q/br LtnirONO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAicwwYFlwrOzp531MW7cNR jbHqXw24z3552caw4PDnfIM6O/M7vL9vxm+Lrr3y7cO6dgA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-98161 to this issue. Affected and fixed versions =========================== Fixed in 6.18.52 with commit 770a90c2127220f0fc194ce909ad4f0842e141cb Fixed in 7.2.6 with commit 72561ca1ab96f0f0f32737a6171641e05a318538 Fixed in 7.3-rc1 with commit c644a2f8fef5618fcf453c591177700fd07dd024 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-98161 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/nvdimm/pmem.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/770a90c2127220f0fc194ce909ad4f0842e141cb https://git.kernel.org/stable/c/72561ca1ab96f0f0f32737a6171641e05a318538 https://git.kernel.org/stable/c/c644a2f8fef5618fcf453c591177700fd07dd024