# CVE-2025-38032: mr: consolidate the ipmr\_can\_free\_table() checks.

> 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.24% (percentile 9, 2026-11-28)
- **Published:** 2025-06-18T09:33:19.542Z
- **Modified:** 2026-06-17T09:15:55.003Z

## Who should check

- Anyone running Linux \>= 50b94204446e1215af081fd713d7d566d9258e35, \< 1c518ae98302ab37786d5ba5d43e9ac6d6f894e3; \>= 50b94204446e1215af081fd713d7d566d9258e35, \< c46286fdd6aa1d0e33c245bcffe9ff2428a777bd
- Anyone running Linux 6.13

## Description

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

mr: consolidate the ipmr\_can\_free\_table() checks.

Guoyu Yin reported a splat in the ipmr netns cleanup path:

WARNING: CPU: 2 PID: 14564 at net/ipv4/ipmr.c:440 ipmr\_free\_table net/ipv4/ipmr.c:440 \[inline\]
WARNING: CPU: 2 PID: 14564 at net/ipv4/ipmr.c:440 ipmr\_rules\_exit+0x135/0x1c0 net/ipv4/ipmr.c:361
Modules linked in:
CPU: 2 UID: 0 PID: 14564 Comm: syz.4.838 Not tainted 6.14.0 \#1
Hardware name: QEMU Ubuntu 24.04 PC (i440FX + PIIX, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:ipmr\_free\_table net/ipv4/ipmr.c:440 \[inline\]
RIP: 0010:ipmr\_rules\_exit+0x135/0x1c0 net/ipv4/ipmr.c:361
Code: ff df 48 c1 ea 03 80 3c 02 00 75 7d 48 c7 83 60 05 00 00 00 00 00 00 5b 5d 41 5c 41 5d 41 5e e9 71 67 7f 00 e8 4c 2d 8a fd 90 \<0f\> 0b 90 eb 93 e8 41 2d 8a fd 0f b6 2d 80 54 ea 01 31 ff 89 ee e8
RSP: 0018:ffff888109547c58 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff888108c12dc0 RCX: ffffffff83e09868
RDX: ffff8881022b3300 RSI: ffffffff83e098d4 RDI: 0000000000000005
RBP: ffff888104288000 R08: 0000000000000000 R09: ffffed10211825c9
R10: 0000000000000001 R11: ffff88801816c4a0 R12: 0000000000000001
R13: ffff888108c13320 R14: ffff888108c12dc0 R15: fffffbfff0b74058
FS:  00007f84f39316c0(0000) GS:ffff88811b100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f84f3930f98 CR3: 0000000113b56000 CR4: 0000000000350ef0
Call Trace:
 \<TASK\>
 ipmr\_net\_exit\_batch+0x50/0x90 net/ipv4/ipmr.c:3160
 ops\_exit\_list+0x10c/0x160 net/core/net\_namespace.c:177
 setup\_net+0x47d/0x8e0 net/core/net\_namespace.c:394
 copy\_net\_ns+0x25d/0x410 net/core/net\_namespace.c:516
 create\_new\_namespaces+0x3f6/0xaf0 kernel/nsproxy.c:110
 unshare\_nsproxy\_namespaces+0xc3/0x180 kernel/nsproxy.c:228
 ksys\_unshare+0x78d/0x9a0 kernel/fork.c:3342
 \_\_do\_sys\_unshare kernel/fork.c:3413 \[inline\]
 \_\_se\_sys\_unshare kernel/fork.c:3411 \[inline\]
 \_\_x64\_sys\_unshare+0x31/0x40 kernel/fork.c:3411
 do\_syscall\_x64 arch/x86/entry/common.c:52 \[inline\]
 do\_syscall\_64+0xa6/0x1a0 arch/x86/entry/common.c:83
 entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f
RIP: 0033:0x7f84f532cc29
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 \<48\> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f84f3931038 EFLAGS: 00000246 ORIG\_RAX: 0000000000000110
RAX: ffffffffffffffda RBX: 00007f84f5615fa0 RCX: 00007f84f532cc29
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000400
RBP: 00007f84f53fba18 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f84f5615fa0 R15: 00007fff51c5f328
 \</TASK\>

The running kernel has CONFIG\_IP\_MROUTE\_MULTIPLE\_TABLES disabled, and
the sanity check for such build is still too loose.

Address the issue consolidating the relevant sanity check in a single
helper regardless of the kernel configuration. Also share it between
the ipv4 and ipv6 code.

## Affected and fixed versions

- Linux: \>= 50b94204446e1215af081fd713d7d566d9258e35, \< 1c518ae98302ab37786d5ba5d43e9ac6d6f894e3; \>= 50b94204446e1215af081fd713d7d566d9258e35, \< c46286fdd6aa1d0e33c245bcffe9ff2428a777bd (cvelist)
- Linux: 6.13 (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-38032. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38032.md
Affected: Linux >= 50b94204446e1215af081fd713d7d566d9258e35, < 1c518ae98302ab37786d5ba5d43e9ac6d6f894e3; >= 50b94204446e1215af081fd713d7d566d9258e35, < c46286fdd6aa1d0e33c245bcffe9ff2428a777bd; Linux 6.13
Fixed in: Linux 1c518ae98302ab37786d5ba5d43e9ac6d6f894e3

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

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

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

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

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

Linux \>= 50b94204446e1215af081fd713d7d566d9258e35, \< 1c518ae98302ab37786d5ba5d43e9ac6d6f894e3; \>= 50b94204446e1215af081fd713d7d566d9258e35, \< c46286fdd6aa1d0e33c245bcffe9ff2428a777bd; Linux 6.13.

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

Yes. Fixed in Linux 1c518ae98302ab37786d5ba5d43e9ac6d6f894e3. No fix listed yet: follow the vendor advisory.

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

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/1c518ae98302ab37786d5ba5d43e9ac6d6f894e3>
- patch: <https://git.kernel.org/stable/c/c46286fdd6aa1d0e33c245bcffe9ff2428a777bd>

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

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