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

pNFS: Fix use-after-free in pnfs_update_layout()

When hitting the NFS_LAYOUT_RETURN branch in pnfs_update_layout(),
the code calls pnfs_prepare_to_retry_layoutget(lo). If it succeeds,
pnfs_put_layout_hdr(lo) is called before trace_pnfs_update_layout(),
which still references 'lo'. This results in a use-after-free when the
tracepoint accesses lo's fields.

Fix this by moving the tracepoint call before pnfs_put_layout_hdr(lo).
Published: 2026-07-19
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A use‑after‑free flaw exists in the Linux kernel’s pNFS subsystem. When the pnfs_update_layout function processes a layout request that follows the NFS_LAYOUT_RETURN path, the code calls pnfs_prepare_to_retry_layoutget and may free the layout header before a dependent tracepoint accesses it. The freed memory can be overwritten, and a malicious attacker who can trigger the tracepoint may corrupt kernel memory or execute arbitrary code. Although the flaw is restricted to the NFS layout handling path, an attacker with the ability to craft a specially‑timed layout request could achieve remote code execution on the host running the vulnerable kernel.

Affected Systems

The vulnerability affects all linux_kernel installations that contain the unpatched pnfs_update_layout implementation. Both listed vendor identifiers refer to the Linux kernel as a product; no specific release versions are enumerated, so the flaw remains present on any kernel version lacking the upstream commit that moves the tracepoint call before the layout header is freed.

Risk and Exploitability

The CVSS score of 9.8 reflects the high impact of a successful exploitation, yet the EPSS score of less than 1 % indicates a low likelihood of this vulnerability being actively abused today. The flaw is not listed in CISA’s KEV catalog. Based on the description, it is inferred that the most plausible attack vector is a remote NFS client that sends a layout request in a way that triggers the vulnerable tracepoint; success would give the client the ability to execute code in kernel context on the server.

Generated by OpenCVE AI on July 30, 2026 at 22:19 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel update that incorporates the pnfs_update_layout fix; the vendor’s security advisory lists the relevant commit SHA.
  • Reboot the affected host to load the patched kernel and ensure the updated pNFS code is in use.
  • If the NFS Layout feature is not required for your environment, disable pNFS support by blacklisting the module or removing the associated kernel configuration option (e.g., CONFIG_PNFS) to reduce the attack surface.

Generated by OpenCVE AI on July 30, 2026 at 22:19 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4700-1 linux-6.1 security update
Debian DLA Debian DLA DLA-4717-1 linux security update
History

Tue, 21 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 20 Jul 2026 14:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Sun, 19 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: pNFS: Fix use-after-free in pnfs_update_layout() When hitting the NFS_LAYOUT_RETURN branch in pnfs_update_layout(), the code calls pnfs_prepare_to_retry_layoutget(lo). If it succeeds, pnfs_put_layout_hdr(lo) is called before trace_pnfs_update_layout(), which still references 'lo'. This results in a use-after-free when the tracepoint accesses lo's fields. Fix this by moving the tracepoint call before pnfs_put_layout_hdr(lo).
Title pNFS: Fix use-after-free in pnfs_update_layout()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-05T12:35:48.437Z

Reserved: 2026-07-19T07:54:57.013Z

Link: CVE-2026-63800

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-19T00:00:00Z

Links: CVE-2026-63800 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T22:30:06Z

Weaknesses
  • CWE-825

    Expired Pointer Dereference