CVE-2024-35831 io_uring: Fix release of pinned pages when __io_uaddr_map fails
설명
In the Linux kernel, the following vulnerability has been resolved: io_uring: Fix release of pinned pages when __io_uaddr_map fails Looking at the error path of __io_uaddr_map, if we fail after pinning the pages for any reasons, ret will be set to -EINVAL and the error handler won't properly release the pinned pages. I didn't manage to trigger it without forcing a failure, but it can happen in real life when memory is heavily fragmented.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 6.5.7 이상 6.6 미만
- 6.6
해결 버전
- 6.6 이상
- 6.6 미만
- 6.6.23 이상
- 6.7.11 이상
- 6.8.2 이상
참고 자료 4건
- git.kernel.org https://git.kernel.org/stable/c/0b6f39c175ba5f0ef72bdb3b9d2a06ad78621d62 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/4d376d7ad62b6a8e8dfff56b559d9d275e5b9b3a (새 창)
- git.kernel.org https://git.kernel.org/stable/c/67d1189d1095d471ed7fa426c7e384a7140a5dd7 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/712e2c8415f55a4a4ddaa98a430b87f624109f69 (새 창)