# CVE-2024-44987: ipv6: prevent UAF in ip6\_send\_skb()

> 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.37% (percentile 23, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2024-09-04T19:54:35.510Z
- **Modified:** 2026-10-15T01:18:50.673Z

## Who should check

- Anyone running Linux \>= 0625491493d9000e4556bf566d205c28c8e7dc4e, \< 571567e0277008459750f0728f246086b2659429; \>= 0625491493d9000e4556bf566d205c28c8e7dc4e, \< ce2f6cfab2c637d0bd9762104023a15d0ab7c0a8; \>= 0625491493d9000e4556bf566d205c28c8e7dc4e, \< cb5880a0de12c7f618d2bdd84e2d985f1e06ed7e; \>= 0625491493d9000e4556bf566d205c28c8e7dc4e, \< 24e93695b1239fbe4c31e224372be77f82dab69a; \>= 0625491493d9000e4556bf566d205c28c8e7dc4e, \< 9a3e55afa95ed4ac9eda112d4f918af645d72f25; \>= 0625491493d9000e4556bf566d205c28c8e7dc4e, \< af1dde074ee2ed7dd5bdca4e7e8ba17f44e7b011; \>= 0625491493d9000e4556bf566d205c28c8e7dc4e, \< e44bd76dd072756e674f45c5be00153f4ded68b2; \>= 0625491493d9000e4556bf566d205c28c8e7dc4e, \< faa389b2fbaaec7fd27a390b4896139f9da662e3
- Anyone running Linux 2.6.32

## Description

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

ipv6: prevent UAF in ip6\_send\_skb()

syzbot reported an UAF in ip6\_send\_skb() \[1\]

After ip6\_local\_out() has returned, we no longer can safely
dereference rt, unless we hold rcu\_read\_lock().

A similar issue has been fixed in commit
a688caa34beb ("ipv6: take rcu lock in rawv6\_send\_hdrinc()")

Another potential issue in ip6\_finish\_output2() is handled in a
separate patch.

\[1\]
 BUG: KASAN: slab-use-after-free in ip6\_send\_skb+0x18d/0x230 net/ipv6/ip6\_output.c:1964
Read of size 8 at addr ffff88806dde4858 by task syz.1.380/6530

CPU: 1 UID: 0 PID: 6530 Comm: syz.1.380 Not tainted 6.11.0-rc3-syzkaller-00306-gdf6cbc62cc9b \#0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Call Trace:
 \<TASK\>
  \_\_dump\_stack lib/dump\_stack.c:93 \[inline\]
  dump\_stack\_lvl+0x241/0x360 lib/dump\_stack.c:119
  print\_address\_description mm/kasan/report.c:377 \[inline\]
  print\_report+0x169/0x550 mm/kasan/report.c:488
  kasan\_report+0x143/0x180 mm/kasan/report.c:601
  ip6\_send\_skb+0x18d/0x230 net/ipv6/ip6\_output.c:1964
  rawv6\_push\_pending\_frames+0x75c/0x9e0 net/ipv6/raw.c:588
  rawv6\_sendmsg+0x19c7/0x23c0 net/ipv6/raw.c:926
  sock\_sendmsg\_nosec net/socket.c:730 \[inline\]
  \_\_sock\_sendmsg+0x1a6/0x270 net/socket.c:745
  sock\_write\_iter+0x2dd/0x400 net/socket.c:1160
 do\_iter\_readv\_writev+0x60a/0x890
  vfs\_writev+0x37c/0xbb0 fs/read\_write.c:971
  do\_writev+0x1b1/0x350 fs/read\_write.c:1018
  do\_syscall\_x64 arch/x86/entry/common.c:52 \[inline\]
  do\_syscall\_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f
RIP: 0033:0x7f936bf79e79
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:00007f936cd7f038 EFLAGS: 00000246 ORIG\_RAX: 0000000000000014
RAX: ffffffffffffffda RBX: 00007f936c115f80 RCX: 00007f936bf79e79
RDX: 0000000000000001 RSI: 0000000020000040 RDI: 0000000000000004
RBP: 00007f936bfe7916 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f936c115f80 R15: 00007fff2860a7a8
 \</TASK\>

Allocated by task 6530:
  kasan\_save\_stack mm/kasan/common.c:47 \[inline\]
  kasan\_save\_track+0x3f/0x80 mm/kasan/common.c:68
  unpoison\_slab\_object mm/kasan/common.c:312 \[inline\]
  \_\_kasan\_slab\_alloc+0x66/0x80 mm/kasan/common.c:338
  kasan\_slab\_alloc include/linux/kasan.h:201 \[inline\]
  slab\_post\_alloc\_hook mm/slub.c:3988 \[inline\]
  slab\_alloc\_node mm/slub.c:4037 \[inline\]
  kmem\_cache\_alloc\_noprof+0x135/0x2a0 mm/slub.c:4044
  dst\_alloc+0x12b/0x190 net/core/dst.c:89
  ip6\_blackhole\_route+0x59/0x340 net/ipv6/route.c:2670
  make\_blackhole net/xfrm/xfrm\_policy.c:3120 \[inline\]
  xfrm\_lookup\_route+0xd1/0x1c0 net/xfrm/xfrm\_policy.c:3313
  ip6\_dst\_lookup\_flow+0x13e/0x180 net/ipv6/ip6\_output.c:1257
  rawv6\_sendmsg+0x1283/0x23c0 net/ipv6/raw.c:898
  sock\_sendmsg\_nosec net/socket.c:730 \[inline\]
  \_\_sock\_sendmsg+0x1a6/0x270 net/socket.c:745
  \_\_\_\_sys\_sendmsg+0x525/0x7d0 net/socket.c:2597
  \_\_\_sys\_sendmsg net/socket.c:2651 \[inline\]
  \_\_sys\_sendmsg+0x2b0/0x3a0 net/socket.c:2680
  do\_syscall\_x64 arch/x86/entry/common.c:52 \[inline\]
  do\_syscall\_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f

Freed by task 45:
  kasan\_save\_stack mm/kasan/common.c:47 \[inline\]
  kasan\_save\_track+0x3f/0x80 mm/kasan/common.c:68
  kasan\_save\_free\_info+0x40/0x50 mm/kasan/generic.c:579
  poison\_slab\_object+0xe0/0x150 mm/kasan/common.c:240
  \_\_kasan\_slab\_free+0x37/0x60 mm/kasan/common.c:256
  kasan\_slab\_free include/linux/kasan.h:184 \[inline\]
  slab\_free\_hook mm/slub.c:2252 \[inline\]
  slab\_free mm/slub.c:4473 \[inline\]
  kmem\_cache\_free+0x145/0x350 mm/slub.c:4548
  dst\_destroy+0x2ac/0x460 net/core/dst.c:124
  rcu\_do\_batch kernel/rcu/tree.c:2569 \[inline\]
  rcu\_core+0xafd/0x1830 kernel/rcu/tree.
---truncated---

## Affected and fixed versions

- Linux: \>= 0625491493d9000e4556bf566d205c28c8e7dc4e, \< 571567e0277008459750f0728f246086b2659429; \>= 0625491493d9000e4556bf566d205c28c8e7dc4e, \< ce2f6cfab2c637d0bd9762104023a15d0ab7c0a8; \>= 0625491493d9000e4556bf566d205c28c8e7dc4e, \< cb5880a0de12c7f618d2bdd84e2d985f1e06ed7e; \>= 0625491493d9000e4556bf566d205c28c8e7dc4e, \< 24e93695b1239fbe4c31e224372be77f82dab69a; \>= 0625491493d9000e4556bf566d205c28c8e7dc4e, \< 9a3e55afa95ed4ac9eda112d4f918af645d72f25; \>= 0625491493d9000e4556bf566d205c28c8e7dc4e, \< af1dde074ee2ed7dd5bdca4e7e8ba17f44e7b011; \>= 0625491493d9000e4556bf566d205c28c8e7dc4e, \< e44bd76dd072756e674f45c5be00153f4ded68b2; \>= 0625491493d9000e4556bf566d205c28c8e7dc4e, \< faa389b2fbaaec7fd27a390b4896139f9da662e3 (cvelist)
- Linux: 2.6.32 (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-2024-44987. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-44987.md
Affected: Linux >= 0625491493d9000e4556bf566d205c28c8e7dc4e, < 571567e0277008459750f0728f246086b2659429; >= 0625491493d9000e4556bf566d205c28c8e7dc4e, < ce2f6cfab2c637d0bd9762104023a15d0ab7c0a8; >= 0625491493d9000e4556bf566d205c28c8e7dc4e, < cb5880a0de12c7f618d2bdd84e2d985f1e06ed7e; >= 0625491493d9000e4556bf5…
Fixed in: Linux 571567e0277008459750f0728f246086b2659429, Linux 24e93695b1239fbe4c31e224372be77f82dab69a, Linux 9a3e55afa95ed4ac9eda112d4f918af645d72f25

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

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

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

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

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

Linux \>= 0625491493d9000e4556bf566d205c28c8e7dc4e, \< 571567e0277008459750f0728f246086b2659429; \>= 0625491493d9000e4556bf566d205c28c8e7dc4e, \< ce2f6cfab2c637d0bd9762104023a15d0ab7c0a8; \>= 0625491493d9000e4556bf566d205c28c8e7dc4e, \< cb5880a0de12c7f618d2bdd84e2d985f1e06ed7e; \>= 0625491493d9000e4556bf566d205c28c8e7dc4e, \< 24e93695b1239fbe4c31e224372be77f82dab69a; \>= 0625491493d9000e4556bf566d205c28c8e7dc4e, \< 9a3e55afa95ed4ac9eda112d4f918af645d72f25; \>= 0625491493d9000e4556bf566d205c28c8e7dc4e, \< af1dde074ee2ed7dd5bdca4e7e8ba17f44e7b011; \>= 0625491493d9000e4556bf566d205c28c8e7dc4e, \< e44bd76dd072756e674f45c5be00153f4ded68b2; \>= 0625491493d9000e4556bf566d205c28c8e7dc4e, \< faa389b2fbaaec7fd27a390b4896139f9da662e3; Linux 2.6.32.

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

Yes. Fixed in Linux 571567e0277008459750f0728f246086b2659429, Linux 24e93695b1239fbe4c31e224372be77f82dab69a, Linux 9a3e55afa95ed4ac9eda112d4f918af645d72f25. No fix listed yet: follow the vendor advisory.

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

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/571567e0277008459750f0728f246086b2659429>
- patch: <https://git.kernel.org/stable/c/ce2f6cfab2c637d0bd9762104023a15d0ab7c0a8>
- patch: <https://git.kernel.org/stable/c/cb5880a0de12c7f618d2bdd84e2d985f1e06ed7e>
- patch: <https://git.kernel.org/stable/c/24e93695b1239fbe4c31e224372be77f82dab69a>
- patch: <https://git.kernel.org/stable/c/9a3e55afa95ed4ac9eda112d4f918af645d72f25>
- patch: <https://git.kernel.org/stable/c/af1dde074ee2ed7dd5bdca4e7e8ba17f44e7b011>
- patch: <https://git.kernel.org/stable/c/e44bd76dd072756e674f45c5be00153f4ded68b2>
- patch: <https://git.kernel.org/stable/c/faa389b2fbaaec7fd27a390b4896139f9da662e3>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- other: <https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-355557.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-613116.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-44987>

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