# CVE-2025-38638: ipv6: add a retry logic in net6\_rt\_notify()

> 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, NVD) `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.22% (percentile 8, 2026-11-28)
- **Published:** 2025-08-22T16:00:44.913Z
- **Modified:** 2026-06-17T09:17:16.070Z

## Who should check

- Anyone running Linux \>= 169fd62799e8acabbfb4760799be11138ced949c, \< 0bdca3439a22c70eb8f404acd61bf7aca5d731b0; \>= 169fd62799e8acabbfb4760799be11138ced949c, \< ea2f921db7a483a526058c5b5b8162edd88dabe5
- Anyone running Linux 6.16

## Description

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

ipv6: add a retry logic in net6\_rt\_notify()

inet6\_rt\_notify() can be called under RCU protection only.
This means the route could be changed concurrently
and rt6\_fill\_node() could return -EMSGSIZE.

Re-size the skb when this happens and retry, removing
one WARN\_ON() that syzbot was able to trigger:

WARNING: CPU: 3 PID: 6291 at net/ipv6/route.c:6342 inet6\_rt\_notify+0x475/0x4b0 net/ipv6/route.c:6342
Modules linked in:
CPU: 3 UID: 0 PID: 6291 Comm: syz.0.77 Not tainted 6.16.0-rc7-syzkaller \#0 PREEMPT(full)
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
 RIP: 0010:inet6\_rt\_notify+0x475/0x4b0 net/ipv6/route.c:6342
Code: fc ff ff e8 6d 52 ea f7 e9 47 fc ff ff 48 8b 7c 24 08 4c 89 04 24 e8 5a 52 ea f7 4c 8b 04 24 e9 94 fd ff ff e8 9c fe 84 f7 90 \<0f\> 0b 90 e9 bd fd ff ff e8 6e 52 ea f7 e9 bb fb ff ff 48 89 df e8
RSP: 0018:ffffc900035cf1d8 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffffc900035cf540 RCX: ffffffff8a36e790
RDX: ffff88802f7e8000 RSI: ffffffff8a36e9d4 RDI: 0000000000000005
RBP: ffff88803c230f00 R08: 0000000000000005 R09: 00000000ffffffa6
R10: 00000000ffffffa6 R11: 0000000000000001 R12: 00000000ffffffa6
R13: 0000000000000900 R14: ffff888032ea4100 R15: 0000000000000000
FS:  00007fac7b89a6c0(0000) GS:ffff8880d6a20000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fac7b899f98 CR3: 0000000034b3f000 CR4: 0000000000352ef0
Call Trace:
 \<TASK\>
  ip6\_route\_mpath\_notify+0xde/0x280 net/ipv6/route.c:5356
  ip6\_route\_multipath\_add+0x1181/0x1bd0 net/ipv6/route.c:5536
  inet6\_rtm\_newroute+0xe4/0x1a0 net/ipv6/route.c:5647
  rtnetlink\_rcv\_msg+0x95e/0xe90 net/core/rtnetlink.c:6944
  netlink\_rcv\_skb+0x155/0x420 net/netlink/af\_netlink.c:2552
  netlink\_unicast\_kernel net/netlink/af\_netlink.c:1320 \[inline\]
  netlink\_unicast+0x58d/0x850 net/netlink/af\_netlink.c:1346
  netlink\_sendmsg+0x8d1/0xdd0 net/netlink/af\_netlink.c:1896
  sock\_sendmsg\_nosec net/socket.c:712 \[inline\]
  \_\_sock\_sendmsg net/socket.c:727 \[inline\]
  \_\_\_\_sys\_sendmsg+0xa95/0xc70 net/socket.c:2566
  \_\_\_sys\_sendmsg+0x134/0x1d0 net/socket.c:2620

## Affected and fixed versions

- Linux: \>= 169fd62799e8acabbfb4760799be11138ced949c, \< 0bdca3439a22c70eb8f404acd61bf7aca5d731b0; \>= 169fd62799e8acabbfb4760799be11138ced949c, \< ea2f921db7a483a526058c5b5b8162edd88dabe5 (cvelist)
- Linux: 6.16 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-38638.md
Affected: Linux >= 169fd62799e8acabbfb4760799be11138ced949c, < 0bdca3439a22c70eb8f404acd61bf7aca5d731b0; >= 169fd62799e8acabbfb4760799be11138ced949c, < ea2f921db7a483a526058c5b5b8162edd88dabe5; Linux 6.16
Fixed in: Linux 0bdca3439a22c70eb8f404acd61bf7aca5d731b0

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-38638 being exploited?

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

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

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

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

Linux \>= 169fd62799e8acabbfb4760799be11138ced949c, \< 0bdca3439a22c70eb8f404acd61bf7aca5d731b0; \>= 169fd62799e8acabbfb4760799be11138ced949c, \< ea2f921db7a483a526058c5b5b8162edd88dabe5; Linux 6.16.

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

Yes. Fixed in Linux 0bdca3439a22c70eb8f404acd61bf7aca5d731b0. No fix listed yet: follow the vendor advisory.

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

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/0bdca3439a22c70eb8f404acd61bf7aca5d731b0>
- patch: <https://git.kernel.org/stable/c/ea2f921db7a483a526058c5b5b8162edd88dabe5>

## 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-38638>

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