CVE-2025-21891
ipvlan: ensure network headers are in skb linear part
Reported by linux · Published March 27, 2025
In the Linux kernel, the following vulnerability has been resolved: ipvlan: ensure network headers are in skb linear part syzbot found that ipvlan_process_v6_outbound() was assuming the IPv6 network header isis present in skb->head [1] Add the needed pskb_network_may_pull() calls for both IPv4 and IPv6 handlers. [1] BUG: KMSAN: uninit-value in __ipv6_addr_type+0xa2/0x490 net/ipv6/addrconf_core.c:47 __ipv6_addr_type+0xa2/0x490 net/ipv6/addrconf_core.c:47 ipv6_addr_type include/net/ipv6.h:555 [inline] ip6_route_output_flags_noref net/ipv6/route.c:2616 [inline] ip6_route_output_flags+0x51/0x720 net/ipv6/route.c:2651 ip6_route_output include/net/ip6_route.h:93 [inline] ipvlan_route_v6_outbound+0x24e/0x520 drivers/net/ipvlan/ipvlan_core.c:476 ipvlan_process_v6_outbound drivers/net/ipvlan/ipvlan_core.c:491 [inline] ipvlan_process_outbound drivers/net/ipvlan/ipvlan_core.c:541 [inline] ipvlan_xmit_mode_l3 drivers/net/ipvlan/ipvlan_core.c:605 [inline] ipvlan_queue_xmit+0xd72/0x1780 drivers/net/ipvlan/ipvlan_core.c:671 ipvlan_start_xmit+0x5b/0x210 drivers/net/ipvlan/ipvlan_main.c:223 __netdev_start_xmit include/linux/netdevice.h:5150 [inline] netdev_start_xmit include/linux/netdevice.h:5159 [inline] xmit_one net/core/dev.c:3735 [inline] dev_hard_start_xmit+0x247/0xa20 net/core/dev.c:3751 sch_direct_xmit+0x399/0xd40 net/sched/sch_generic.c:343 qdisc_restart net/sched/sch_generic.c:408 [inline] __qdisc_run+0x14da/0x35d0 net/sched/sch_generic.c:416 qdisc_run+0x141/0x4d0 include/net/pkt_sched.h:127 net_tx_action+0x78b/0x940 net/core/dev.c:5484 handle_softirqs+0x1a0/0x7c0 kernel/softirq.c:561 __do_softirq+0x14/0x1a kernel/softirq.c:595 do_softirq+0x9a/0x100 kernel/softirq.c:462 __local_bh_enable_ip+0x9f/0xb0 kernel/softirq.c:389 local_bh_enable include/linux/bottom_half.h:33 [inline] rcu_read_unlock_bh include/linux/rcupdate.h:919 [inline] __dev_queue_xmit+0x2758/0x57d0 net/core/dev.c:4611 dev_queue_xmit include/linux/netdevice.h:3311 [inline] packet_xmit+0x9c/0x6c0 net/packet/af_packet.c:276 packet_snd net/packet/af_packet.c:3132 [inline] packet_sendmsg+0x93e0/0xa7e0 net/packet/af_packet.c:3164 sock_sendmsg_nosec net/socket.c:718 [inline]
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-modules-extra | Amazon Linux | 6.1.130-139.222.amzn2023 |
| kernel-libbpf-devel | Amazon Linux | 6.1.130-139.222.amzn2023 |
| kernel-libbpf-static | Amazon Linux | 6.1.130-139.222.amzn2023 |
| kernel-livepatch-6.1.130-139.222 | Amazon Linux | 1.0-0.amzn2023 |
| bpftool | Amazon Linux | 6.1.130-139.222.amzn2023 |
| perf | Amazon Linux | 6.1.130-139.222.amzn2023 |
| kernel-headers | Amazon Linux | 6.1.130-139.222.amzn2023 |
| kernel-tools | Amazon Linux | 6.1.130-139.222.amzn2023 |
| kernel-libbpf | Amazon Linux | 6.1.130-139.222.amzn2023 |
| kernel | Amazon Linux | 6.1.130-139.222.amzn2023 |
| linux_kernel | linux | 6.14, 6.13.6, 6.12.18, 6.6.81, 6.1.130 |
| Linux | Linux | e2a4f76a2d8a44816ecd25bcbdb47b786d621974, 5b8dea8d1612dc7151d2457d7d2e6a69820309bf, 5353fd89663c48f56bdff975c562cfe78b1a2e4c, 4ec48f812804f370f622e0874e6dd8fcc58241cd, 27843ce6ba3d3122b65066550fe33fb8839f8aef |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 2ad7bf3638411cb547f2823df08166c13ab04269, 2ad7bf3638411cb547f2823df08166c13ab04269, 2ad7bf3638411cb547f2823df08166c13ab04269 |
| Linux | Linux | 3.19, 0, 6.1.130 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel-livepatch-6.1.130-139.222 | 0 |
| linux | linux_kernel | 3.19, 3.19, 3.19 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | kernel | 0 |
| Linux | Linux | 2ad7bf3638411cb547f2823df08166c13ab04269, 2ad7bf3638411cb547f2823df08166c13ab04269, 2ad7bf3638411cb547f2823df08166c13ab04269 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
Timeline
- Mar 26, 2025 CVE Published
- Mar 28, 2025 EPSS Score (30 in total, the first dated here)
- Mar 28, 2025 Coalition ESS Score (10 in total, the first dated here)
- Dec 22, 2025 Security Advisory (166 in total, the first dated here)
- Apr 29, 2026 Distribution Patch (158 in total, the first dated here)
- Oct 11, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-21891
vulnetix vdb fixes CVE-2025-21891
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-21891/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart