Vulnerability · Published Jan 31, 2026 · Assigned by Linux
CVE-2026-23038pnfs/flexfiles: Fix memory leak in nfs4_ff_alloc_deviceid_node()
Unrated
In plain English
A memory leak in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 21% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | linux | 6.1.162-1 | DEBIAN-CVE-2026-23038 |
| Debian:13 | linux | 6.12.69-1 | DEBIAN-CVE-2026-23038 |
| Debian:14 | linux | 6.18.8-1 | DEBIAN-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux | 5.15.0-176.186 | USN-8180-1 |
| Ubuntu:22.04:LTS | linux | 5.15.0-176.186 | UBUNTU-CVE-2026-23038 |
| Ubuntu:24.04:LTS | linux | 6.8.0-117.117 | UBUNTU-CVE-2026-23038 |
| Ubuntu:25.10 | linux | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1105.112 | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1105.112 | USN-8180-1 |
| Ubuntu:24.04:LTS | linux-aws | 6.8.0-1055.58 | UBUNTU-CVE-2026-23038 |
| Ubuntu:25.10 | linux-aws | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:24.04:LTS | linux-aws-6.14 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:24.04:LTS | linux-aws-6.17 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-aws-6.5 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-aws-6.8 | 6.8.0-1057.60~22.04.1 | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1110.119 | USN-8180-3 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1110.119 | UBUNTU-CVE-2026-23038 |
| Ubuntu:24.04:LTS | linux-azure | 6.8.0-1056.62 | UBUNTU-CVE-2026-23038 |
| Ubuntu:25.10 | linux-azure | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:24.04:LTS | linux-azure-6.11 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:24.04:LTS | linux-azure-6.14 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:24.04:LTS | linux-azure-6.17 | 6.17.0-1021.21~24.04.1 | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-azure-6.5 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-azure-6.8 | 6.8.0-1059.65~22.04.1 | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1114.123 | UBUNTU-CVE-2026-23038 |
| Ubuntu:24.04:LTS | linux-azure-fde | 6.8.0-1058.65 | UBUNTU-CVE-2026-23038 |
| Ubuntu:25.10 | linux-azure-fde | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:24.04:LTS | linux-azure-fde-6.14 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.8 | 6.8.0-1058.65~22.04.1 | UBUNTU-CVE-2026-23038 |
| Ubuntu:24.04:LTS | linux-azure-nvidia | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:24.04:LTS | linux-azure-nvidia-6.14 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1105.114 | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1105.114 | USN-8180-1 |
| Ubuntu:24.04:LTS | linux-gcp | 6.8.0-1058.61 | UBUNTU-CVE-2026-23038 |
| Ubuntu:25.10 | linux-gcp | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:24.04:LTS | linux-gcp-6.11 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:24.04:LTS | linux-gcp-6.14 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:24.04:LTS | linux-gcp-6.17 | 6.17.0-1021.24~24.04.1 | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-gcp-6.5 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-gcp-6.8 | 6.8.0-1060.63~22.04.1 | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1101.107 | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1101.107 | USN-8180-1 |
| Ubuntu:24.04:LTS | linux-gke | 6.8.0-1054.60 | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1088.96 | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1088.96 | USN-8180-1 |
| Ubuntu:24.04:LTS | linux-gkeop | 6.8.0-1041.44 | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:24.04:LTS | linux-hwe-6.11 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:24.04:LTS | linux-hwe-6.14 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:24.04:LTS | linux-hwe-6.17 | 6.17.0-41.41~24.04.1 | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-hwe-6.5 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-hwe-6.8 | 6.8.0-124.124~22.04.1 | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1099.102 | USN-8180-5 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1099.102 | UBUNTU-CVE-2026-23038 |
| Ubuntu:24.04:LTS | linux-ibm | 6.8.0-1055.56 | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-ibm-6.8 | 6.8.0-1055.56~22.04.1 | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1100.106 | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1100.106 | USN-8180-3 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1097.102 | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1097.102 | USN-8180-3 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-175.185 | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-175.185 | USN-8180-1 |
| Ubuntu:24.04:LTS | linux-lowlatency | 6.8.0-117.117.1 | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:24.04:LTS | linux-lowlatency-hwe-6.11 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.5 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.8 | 6.8.0-117.117.1~22.04.1 | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1100.101 | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1100.101 | USN-8180-1 |
| Ubuntu:24.04:LTS | linux-nvidia | 6.8.0-1054.57 | UBUNTU-CVE-2026-23038 |
| Ubuntu:24.04:LTS | linux-nvidia-6.11 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:24.04:LTS | linux-nvidia-6.17 | 6.17.0-1031.31 | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-nvidia-6.5 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-nvidia-6.8 | 6.8.0-1054.57~22.04.1 | UBUNTU-CVE-2026-23038 |
| Ubuntu:24.04:LTS | linux-nvidia-lowlatency | 6.8.0-1054.57.1 | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra | 5.15.0-1057.57 | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra | 5.15.0-1057.57 | USN-8187-1 |
| Ubuntu:24.04:LTS | linux-nvidia-tegra | 6.8.0-1024.24 | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra-igx | 5.15.0-1046.46 | USN-8187-1 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra-igx | 5.15.0-1046.46 | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:24.04:LTS | linux-oem-6.11 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:24.04:LTS | linux-oem-6.14 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:24.04:LTS | linux-oem-6.17 | 6.17.0-1030.30 | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:24.04:LTS | linux-oem-6.8 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1102.108 | USN-8180-1 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1102.108 | UBUNTU-CVE-2026-23038 |
| Ubuntu:24.04:LTS | linux-oracle | 6.8.0-1054.55 | UBUNTU-CVE-2026-23038 |
| Ubuntu:25.10 | linux-oracle | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:24.04:LTS | linux-oracle-6.14 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:24.04:LTS | linux-oracle-6.17 | 6.17.0-1019.19~24.04.3 | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-oracle-6.5 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-oracle-6.8 | 6.8.0-1054.55~22.04.1 | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1099.102 | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1099.102 | USN-8180-6 |
| Ubuntu:24.04:LTS | linux-raspi | 6.8.0-1056.60 | UBUNTU-CVE-2026-23038 |
| Ubuntu:25.10 | linux-raspi | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:24.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:25.10 | linux-realtime | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:24.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:25.10 | linux-riscv | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:24.04:LTS | linux-riscv-6.14 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:24.04:LTS | linux-riscv-6.17 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-riscv-6.5 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-riscv-6.8 | 6.8.0-117.117~22.04.1 | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-starfive-6.5 | no fix listed | UBUNTU-CVE-2026-23038 |
| Ubuntu:24.04:LTS | linux-xilinx | 6.8.0-1032.33 | UBUNTU-CVE-2026-23038 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1070.74 | USN-8275-1 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1070.74 | UBUNTU-CVE-2026-23038 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | d67ae825a59d639e4d8b82413af84d854617a87e – before e2dde5dafb80f1af4028ed10ad255f42af71c784d67ae825a59d639e4d8b82413af84d854617a87e – before 27c90d8ed81e7a289c9fe41b5e31d8bb609a3385d67ae825a59d639e4d8b82413af84d854617a87e – before 34b9dd179818ff7af2b36410985fd8166573c62dd67ae825a59d639e4d8b82413af84d854617a87e – before 869862056e100973e76ce9f5f1b01837771b7722d67ae825a59d639e4d8b82413af84d854617a87e – before 86da7efd12295a7e2b4abde5e5984c821edd938fd67ae825a59d639e4d8b82413af84d854617a87e – before ed5d3f2f6885eb99f729e6ffd946e3aa058bd3ebd67ae825a59d639e4d8b82413af84d854617a87e – before 0c728083654f0066f5e10a1d2b0bd0907af19a58 |
| Linux | Linux | 4.0 |
Weakness: CWE-401
References
- https://git.kernel.org/stable/c/e2dde5dafb80f1af4028ed10ad255f42af71c784
- https://git.kernel.org/stable/c/27c90d8ed81e7a289c9fe41b5e31d8bb609a3385
- https://git.kernel.org/stable/c/34b9dd179818ff7af2b36410985fd8166573c62d
- https://git.kernel.org/stable/c/869862056e100973e76ce9f5f1b01837771b7722
- https://git.kernel.org/stable/c/86da7efd12295a7e2b4abde5e5984c821edd938f
- https://git.kernel.org/stable/c/ed5d3f2f6885eb99f729e6ffd946e3aa058bd3eb
- https://git.kernel.org/stable/c/0c728083654f0066f5e10a1d2b0bd0907af19a58
- https://cert-portal.siemens.com/productcert/html/ssa-253495.html
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html