# CVE-2024-56646: ipv6: avoid possible NULL deref in modify\_prefix\_route()

> 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 15, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-12-27T15:02:47.265Z
- **Modified:** 2026-06-17T08:12:38.100Z

## Who should check

- Anyone running Linux \>= bd12abe294c7738421bdfbc486f1909d02db30e9, \< 90f7d995b861fd77ae4885cc58e26a6a4e5ccdb9; \>= 5eb902b8e7193cdcb33242af0a56502e6b5206e9, \< 01f95357e47219a9c4b29e177b717edbfab721b4; \>= 5eb902b8e7193cdcb33242af0a56502e6b5206e9, \< a747e02430dfb3657141f99aa6b09331283fa493
- Anyone running Linux 6.9

## Description

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

ipv6: avoid possible NULL deref in modify\_prefix\_route()

syzbot found a NULL deref \[1\] in modify\_prefix\_route(), caused by one
fib6\_info without a fib6\_table pointer set.

This can happen for net-\>ipv6.fib6\_null\_entry

\[1\]
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000006: 0000 \[\#1\] PREEMPT SMP KASAN NOPTI
KASAN: null-ptr-deref in range \[0x0000000000000030-0x0000000000000037\]
CPU: 1 UID: 0 PID: 5837 Comm: syz-executor888 Not tainted 6.12.0-syzkaller-09567-g7eef7e306d3c \#0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
 RIP: 0010:\_\_lock\_acquire+0xe4/0x3c40 kernel/locking/lockdep.c:5089
Code: 08 84 d2 0f 85 15 14 00 00 44 8b 0d ca 98 f5 0e 45 85 c9 0f 84 b4 0e 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 \<80\> 3c 02 00 0f 85 96 2c 00 00 49 8b 04 24 48 3d a0 07 7f 93 0f 84
RSP: 0018:ffffc900035d7268 EFLAGS: 00010006
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000006 RSI: 1ffff920006bae5f RDI: 0000000000000030
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001
R10: ffffffff90608e17 R11: 0000000000000001 R12: 0000000000000030
R13: ffff888036334880 R14: 0000000000000000 R15: 0000000000000000
FS:  0000555579e90380(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffc59cc4278 CR3: 0000000072b54000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 \<TASK\>
  lock\_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5849
  \_\_raw\_spin\_lock\_bh include/linux/spinlock\_api\_smp.h:126 \[inline\]
  \_raw\_spin\_lock\_bh+0x33/0x40 kernel/locking/spinlock.c:178
  spin\_lock\_bh include/linux/spinlock.h:356 \[inline\]
  modify\_prefix\_route+0x30b/0x8b0 net/ipv6/addrconf.c:4831
  inet6\_addr\_modify net/ipv6/addrconf.c:4923 \[inline\]
  inet6\_rtm\_newaddr+0x12c7/0x1ab0 net/ipv6/addrconf.c:5055
  rtnetlink\_rcv\_msg+0x3c7/0xea0 net/core/rtnetlink.c:6920
  netlink\_rcv\_skb+0x16b/0x440 net/netlink/af\_netlink.c:2541
  netlink\_unicast\_kernel net/netlink/af\_netlink.c:1321 \[inline\]
  netlink\_unicast+0x53c/0x7f0 net/netlink/af\_netlink.c:1347
  netlink\_sendmsg+0x8b8/0xd70 net/netlink/af\_netlink.c:1891
  sock\_sendmsg\_nosec net/socket.c:711 \[inline\]
  \_\_sock\_sendmsg net/socket.c:726 \[inline\]
  \_\_\_\_sys\_sendmsg+0xaaf/0xc90 net/socket.c:2583
  \_\_\_sys\_sendmsg+0x135/0x1e0 net/socket.c:2637
  \_\_sys\_sendmsg+0x16e/0x220 net/socket.c:2669
  do\_syscall\_x64 arch/x86/entry/common.c:52 \[inline\]
  do\_syscall\_64+0xcd/0x250 arch/x86/entry/common.c:83
 entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f
RIP: 0033:0x7fd1dcef8b79
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 c1 17 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc59cc4378 EFLAGS: 00000246 ORIG\_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fd1dcef8b79
RDX: 0000000000040040 RSI: 0000000020000140 RDI: 0000000000000004
RBP: 00000000000113fd R08: 0000000000000006 R09: 0000000000000006
R10: 0000000000000006 R11: 0000000000000246 R12: 00007ffc59cc438c
R13: 431bde82d7b634db R14: 0000000000000001 R15: 0000000000000001
 \</TASK\>

## Affected and fixed versions

- Linux: \>= bd12abe294c7738421bdfbc486f1909d02db30e9, \< 90f7d995b861fd77ae4885cc58e26a6a4e5ccdb9; \>= 5eb902b8e7193cdcb33242af0a56502e6b5206e9, \< 01f95357e47219a9c4b29e177b717edbfab721b4; \>= 5eb902b8e7193cdcb33242af0a56502e6b5206e9, \< a747e02430dfb3657141f99aa6b09331283fa493 (cvelist)
- Linux: 6.9 (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-56646. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-56646.md
Affected: Linux >= bd12abe294c7738421bdfbc486f1909d02db30e9, < 90f7d995b861fd77ae4885cc58e26a6a4e5ccdb9; >= 5eb902b8e7193cdcb33242af0a56502e6b5206e9, < 01f95357e47219a9c4b29e177b717edbfab721b4; >= 5eb902b8e7193cdcb33242af0a56502e6b5206e9, < a747e02430dfb3657141f99aa6b09331283fa493; Linux 6.9
Fixed in: Linux 90f7d995b861fd77ae4885cc58e26a6a4e5ccdb9, Linux 01f95357e47219a9c4b29e177b717edbfab721b4

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

There is no confirmed exploitation: CVE-2024-56646 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-2024-56646?

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

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

Linux \>= bd12abe294c7738421bdfbc486f1909d02db30e9, \< 90f7d995b861fd77ae4885cc58e26a6a4e5ccdb9; \>= 5eb902b8e7193cdcb33242af0a56502e6b5206e9, \< 01f95357e47219a9c4b29e177b717edbfab721b4; \>= 5eb902b8e7193cdcb33242af0a56502e6b5206e9, \< a747e02430dfb3657141f99aa6b09331283fa493; Linux 6.9.

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

Yes. Fixed in Linux 90f7d995b861fd77ae4885cc58e26a6a4e5ccdb9, Linux 01f95357e47219a9c4b29e177b717edbfab721b4. No fix listed yet: follow the vendor advisory.

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

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/01f95357e47219a9c4b29e177b717edbfab721b4>
- patch: <https://git.kernel.org/stable/c/a747e02430dfb3657141f99aa6b09331283fa493>
- other: <https://git.kernel.org/stable/c/90f7d995b861fd77ae4885cc58e26a6a4e5ccdb9>

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

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