CVE-2025-68348 block: fix memory leak in __blkdev_issue_zero_pages
설명
In the Linux kernel, the following vulnerability has been resolved: block: fix memory leak in __blkdev_issue_zero_pages Move the fatal signal check before bio_alloc() to prevent a memory leak when BLKDEV_ZERO_KILLABLE is set and a fatal signal is pending. Previously, the bio was allocated before checking for a fatal signal. If a signal was pending, the code would break out of the loop without freeing or chaining the just-allocated bio, causing a memory leak. This matches the pattern already used in __blkdev_issue_write_zeroes() where the signal check precedes the allocation.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 6.11
해결 버전
- 6.11 미만
- 6.12.63 이상
- 6.17.13 이상
- 6.18.2 이상
참고 자료 4건
- git.kernel.org https://git.kernel.org/stable/c/453e4b0c84d0db1454ff0adf655d91179e6fca3a (새 창)
- git.kernel.org https://git.kernel.org/stable/c/7193407bc4457212fa38ec3aff9c640e63a8dbef (새 창)
- git.kernel.org https://git.kernel.org/stable/c/7957635c679e8a01147163a3a4a1f16e1210fa03 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/f7e3f852a42d7cd8f1af2c330d9d153e30c8adcf (새 창)