CVE-2026-99376
NFSv4/pnfs: Free the netid when draining a data-server address list
- CVSS
- —
- EPSS
- 0.23% (p15)
- Published
- 2026-11-19
- Age
- 15d old
- Modified
- 2026-11-23
- Product
- Linux Linux
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.
Fixed in
3c964cb0527bd58f46cb3965e4c78033d892683b · 3dad2a9c46753bee387ec3b75f74c50dd571d16e · 70761862c8b753e0d29a3fa53b41d5cccf83aaf3 · a7c8e96d1b9fa327cbdea514d047c8295b28d49a · b1e27720e14cd28e39f04bd8db3ad94581ef4f03 · cf4c0b3acb1d0600acc39ecb2f3b22647ac6ddb1 · fde95d71af2c3a3efac0cd4a09f7082e3d1d7805
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | Linux | >=4be78d26810bc506769773ca2f81b4de65f43fd5, <3c964cb0527bd58f46cb3965e4c78033d892683b | 3c964cb0527bd58f46cb3965e4c78033d892683b |
| vendor | Linux | >=4be78d26810bc506769773ca2f81b4de65f43fd5, <3dad2a9c46753bee387ec3b75f74c50dd571d16e | 3dad2a9c46753bee387ec3b75f74c50dd571d16e |
| vendor | Linux | >=4be78d26810bc506769773ca2f81b4de65f43fd5, <70761862c8b753e0d29a3fa53b41d5cccf83aaf3 | 70761862c8b753e0d29a3fa53b41d5cccf83aaf3 |
| vendor | Linux | >=4be78d26810bc506769773ca2f81b4de65f43fd5, <a7c8e96d1b9fa327cbdea514d047c8295b28d49a | a7c8e96d1b9fa327cbdea514d047c8295b28d49a |
| vendor | Linux | >=4be78d26810bc506769773ca2f81b4de65f43fd5, <b1e27720e14cd28e39f04bd8db3ad94581ef4f03 | b1e27720e14cd28e39f04bd8db3ad94581ef4f03 |
| vendor | Linux | >=4be78d26810bc506769773ca2f81b4de65f43fd5, <cf4c0b3acb1d0600acc39ecb2f3b22647ac6ddb1 | cf4c0b3acb1d0600acc39ecb2f3b22647ac6ddb1 |
| vendor | Linux | >=4be78d26810bc506769773ca2f81b4de65f43fd5, <fde95d71af2c3a3efac0cd4a09f7082e3d1d7805 | fde95d71af2c3a3efac0cd4a09f7082e3d1d7805 |
Sources
References
- https://git.kernel.org/stable/c/3c964cb0527bd58f46cb3965e4c78033d892683b other
- https://git.kernel.org/stable/c/cf4c0b3acb1d0600acc39ecb2f3b22647ac6ddb1 other
- https://git.kernel.org/stable/c/fde95d71af2c3a3efac0cd4a09f7082e3d1d7805 other
- https://git.kernel.org/stable/c/a7c8e96d1b9fa327cbdea514d047c8295b28d49a other
- https://git.kernel.org/stable/c/70761862c8b753e0d29a3fa53b41d5cccf83aaf3 other
- https://git.kernel.org/stable/c/b1e27720e14cd28e39f04bd8db3ad94581ef4f03 other
- https://git.kernel.org/stable/c/3dad2a9c46753bee387ec3b75f74c50dd571d16e other