CVE-2026-23038 pnfs/flexfiles: Fix memory leak in nfs4_ff_alloc_deviceid_node()
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 4.0
해결 버전
- 4.0 미만
- 5.10.249 이상
- 5.15.199 이상
- 6.1.162 이상
- 6.6.122 이상
- 6.12.67 이상
- 6.18.7 이상
참고 자료 7건
- git.kernel.org https://git.kernel.org/stable/c/0c728083654f0066f5e10a1d2b0bd0907af19a58 (새 창)
- 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/e2dde5dafb80f1af4028ed10ad255f42af71c784 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/ed5d3f2f6885eb99f729e6ffd946e3aa058bd3eb (새 창)