{"id":"CVE-2026-143351","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-12-03T10:18:23.903","lastModified":"2026-12-03T10:18:23.903","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Check the offset in bpf_skb_generic_{push,pop}()\n\nTo make room for len bytes at offset off, bpf_skb_generic_push() moves the\nfirst off bytes and clears len bytes after them. It assumes that the first\noff bytes are in the linear part. But in bpf_skb_adjust_room() off can be\nthe end of the IP header, and this header can be in a frag. Then the\nfunction reads and writes after skb->tail, and can damage skb_shared_info.\n\nbpf_skb_generic_pop() checks off + len, but this u32 sum can wrap to a\nsmall value. bpf_skb_adjust_room() and bpf_skb_change_proto() calculate off\nfrom skb_mac_header_len(). This length is a very large u32 when\nnetwork_header < mac_header. Then the check can pass, and memmove() reads\nand writes far outside the skb.\n\nReturn -ENOMEM from both functions, like the present check, when\noff > skb->len. Thus the sum cannot wrap. In bpf_skb_generic_push() also\npull the first off bytes into the linear part. Now bpf_skb_adjust_room()\nfails when a prog grows an skb that ends before off. network_header stays\nwrong."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["net/core/filter.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6578171a7ff0c31dc73258f93da7407510abf085","lessThan":"71b7211ea168c19fdc8871a886cf6b738a6c9764","versionType":"git","status":"affected"},{"version":"6578171a7ff0c31dc73258f93da7407510abf085","lessThan":"b6e295b06d6ebe0d5459661b55627fdb9c238fd4","versionType":"git","status":"affected"},{"version":"6578171a7ff0c31dc73258f93da7407510abf085","lessThan":"280c120c9dac35f7a22589303cc90b8a00e6fde8","versionType":"git","status":"affected"},{"version":"6578171a7ff0c31dc73258f93da7407510abf085","lessThan":"ee36c9aa44ef300cd651074bd97552b229337f85","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["net/core/filter.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"4.8","status":"affected"},{"version":"0","lessThan":"4.8","versionType":"semver","status":"unaffected"},{"version":"6.12.120","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.66","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.7","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc2","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/280c120c9dac35f7a22589303cc90b8a00e6fde8","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/71b7211ea168c19fdc8871a886cf6b738a6c9764","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/b6e295b06d6ebe0d5459661b55627fdb9c238fd4","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/ee36c9aa44ef300cd651074bd97552b229337f85","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}