# CVE-2026-143351

- Bağlantı: https://www.allsafe.com.tr/cve-2026-143351/
- Yayımlanma: 2026-12-03T13:18:23+03:00
- Yazar: Postmaster

In the Linux kernel, the following vulnerability has been resolved:

bpf: Check the offset in bpf_skb_generic_{push,pop}()

To make room for len bytes at offset off, bpf_skb_generic_push() moves the
 first
off bytes and clears len bytes after them. It assumes that the first off bytes are
in the linear part. But in bpf_skb_adjust_room() off can be the end of the IP header,
and this header can be in a frag. Then the function reads and writes after skb->
tail, and can damage skb_shared_info.

bpf_skb_generic_pop() checks off + len, but this u32 sum can wrap to a
 small value.
bpf_skb_adjust_room() and bpf_skb_change_proto() calculate off from skb_mac_header_len().
This length is a very large u32 when network_header < mac_header. Then the check
can pass, and memmove() reads and writes far outside the skb.

Return -ENOMEM from both functions, like the present check, when
 off > skb->len.
Thus the sum cannot wrap. In bpf_skb_generic_push() also pull the first off bytes
into the linear part. Now bpf_skb_adjust_room() fails when a prog grows an skb that
ends before off. network_header stays wrong.

Bu kayıt NIST NVD kaynağından aktarılmıştır. Etkilenen sürümler, güncel değerlendirme
ve üretici referansları için kaynak kaydı inceleyin.

Kaynak: [NIST NVD — özgün kaydı inceleyin ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-143351)
