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

sunrpc: fix use-after-free in __rpc_clnt_handle_event and __rpc_clnt_remove_pipedir

Normal client creation goes through rpc_setup_pipedir(), which records
clnt->pipefs_sb, but the mount-event path in __rpc_clnt_handle_event()
calls rpc_setup_pipedir_sb() directly and never refreshes that field.
The umount path also removes the directory without clearing
clnt->pipefs_sb.

After a late pipefs mount or any remount, rpc_clnt_remove_pipedir()
compares the current superblock against a stale pipefs_sb pointer and
skips cleanup, leaving pipefs dentries whose inode private data still
points at a freed rpc_clnt, leading to a potential use-after-free during
subsequent rpc_info_open() or rpc_show_info() calls.

Fix this by properly updating clnt->pipefs_sb upon mount events and
clearing it during unmount or failure paths.
Published: 2026-09-11
Score: 4.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Potential use‑after‑free causing kernel memory corruption
Action: Patch
AI Analysis

Impact

The Linux kernel’s sunrpc subsystem contains a use‑after‑free flaw in the __rpc_clnt_handle_event and __rpc_clnt_remove_pipedir functions. After a late pipefs mount, remount, or unmount, the clnt->pipefs_sb pointer may remain stale while the rpc_clnt structure it points to has already been freed. Subsequent RPC information operations that reference the stale pointer can dereference the freed memory, potentially corrupting kernel memory.

Affected Systems

All Linux kernel installations that include the sunrpc component and have not incorporated the patch from commit 932a8cf6abb2b2f8677b79153a823108d8861fe2. This includes every kernel version built prior to the application of that commit, irrespective of the numeric version, because the vulnerable code path exists in the base source.

Risk and Exploitability

The CVSS score of 4.1 reflects moderate severity. Exploitation requires manipulating pipefs mount operations or generating RPC traffic that triggers the stale pointer condition, which generally needs either local root‑privileged access or remote access to an enabled RPC service. The EPSS score of less than 1% indicates a low probability of exploitation, and the vulnerability is not listed in the CISA KEV catalog. Although the official description does not confirm arbitrary code execution, the use‑after‑free could result in kernel memory corruption that, in the right circumstances, might lead to privilege escalation. However, such outcomes are not documented in the advisory.

Generated by OpenCVE AI on September 13, 2026 at 06:53 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes commit 932a8cf6abb2b2f8677b79153a823108d8861fe2, which fixes the use‑after‑free in sunrpc.
  • If upgrading is not possible, disable the sunrpc kernel module or otherwise remove the sunrpc component from the system to eliminate the vulnerable code path.
  • Restrict or block unneeded RPC traffic at the network or host level so that only trusted clients can trigger the plumbing functions that interact with pipefs.

Generated by OpenCVE AI on September 13, 2026 at 06:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 12 Sep 2026 00:15:00 +0000

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

None

cvssV3_1

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

threat_severity

Important


Fri, 11 Sep 2026 23:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: sunrpc: fix use-after-free in __rpc_clnt_handle_event and __rpc_clnt_remove_pipedir Normal client creation goes through rpc_setup_pipedir(), which records clnt->pipefs_sb, but the mount-event path in __rpc_clnt_handle_event() calls rpc_setup_pipedir_sb() directly and never refreshes that field. The umount path also removes the directory without clearing clnt->pipefs_sb. After a late pipefs mount or any remount, rpc_clnt_remove_pipedir() compares the current superblock against a stale pipefs_sb pointer and skips cleanup, leaving pipefs dentries whose inode private data still points at a freed rpc_clnt, leading to a potential use-after-free during subsequent rpc_info_open() or rpc_show_info() calls. Fix this by properly updating clnt->pipefs_sb upon mount events and clearing it during unmount or failure paths.
Title sunrpc: fix use-after-free in __rpc_clnt_handle_event and __rpc_clnt_remove_pipedir
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-09-11T19:44:19.679Z

Reserved: 2026-09-11T19:38:34.722Z

Link: CVE-2026-89543

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-11T20:19:37.520

Modified: 2026-09-11T20:19:37.520

Link: CVE-2026-89543

cve-icon Redhat

Severity : Important

Publid Date: 2026-09-11T19:44:19Z

Links: CVE-2026-89543 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-13T07:00:08Z

Weaknesses
  • CWE-825

    Expired Pointer Dereference