CVE-2026-99709 inet: frags: limit the truesize of a reassembly queue
설명
In the Linux kernel, the following vulnerability has been resolved: inet: frags: limit the truesize of a reassembly queue The truesize of fragments in a reassembly queue is only bounded by the per netns ipfrag_high_thresh sysctl, which has no upper limit. inet_frag_reasm_finish() sums the truesize of all fragments in an int. If this sum reaches 2^32, it wraps, and the final sk_wmem_alloc adjustment of the socket owning the reassembled skb can cancel its own reference, leading to a use-after-free of this socket. This can be triggered from an unprivileged user/network namespace, raising ipfrag_high_thresh and using padded TUN packets, which keep a large truesize after being trimmed by ip_rcv_core(). Track the sum of the truesize of fragments in each queue, and refuse a fragment that would make it bigger than INT_MAX / 2. Callers kill the queue on this error. This bound is far above the needs of legitimate traffic.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 5.10.227 이상 5.10.275 미만
- 5.15.168 이상 5.15.226 미만
- 6.1.85 이상 6.1.193 미만
- 6.6.26 이상 6.6.163 미만
- 5.4.285 이상 5.5 미만
- 6.8.5 이상 6.9 미만
- 6.9
해결 버전
- 5.10.275 이상
- 5.15.226 이상
- 6.1.193 이상
- 6.6.163 이상
- 5.5 이상
- 6.9 이상
- 6.9 미만
- 6.12.119 이상
외 2개 구간 펼치기
- 6.18.65 이상
- 7.3.5 이상
참고 자료 8건
- git.kernel.org https://git.kernel.org/stable/c/3ae20e4697eb969104fe4b1e98a675f0100382b6 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/4bf5dee2b4ad14094360e01a1e0847636efa1519 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/4d820b22f2ed9f7c919e5e623782dc936ba9a50d (새 창)
- git.kernel.org https://git.kernel.org/stable/c/68515ac2255aa58428b1ae703fd5a20a25fafcf0 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/85b53c900b50a89bd8fea826f55cf2f7cdd3985c (새 창)
- git.kernel.org https://git.kernel.org/stable/c/86bc36effeec87a95b7c6f3cde686161dde21fd9 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/b3a7ab213d05f3a5e48e98cab291d190fbb1e201 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/b7f84486c44c2ce03dffe5f09a42a38acbaa1551 (새 창)