CVE-2026-89543

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

No CVSS score yet EPSS 0.23%

Published 11 Sep 2026 Updated 30 Oct 2026 CNA: Linux

Check your servers for CVE-2026-89543

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-89543 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 14.3% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 7749fd2dbef72a52b5c9ffdbf877691950ed4680, before 1a713814e0580f946196bca5e340b37991c6e8bf
affected from cc2e7ebbeb1d0601f7f3c8d93b78fcc03a95e44a, before f99fedfd1dbffe8d20b421c9a7d4655a135d4fcd
affected from bfca5fb4e97c46503ddfc582335917b0cc228264, before 59527bbfb1eabdb28e95e7c725886cc2c2899cb3
affected from bfca5fb4e97c46503ddfc582335917b0cc228264, before e769fcde3cc73e847b1eb3acd40c04a291cb0c0c
affected from bfca5fb4e97c46503ddfc582335917b0cc228264, before cdf7a233cb94774b0e7df42d9157077983f5022c
affected from bfca5fb4e97c46503ddfc582335917b0cc228264, before 932a8cf6abb2b2f8677b79153a823108d8861fe2
affected 17866066b8ac1cc38fb449670bc15dc9fee4b40a
affected 7d61d1da2ed1f682c41cae0c8d4719cdaccee5c5
affected dedf2a0eb9448ae73b270743e6ea9b108189df46
affected 194454afa6aa9d6ed74f0c57127bc8beb27c20df
affected 1cdb52ffd6600a37bd355d8dce58ecd03e55e618
affected from 6.1.64, before 6.1.191
affected from 6.6.3, before 6.6.160
affected from 4.19.318, before 4.20
affected from 5.4.280, before 5.5
affected from 5.10.202, before 5.11
affected from 5.15.140, before 5.16
affected from 6.5.13, before 6.6
Other versions: unaffected
Linux
affected 6.7
unaffected before 6.7
unaffected from 6.1.191 up to and including 6.1.*
unaffected from 6.6.160 up to and including 6.6.*
unaffected from 6.12.111 up to and including 6.12.*
unaffected from 6.18.50 up to and including 6.18.*
unaffected from 7.2.4 up to and including 7.2.*
unaffected 7.3 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-89543 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-89543

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-89543
trivy image --scanners vuln IMAGE | grep CVE-2026-89543

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-89543 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.