---
id: CVE-2025-68349
title: |-
  In the Linux kernel, the following vulnerability has been resolved:

  NFSv4/pNFS: Clear NFS_INO_LAYOUTCOMMIT in pnfs_mark_layout_stateid_invalid

  Fixes a crash when layout is null during this call stack:

  write_inode
      -> nfs4_write_ino…
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  NFSv4/pNFS: Clear NFS_INO_LAYOUTCOMMIT in pnfs_mark_layout_stateid_invalid

  Fixes a crash when layout is null during this call stack:

  write_inode
      -> nfs4_write_ino…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= fe1cf9469d7bcb6af27e42eb555a41b0135bce4a <
    084bebe82ad86f718a3af84f34761863e63164ed
  - >-
    Linux >= fe1cf9469d7bcb6af27e42eb555a41b0135bce4a <
    b6e4e3a08c03200cc4b8067ec8ab3172a989d6fc
  - >-
    Linux >= fe1cf9469d7bcb6af27e42eb555a41b0135bce4a <
    104080582ae0aa6dce6c6d75ff89062efe84673b
  - >-
    Linux >= fe1cf9469d7bcb6af27e42eb555a41b0135bce4a <
    f718f9ea6094843b8c059b073af49ad61e9f49bb
  - >-
    Linux >= fe1cf9469d7bcb6af27e42eb555a41b0135bce4a <
    59947dff0fb7c19c09ce6dccbcd253fd542b6c25
  - >-
    Linux >= fe1cf9469d7bcb6af27e42eb555a41b0135bce4a <
    ca2e7fdad7c683b64821c94a58b9b68733214dad
  - >-
    Linux >= fe1cf9469d7bcb6af27e42eb555a41b0135bce4a <
    38694f9aae00459ab443a7dc8b3949a6b33b560a
  - >-
    Linux >= fe1cf9469d7bcb6af27e42eb555a41b0135bce4a <
    e0f8058f2cb56de0b7572f51cd563ca5debce746
  - Linux 4.10
published: '2025-12-24'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T02:18:11.963'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-68349'
references:
  - url: 'https://git.kernel.org/stable/c/084bebe82ad86f718a3af84f34761863e63164ed'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/104080582ae0aa6dce6c6d75ff89062efe84673b'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/38694f9aae00459ab443a7dc8b3949a6b33b560a'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/59947dff0fb7c19c09ce6dccbcd253fd542b6c25'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/b6e4e3a08c03200cc4b8067ec8ab3172a989d6fc'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/ca2e7fdad7c683b64821c94a58b9b68733214dad'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/e0f8058f2cb56de0b7572f51cd563ca5debce746'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/f718f9ea6094843b8c059b073af49ad61e9f49bb'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-019113.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-457936.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.00712
epssPercentile: 0.53387
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-06-16T19:27:27.700810Z'
ingestedAt: '2026-09-08T15:33:26.995Z'
---

## Overview

In the Linux kernel, the following vulnerability has been resolved:

NFSv4/pNFS: Clear NFS_INO_LAYOUTCOMMIT in pnfs_mark_layout_stateid_invalid

Fixes a crash when layout is null during this call stack:

write_inode
    -> nfs4_write_inode
        -> pnfs_layoutcommit_inode

pnfs_set_layoutcommit relies on the lseg refcount to keep the layout
around. Need to clear NFS_INO_LAYOUTCOMMIT otherwise we might attempt
to reference a null layout.

## Remediation

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