Security mailing lists by PureSourceCode

CVE-2026-143359

not scored yet

bpf: Reject non-IPv6 packets in BPF_LWT_ENCAP_SEG6

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

bpf: Reject non-IPv6 packets in BPF_LWT_ENCAP_SEG6

The mode BPF_LWT_ENCAP_SEG6 of bpf_lwt_push_encap() pushes an IPv6 header
and an SRH, and it replaces the dst. The SRH says that IPv6 follows, and
skb->protocol does not change. Thus the mode assumes an IPv6 packet, but an
lwt_in prog also runs for IPv4 packets. After the prog, bpf_input() calls
orig_input() of the old dst. This IPv4 handler reads the pushed headers as
IPv4. It can write after the packet data, and the kernel crashes.

             after the push         orig_input() expects
             ---------------------  --------------------

skb->protocol ETH_P_IP ETH_P_IP
dst rt6_info rtable
packet | IPv6 | SRH | IPv4 | | IPv4 |

The mode BPF_LWT_ENCAP_SEG6_INLINE returns -EBADMSG for non-IPv6 packets.
Apply this check to both modes. End.BPF does not change, because
seg6_local_input() drops non-IPv6 packets.

Published
3 Dec 2026
Last modified
3 Dec 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= fe94cc290f535709d3c5ebd1e472dfd0aec7ee79, < 4a612ff71a094f2d77a4b07787ef45cfc2eb04a3; >= fe94cc290f535709d3c5ebd1e472dfd0aec7ee79, < 32f8d033044693f77f98da40ab206e38108cde6f; >= fe94cc290f535709d3c5ebd1e472dfd0aec7ee79, < ad3d6fe9772e06b50082d91e5906aa21ed2cb4ac; >= fe94cc290f535709d3c5ebd1e472dfd0aec7ee79, < d29c91e8c031bc9b5a78dc199235893c040877db; >= fe94cc290f535709d3c5ebd1e472dfd0aec7ee79, < d7106132b69e6916762bbbfd95fbcb60be4b8d9b; >= fe94cc290f535709d3c5ebd1e472dfd0aec7ee79, < 58e39f8d58b141b96c030008a20dde9d625ec997 4a612ff71a094f2d77a4b07787ef45cfc2eb04a3, 32f8d033044693f77f98da40ab206e38108cde6f, ad3d6fe9772e06b50082d91e5906aa21ed2cb4ac, d29c91e8c031bc9b5a78dc199235893c040877db, d7106132b69e6916762bbbfd95fbcb60be4b8d9b, 58e39f8d58b141b96c030008a20dde9d625ec997
CVE List Linux Linux = 4.18

References

History

  • 3 Dec 2026 11:07 UTC · NVD: first stored (published 3 Dec 2026)
  • 3 Dec 2026 10:08 UTC · CVE List: first stored (published 3 Dec 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.