CVE-2026-23038
pnfs/flexfiles: Fix memory leak in nfs4_ff_alloc_deviceid_node()
Check your servers for CVE-2026-23038
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-23038 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.
Description
In the Linux kernel, the following vulnerability has been resolved:
pnfs/flexfiles: Fix memory leak in nfs4_ff_alloc_deviceid_node()
In nfs4_ff_alloc_deviceid_node(), if the allocation for ds_versions fails, the function jumps to the out_scratch label without freeing the already allocated dsaddrs list, leading to a memory leak.
Fix this by jumping to the out_err_drain_dsaddrs label, which properly frees the dsaddrs list before cleaning up other resources.
Exploitation
EPSS 0.28%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 22.2% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 16 Jun 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-401 Missing Release of Memory after Effective Lifetime
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from d67ae825a59d639e4d8b82413af84d854617a87e, before e2dde5dafb80f1af4028ed10ad255f42af71c784 affected from d67ae825a59d639e4d8b82413af84d854617a87e, before 27c90d8ed81e7a289c9fe41b5e31d8bb609a3385 affected from d67ae825a59d639e4d8b82413af84d854617a87e, before 34b9dd179818ff7af2b36410985fd8166573c62d affected from d67ae825a59d639e4d8b82413af84d854617a87e, before 869862056e100973e76ce9f5f1b01837771b7722 affected from d67ae825a59d639e4d8b82413af84d854617a87e, before 86da7efd12295a7e2b4abde5e5984c821edd938f affected from d67ae825a59d639e4d8b82413af84d854617a87e, before ed5d3f2f6885eb99f729e6ffd946e3aa058bd3eb affected from d67ae825a59d639e4d8b82413af84d854617a87e, before 0c728083654f0066f5e10a1d2b0bd0907af19a58
Other versions: unaffected
|
| Linux |
affected 4.0 unaffected before 4.0 unaffected from 5.10.249 up to and including 5.10.* unaffected from 5.15.199 up to and including 5.15.* unaffected from 6.1.162 up to and including 6.1.* unaffected from 6.6.122 up to and including 6.6.* unaffected from 6.12.67 up to and including 6.12.* unaffected from 6.18.7 up to and including 6.18.* unaffected 6.19 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-23038 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-23038
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-23038
trivy image --scanners vuln IMAGE | grep CVE-2026-23038
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
- https://git.kernel.org/stable/c/e2dde5dafb80f1af4028ed10ad255f42af71c784 git.kernel.org
- https://git.kernel.org/stable/c/27c90d8ed81e7a289c9fe41b5e31d8bb609a3385 git.kernel.org
- https://git.kernel.org/stable/c/34b9dd179818ff7af2b36410985fd8166573c62d git.kernel.org
- https://git.kernel.org/stable/c/869862056e100973e76ce9f5f1b01837771b7722 git.kernel.org
- https://git.kernel.org/stable/c/86da7efd12295a7e2b4abde5e5984c821edd938f git.kernel.org
- https://git.kernel.org/stable/c/ed5d3f2f6885eb99f729e6ffd946e3aa058bd3eb git.kernel.org
- https://git.kernel.org/stable/c/0c728083654f0066f5e10a1d2b0bd0907af19a58 git.kernel.org
- https://cert-portal.siemens.com/productcert/html/ssa-253495.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html cert-portal.siemens.com
Source: the record CVE-2026-23038 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse