# CVE-2024-26852: net/ipv6: avoid possible UAF in ip6\_route\_mpath\_notify()

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.35% (percentile 21, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2024-04-17T10:17:15.923Z
- **Modified:** 2026-10-15T01:17:25.643Z

## Who should check

- Anyone running Linux \>= 3b1137fe74829e021f483756a648cbb87c8a1b4a, \< 31ea5bcc7d4cd1423de6be327a2c034725704136; \>= 3b1137fe74829e021f483756a648cbb87c8a1b4a, \< 664f9c647260cc9d68b4e31d9899530d89dd045e; \>= 3b1137fe74829e021f483756a648cbb87c8a1b4a, \< 79ce2e54cc0ae366f45516c00bf1b19aa43e9abe; \>= 3b1137fe74829e021f483756a648cbb87c8a1b4a, \< cae3303257950d03ffec2df4a45e836f10d26c24; \>= 3b1137fe74829e021f483756a648cbb87c8a1b4a, \< 394334fe2ae3b9f1e2332b873857e84cb28aac18; \>= 3b1137fe74829e021f483756a648cbb87c8a1b4a, \< ed883060c38721ed828061f6c0c30e5147326c9a; \>= 3b1137fe74829e021f483756a648cbb87c8a1b4a, \< 61b34f73cdbdb8eaf9ea12e9e2eb3b29716c4dda; \>= 3b1137fe74829e021f483756a648cbb87c8a1b4a, \< 685f7d531264599b3f167f1e94bbd22f120e5fab
- Anyone running Linux 4.11

## Description

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

net/ipv6: avoid possible UAF in ip6\_route\_mpath\_notify()

syzbot found another use-after-free in ip6\_route\_mpath\_notify() \[1\]

Commit f7225172f25a ("net/ipv6: prevent use after free in
ip6\_route\_mpath\_notify") was not able to fix the root cause.

We need to defer the fib6\_info\_release() calls after
ip6\_route\_mpath\_notify(), in the cleanup phase.

\[1\]
BUG: KASAN: slab-use-after-free in rt6\_fill\_node+0x1460/0x1ac0
Read of size 4 at addr ffff88809a07fc64 by task syz-executor.2/23037

CPU: 0 PID: 23037 Comm: syz-executor.2 Not tainted 6.8.0-rc4-syzkaller-01035-gea7f3cfaa588 \#0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
Call Trace:
 \<TASK\>
  \_\_dump\_stack lib/dump\_stack.c:88 \[inline\]
  dump\_stack\_lvl+0x1e7/0x2e0 lib/dump\_stack.c:106
  print\_address\_description mm/kasan/report.c:377 \[inline\]
  print\_report+0x167/0x540 mm/kasan/report.c:488
  kasan\_report+0x142/0x180 mm/kasan/report.c:601
 rt6\_fill\_node+0x1460/0x1ac0
  inet6\_rt\_notify+0x13b/0x290 net/ipv6/route.c:6184
  ip6\_route\_mpath\_notify net/ipv6/route.c:5198 \[inline\]
  ip6\_route\_multipath\_add net/ipv6/route.c:5404 \[inline\]
  inet6\_rtm\_newroute+0x1d0f/0x2300 net/ipv6/route.c:5517
  rtnetlink\_rcv\_msg+0x885/0x1040 net/core/rtnetlink.c:6597
  netlink\_rcv\_skb+0x1e3/0x430 net/netlink/af\_netlink.c:2543
  netlink\_unicast\_kernel net/netlink/af\_netlink.c:1341 \[inline\]
  netlink\_unicast+0x7ea/0x980 net/netlink/af\_netlink.c:1367
  netlink\_sendmsg+0xa3b/0xd70 net/netlink/af\_netlink.c:1908
  sock\_sendmsg\_nosec net/socket.c:730 \[inline\]
  \_\_sock\_sendmsg+0x221/0x270 net/socket.c:745
  \_\_\_\_sys\_sendmsg+0x525/0x7d0 net/socket.c:2584
  \_\_\_sys\_sendmsg net/socket.c:2638 \[inline\]
  \_\_sys\_sendmsg+0x2b0/0x3a0 net/socket.c:2667
 do\_syscall\_64+0xf9/0x240
 entry\_SYSCALL\_64\_after\_hwframe+0x6f/0x77
RIP: 0033:0x7f73dd87dda9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f73de6550c8 EFLAGS: 00000246 ORIG\_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f73dd9ac050 RCX: 00007f73dd87dda9
RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000000000005
RBP: 00007f73dd8ca47a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f73dd9ac050 R15: 00007ffdbdeb7858
 \</TASK\>

Allocated by task 23037:
  kasan\_save\_stack mm/kasan/common.c:47 \[inline\]
  kasan\_save\_track+0x3f/0x80 mm/kasan/common.c:68
  poison\_kmalloc\_redzone mm/kasan/common.c:372 \[inline\]
  \_\_kasan\_kmalloc+0x98/0xb0 mm/kasan/common.c:389
  kasan\_kmalloc include/linux/kasan.h:211 \[inline\]
  \_\_do\_kmalloc\_node mm/slub.c:3981 \[inline\]
  \_\_kmalloc+0x22e/0x490 mm/slub.c:3994
  kmalloc include/linux/slab.h:594 \[inline\]
  kzalloc include/linux/slab.h:711 \[inline\]
  fib6\_info\_alloc+0x2e/0xf0 net/ipv6/ip6\_fib.c:155
  ip6\_route\_info\_create+0x445/0x12b0 net/ipv6/route.c:3758
  ip6\_route\_multipath\_add net/ipv6/route.c:5298 \[inline\]
  inet6\_rtm\_newroute+0x744/0x2300 net/ipv6/route.c:5517
  rtnetlink\_rcv\_msg+0x885/0x1040 net/core/rtnetlink.c:6597
  netlink\_rcv\_skb+0x1e3/0x430 net/netlink/af\_netlink.c:2543
  netlink\_unicast\_kernel net/netlink/af\_netlink.c:1341 \[inline\]
  netlink\_unicast+0x7ea/0x980 net/netlink/af\_netlink.c:1367
  netlink\_sendmsg+0xa3b/0xd70 net/netlink/af\_netlink.c:1908
  sock\_sendmsg\_nosec net/socket.c:730 \[inline\]
  \_\_sock\_sendmsg+0x221/0x270 net/socket.c:745
  \_\_\_\_sys\_sendmsg+0x525/0x7d0 net/socket.c:2584
  \_\_\_sys\_sendmsg net/socket.c:2638 \[inline\]
  \_\_sys\_sendmsg+0x2b0/0x3a0 net/socket.c:2667
 do\_syscall\_64+0xf9/0x240
 entry\_SYSCALL\_64\_after\_hwframe+0x6f/0x77

Freed by task 16:
  kasan\_save\_stack mm/kasan/common.c:47 \[inline\]
  kasan\_save\_track+0x3f/0x80 mm/kasan/common.c:68
  kasan\_save\_free\_info+0x4e/0x60 mm/kasan/generic.c:640
  poison\_slab\_object+0xa6/0xe0 m
---truncated---

## Affected and fixed versions

- Linux: \>= 3b1137fe74829e021f483756a648cbb87c8a1b4a, \< 31ea5bcc7d4cd1423de6be327a2c034725704136; \>= 3b1137fe74829e021f483756a648cbb87c8a1b4a, \< 664f9c647260cc9d68b4e31d9899530d89dd045e; \>= 3b1137fe74829e021f483756a648cbb87c8a1b4a, \< 79ce2e54cc0ae366f45516c00bf1b19aa43e9abe; \>= 3b1137fe74829e021f483756a648cbb87c8a1b4a, \< cae3303257950d03ffec2df4a45e836f10d26c24; \>= 3b1137fe74829e021f483756a648cbb87c8a1b4a, \< 394334fe2ae3b9f1e2332b873857e84cb28aac18; \>= 3b1137fe74829e021f483756a648cbb87c8a1b4a, \< ed883060c38721ed828061f6c0c30e5147326c9a; \>= 3b1137fe74829e021f483756a648cbb87c8a1b4a, \< 61b34f73cdbdb8eaf9ea12e9e2eb3b29716c4dda; \>= 3b1137fe74829e021f483756a648cbb87c8a1b4a, \< 685f7d531264599b3f167f1e94bbd22f120e5fab (cvelist)
- Linux: 4.11 (cvelist)

## Mitigation

- Upgrade Linux to 685f7d531264599b3f167f1e94bbd22f120e5fab or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-26852.md
Affected: Linux >= 3b1137fe74829e021f483756a648cbb87c8a1b4a, < 31ea5bcc7d4cd1423de6be327a2c034725704136; >= 3b1137fe74829e021f483756a648cbb87c8a1b4a, < 664f9c647260cc9d68b4e31d9899530d89dd045e; >= 3b1137fe74829e021f483756a648cbb87c8a1b4a, < 79ce2e54cc0ae366f45516c00bf1b19aa43e9abe; >= 3b1137fe74829e021f48375…
Fixed in: Linux 31ea5bcc7d4cd1423de6be327a2c034725704136, Linux 664f9c647260cc9d68b4e31d9899530d89dd045e, Linux 79ce2e54cc0ae366f45516c00bf1b19aa43e9abe, Linux 394334fe2ae3b9f1e2332b873857e84cb28aac18, Linux 61b34f73cdbdb8eaf9ea12e9e2eb3b29716c4dda, Linux 685f7d531264599b3f167f1e94bbd22f120e5fab

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-2024-26852 being exploited?

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

### How serious is CVE-2024-26852?

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

### Which versions are affected by CVE-2024-26852?

Linux \>= 3b1137fe74829e021f483756a648cbb87c8a1b4a, \< 31ea5bcc7d4cd1423de6be327a2c034725704136; \>= 3b1137fe74829e021f483756a648cbb87c8a1b4a, \< 664f9c647260cc9d68b4e31d9899530d89dd045e; \>= 3b1137fe74829e021f483756a648cbb87c8a1b4a, \< 79ce2e54cc0ae366f45516c00bf1b19aa43e9abe; \>= 3b1137fe74829e021f483756a648cbb87c8a1b4a, \< cae3303257950d03ffec2df4a45e836f10d26c24; \>= 3b1137fe74829e021f483756a648cbb87c8a1b4a, \< 394334fe2ae3b9f1e2332b873857e84cb28aac18; \>= 3b1137fe74829e021f483756a648cbb87c8a1b4a, \< ed883060c38721ed828061f6c0c30e5147326c9a; \>= 3b1137fe74829e021f483756a648cbb87c8a1b4a, \< 61b34f73cdbdb8eaf9ea12e9e2eb3b29716c4dda; \>= 3b1137fe74829e021f483756a648cbb87c8a1b4a, \< 685f7d531264599b3f167f1e94bbd22f120e5fab; Linux 4.11.

### Is there a fix for CVE-2024-26852?

Yes. Fixed in Linux 31ea5bcc7d4cd1423de6be327a2c034725704136, Linux 664f9c647260cc9d68b4e31d9899530d89dd045e, Linux 79ce2e54cc0ae366f45516c00bf1b19aa43e9abe, Linux 394334fe2ae3b9f1e2332b873857e84cb28aac18, Linux 61b34f73cdbdb8eaf9ea12e9e2eb3b29716c4dda, Linux 685f7d531264599b3f167f1e94bbd22f120e5fab. Upgrade Linux to 685f7d531264599b3f167f1e94bbd22f120e5fab or later.

### How do I check if I'm affected by CVE-2024-26852?

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/31ea5bcc7d4cd1423de6be327a2c034725704136>
- patch: <https://git.kernel.org/stable/c/664f9c647260cc9d68b4e31d9899530d89dd045e>
- patch: <https://git.kernel.org/stable/c/79ce2e54cc0ae366f45516c00bf1b19aa43e9abe>
- patch: <https://git.kernel.org/stable/c/cae3303257950d03ffec2df4a45e836f10d26c24>
- patch: <https://git.kernel.org/stable/c/394334fe2ae3b9f1e2332b873857e84cb28aac18>
- patch: <https://git.kernel.org/stable/c/ed883060c38721ed828061f6c0c30e5147326c9a>
- patch: <https://git.kernel.org/stable/c/61b34f73cdbdb8eaf9ea12e9e2eb3b29716c4dda>
- patch: <https://git.kernel.org/stable/c/685f7d531264599b3f167f1e94bbd22f120e5fab>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.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-2024-26852>

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