CVE-2026-72438 md/raid10: fix writes_pending and barrier reference leaks on discard failures
설명
In the Linux kernel, the following vulnerability has been resolved: md/raid10: fix writes_pending and barrier reference leaks on discard failures raid10_make_request() acquires a writes_pending reference with md_write_start() before calling raid10_handle_discard(). Several failure paths in raid10_handle_discard() complete the bio and return without releasing the corresponding reference, causing md_write_end() to be skipped. Call md_write_end() before returning from these failure paths to keep writes_pending accounting balanced. Additionally, discard split allocation failures can occur after wait_barrier() succeeds. Those paths return without calling allow_barrier(), leaking the associated barrier reference. Release the barrier before returning from those paths.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 5.15.111 이상 5.16 미만
- 5.17
해결 버전
- 5.16 이상
- 5.17 미만
- 6.1.191 이상
- 6.6.160 이상
- 6.12.111 이상
- 6.18.53 이상
- 7.1.5 이상
참고 자료 6건
- git.kernel.org https://git.kernel.org/stable/c/11b35d1906a7277a3d64afe34224133b44327328 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/2d264c00beadcc67f16d683ab27eed28c047ba2e (새 창)
- git.kernel.org https://git.kernel.org/stable/c/393d687131d8aa8c7e4de2cb494438e145d20fc2 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/80ac31cce55432034a9eb98262c92ace7866e494 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/d1324b41dabd26787559efaeb430643c627c1eb0 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/fea33968592559a55a3f5a96a6386bebcaf988a8 (새 창)