CVE-2026-46331 net/sched: fix pedit partial COW leading to page cache corruption
설명
In the Linux kernel, the following vulnerability has been resolved: net/sched: fix pedit partial COW leading to page cache corruption tcf_pedit_act() computes the COW range for skb_ensure_writable() once before the key loop using tcfp_off_max_hint, but the hint does not account for the runtime header offset added by typed keys. This can leave part of the write region un-COW'd. Fix by moving skb_ensure_writable() inside the per-key loop where the actual write offset is known, and add overflow checking on the offset arithmetic. For negative offsets (e.g. Ethernet header edits at ingress), use skb_cow() to COW the headroom instead. Guard offset_valid() against INT_MIN, where negation is undefined.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 5.10.117 이상 5.10.260 미만
- 5.15.41 이상 5.15.211 미만
- 4.19.244 이상 4.20 미만
- 5.4.195 이상 5.5 미만
- 5.17.9 이상 5.18 미만
- 5.18
해결 버전
- 5.10.260 이상
- 5.15.211 이상
- 4.20 이상
- 5.5 이상
- 5.18 이상
- 5.18 미만
- 6.1.177 이상
- 6.6.144 이상
외 3개 구간 펼치기
- 6.12.94 이상
- 6.18.36 이상
- 7.0.13 이상