# CVE-2025-21891: ipvlan: ensure network headers are in skb linear part

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **CWE:** CWE-908
- **Published:** 2025-03-27T14:57:17.267Z
- **Modified:** 2026-06-17T08:44:32.520Z

## Who should check

- Anyone running Linux \>= 2ad7bf3638411cb547f2823df08166c13ab04269, \< 5b8dea8d1612dc7151d2457d7d2e6a69820309bf; \>= 2ad7bf3638411cb547f2823df08166c13ab04269, \< 4ec48f812804f370f622e0874e6dd8fcc58241cd; \>= 2ad7bf3638411cb547f2823df08166c13ab04269, \< 5353fd89663c48f56bdff975c562cfe78b1a2e4c; \>= 2ad7bf3638411cb547f2823df08166c13ab04269, \< e2a4f76a2d8a44816ecd25bcbdb47b786d621974; \>= 2ad7bf3638411cb547f2823df08166c13ab04269, \< 27843ce6ba3d3122b65066550fe33fb8839f8aef
- Anyone running Linux 3.19

## Description

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\]

## Affected and fixed versions

- Linux: \>= 2ad7bf3638411cb547f2823df08166c13ab04269, \< 5b8dea8d1612dc7151d2457d7d2e6a69820309bf; \>= 2ad7bf3638411cb547f2823df08166c13ab04269, \< 4ec48f812804f370f622e0874e6dd8fcc58241cd; \>= 2ad7bf3638411cb547f2823df08166c13ab04269, \< 5353fd89663c48f56bdff975c562cfe78b1a2e4c; \>= 2ad7bf3638411cb547f2823df08166c13ab04269, \< e2a4f76a2d8a44816ecd25bcbdb47b786d621974; \>= 2ad7bf3638411cb547f2823df08166c13ab04269, \< 27843ce6ba3d3122b65066550fe33fb8839f8aef (cvelist)
- Linux: 3.19 (cvelist)

## Mitigation

- Upgrade Linux to 27843ce6ba3d3122b65066550fe33fb8839f8aef or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-21891. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-21891.md
Affected: Linux >= 2ad7bf3638411cb547f2823df08166c13ab04269, < 5b8dea8d1612dc7151d2457d7d2e6a69820309bf; >= 2ad7bf3638411cb547f2823df08166c13ab04269, < 4ec48f812804f370f622e0874e6dd8fcc58241cd; >= 2ad7bf3638411cb547f2823df08166c13ab04269, < 5353fd89663c48f56bdff975c562cfe78b1a2e4c; >= 2ad7bf3638411cb547f2823…
Fixed in: Linux 5b8dea8d1612dc7151d2457d7d2e6a69820309bf, Linux 4ec48f812804f370f622e0874e6dd8fcc58241cd, Linux 5353fd89663c48f56bdff975c562cfe78b1a2e4c, Linux 27843ce6ba3d3122b65066550fe33fb8839f8aef

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-21891 being exploited?

There is no confirmed exploitation: CVE-2025-21891 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-21891?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-21891?

Linux \>= 2ad7bf3638411cb547f2823df08166c13ab04269, \< 5b8dea8d1612dc7151d2457d7d2e6a69820309bf; \>= 2ad7bf3638411cb547f2823df08166c13ab04269, \< 4ec48f812804f370f622e0874e6dd8fcc58241cd; \>= 2ad7bf3638411cb547f2823df08166c13ab04269, \< 5353fd89663c48f56bdff975c562cfe78b1a2e4c; \>= 2ad7bf3638411cb547f2823df08166c13ab04269, \< e2a4f76a2d8a44816ecd25bcbdb47b786d621974; \>= 2ad7bf3638411cb547f2823df08166c13ab04269, \< 27843ce6ba3d3122b65066550fe33fb8839f8aef; Linux 3.19.

### Is there a fix for CVE-2025-21891?

Yes. Fixed in Linux 5b8dea8d1612dc7151d2457d7d2e6a69820309bf, Linux 4ec48f812804f370f622e0874e6dd8fcc58241cd, Linux 5353fd89663c48f56bdff975c562cfe78b1a2e4c, Linux 27843ce6ba3d3122b65066550fe33fb8839f8aef. Upgrade Linux to 27843ce6ba3d3122b65066550fe33fb8839f8aef or later.

### How do I check if I'm affected by CVE-2025-21891?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/5b8dea8d1612dc7151d2457d7d2e6a69820309bf>
- patch: <https://git.kernel.org/stable/c/4ec48f812804f370f622e0874e6dd8fcc58241cd>
- patch: <https://git.kernel.org/stable/c/5353fd89663c48f56bdff975c562cfe78b1a2e4c>
- patch: <https://git.kernel.org/stable/c/e2a4f76a2d8a44816ecd25bcbdb47b786d621974>
- patch: <https://git.kernel.org/stable/c/27843ce6ba3d3122b65066550fe33fb8839f8aef>
- other: <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-21891>

HTML: <https://flawdb.com/CVE-2025-21891> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-21891>
