{"id":"CVE-2026-99376","summary":"NFSv4/pnfs: Free the netid when draining a data-server address list","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nNFSv4/pnfs: Free the netid when draining a data-server address list\n\nnfs4_pnfs_ds_addr_free() releases all three of an address entry's\nallocations, but the four sites that drain a decoded list before it\nreaches a data server open-code the loop and free only da_remotestr and\nthe entry, leaking da_netid.  Both layout drivers drain that list when\nnfs4_pnfs_ds_add() returned a data server already in the cache, and\nagain on their error exits.\n\nLift the drain into nfs4_pnfs_ds_addr_list_free() so an address list has\none owner.  A striping mount reaches the cached case on nearly every\nGETDEVICEINFO, since many deviceIDs name the same data servers.","modified":"2026-11-19T17:01:03.308002257Z","published":"2026-11-19T14:23:12.813Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99376.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3c964cb0527bd58f46cb3965e4c78033d892683b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a7c8e96d1b9fa327cbdea514d047c8295b28d49a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cf4c0b3acb1d0600acc39ecb2f3b22647ac6ddb1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fde95d71af2c3a3efac0cd4a09f7082e3d1d7805"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99376.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99376"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"4be78d26810bc506769773ca2f81b4de65f43fd5"},{"fixed":"3c964cb0527bd58f46cb3965e4c78033d892683b"},{"fixed":"cf4c0b3acb1d0600acc39ecb2f3b22647ac6ddb1"},{"fixed":"fde95d71af2c3a3efac0cd4a09f7082e3d1d7805"},{"fixed":"a7c8e96d1b9fa327cbdea514d047c8295b28d49a"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99376.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"6.12.118"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.61"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99376.json"}}],"schema_version":"1.9.2"}