CVE-2026-46300 net: skbuff: preserve shared-frag marker during coalescing
net: skbuff: 합체 중 공유 조각 마커 유지 기계 번역
설명
Linux 커널에서 다음 취약점이 해결되었습니다. net: skbuff: 합체 중 공유 조각 마커 유지 skb_try_coalesce()는 @from에서 @to로 페이지드된 frag를 붙일 수 있습니다. @from에 SKBFL_SHARED_FRAG가 설정되어 있는 경우, 결과 @to skb는 외부 소유의 동일한 페이지 캐시 백업 frag를 포함할 수 있지만, 공유-frag 마커는 현재 손실됩니다. 이로 인해 나중에 작가들이 의지했던 불변성이 깨졌다. 특히, ESP 입력은 비선형 skb가 skb_cow_data()를 건너뛸 수 있는지 여부를 결정하기 전에 skb_has_shared_frag()를 확인합니다. TCP가 합체되어 공유 frag를 표시되지 않은 skb로 이동한 경우 ESP는 skb_has_shared_frag()를 false로 보고 페이지 캐시 백업 frag를 통해 복호화할 수 있습니다. skb_try_coalesce() 가 페이지드된 frag를 전송할 때 SKBFL_SHARED_FRAG 를 Propagate 합니다. tailroom copy path는 frag descriptor를 전송하지 않고 @to의 linear data에 바이트를 복사하기 때문에 마커가 필요하지 않습니다.
기계 번역
원문 보기
In the Linux kernel, the following vulnerability has been resolved: net: skbuff: preserve shared-frag marker during coalescing skb_try_coalesce() can attach paged frags from @from to @to. If @from has SKBFL_SHARED_FRAG set, the resulting @to skb can contain the same externally-owned or page-cache-backed frags, but the shared-frag marker is currently lost. That breaks the invariant relied on by later in-place writers. In particular, ESP input checks skb_has_shared_frag() before deciding whether an uncloned nonlinear skb can skip skb_cow_data(). If TCP receive coalescing has moved shared frags into an unmarked skb, ESP can see skb_has_shared_frag() as false and decrypt in place over page-cache backed frags. Propagate SKBFL_SHARED_FRAG when skb_try_coalesce() transfers paged frags. The tailroom copy path does not need the marker because it copies bytes into @to's linear data rather than transferring frag descriptors.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 3.9
해결 버전
- 3.9 미만
- 5.10.257 이상
- 5.15.208 이상
- 6.1.174 이상
- 6.6.141 이상
- 6.12.91 이상
- 6.18.33 이상
- 7.0.10 이상