NFSv4/pnfs: Free the netid when draining a data-server address list
- State
- Published
- Severity
- Not Scored
- Published
- Nov 19, 2026
- Updated
- Nov 23, 2026
- Reserved
- Sep 25, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
NFSv4/pnfs: Free the netid when draining a data-server address list
nfs4_pnfs_ds_addr_free() releases all three of an address entry's allocations, but the four sites that drain a decoded list before it reaches a data server open-code the loop and free only da_remotestr and the entry, leaking da_netid. Both layout drivers drain that list when nfs4_pnfs_ds_add() returned a data server already in the cache, and again on their error exits.
Lift the drain into nfs4_pnfs_ds_addr_list_free() so an address list has one owner. A striping mount reaches the cached case on nearly every GETDEVICEINFO, since many deviceIDs name the same data servers.
| Product | Versions |
|---|---|
| Linux Linux | 4be78d26810bc506769773ca2f81b4de65f43fd5 to before 70761862c8b753e0d29a3fa53b41d5cccf83aaf3 Affected4be78d26810bc506769773ca2f81b4de65f43fd5 to before b1e27720e14cd28e39f04bd8db3ad94581ef4f03 Affected4be78d26810bc506769773ca2f81b4de65f43fd5 to before 3dad2a9c46753bee387ec3b75f74c50dd571d16e Affected4be78d26810bc506769773ca2f81b4de65f43fd5 to before 3c964cb0527bd58f46cb3965e4c78033d892683b Affected4be78d26810bc506769773ca2f81b4de65f43fd5 to before cf4c0b3acb1d0600acc39ecb2f3b22647ac6ddb1 Affected4be78d26810bc506769773ca2f81b4de65f43fd5 to before fde95d71af2c3a3efac0cd4a09f7082e3d1d7805 Affected4be78d26810bc506769773ca2f81b4de65f43fd5 to before a7c8e96d1b9fa327cbdea514d047c8295b28d49a Affected |
| Linux Linux | 5.11 Affectedbefore 5.11 Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.118 through 6.12.* Not Affected6.18.61 through 6.18.* Not Affected7.3.2 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/70761862c8b753e0d29a3fa53b41d5cccf83aaf3
- https://git.kernel.org/stable/c/b1e27720e14cd28e39f04bd8db3ad94581ef4f03
- https://git.kernel.org/stable/c/3dad2a9c46753bee387ec3b75f74c50dd571d16e
- https://git.kernel.org/stable/c/3c964cb0527bd58f46cb3965e4c78033d892683b
- https://git.kernel.org/stable/c/cf4c0b3acb1d0600acc39ecb2f3b22647ac6ddb1
- https://git.kernel.org/stable/c/fde95d71af2c3a3efac0cd4a09f7082e3d1d7805
- https://git.kernel.org/stable/c/a7c8e96d1b9fa327cbdea514d047c8295b28d49a
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.