CVE-2026-89561
ipv6: rpl: fix NULL dereference of idev in ipv6_rpl_srh_rcv()
Reported by linux · Published September 11, 2026
In the Linux kernel, the following vulnerability has been resolved: ipv6: rpl: fix NULL dereference of idev in ipv6_rpl_srh_rcv() ipv6_rpl_srh_rcv() dereferences idev from __in6_dev_get() without a NULL check when reading idev->cnf.rpl_seg_enabled. When the device's MTU drops below IPV6_MIN_MTU, addrconf_ifdown() clears dev->ip6_ptr through RCU_INIT_POINTER(). A packet that passed the idev check in ip6_rcv_core() can then reach ipv6_rpl_srh_rcv() with dev->ip6_ptr already NULL. Reproduced by flooding the receiving interface with ping6 traffic while flapping its MTU between 1500 and 1200: BUG: KASAN: null-ptr-deref in ipv6_rpl_srh_rcv+0xb3/0x1070 Read of size 4 at addr 00000000000006b4 by task ping6/394 CPU: 2 UID: 0 PID: 394 Comm: ping6 Not tainted 7.2.0-rc7-micro-vm-dev-00095-g24ef02f934ee #240 PREEMPT(full) Call Trace: <IRQ> kasan_report+0xc6/0x100 ipv6_rpl_srh_rcv+0xb3/0x1070 ip6_protocol_deliver_rcu+0x759/0x9a0 ip6_input_finish+0xa8/0x1b0 ip6_input+0xe1/0x490 ipv6_rcv+0x33d/0x460 __netif_receive_skb_one_core+0xd6/0x130 process_backlog+0x2cc/0xa00 __napi_poll.constprop.0+0x56/0x270 net_rx_action+0x327/0x730 handle_softirqs+0x11e/0x630 do_softirq+0xb3/0xf0 </IRQ> Both ipv6_rpl_srh_rcv() and ipv6_srh_rcv() are called only from ipv6_rthdr_rcv(), which already has an idev lookup. Fix the NULL dereference on the RPL path by checking idev in ipv6_rthdr_rcv(), before it calls either function. The callees take idev as an argument and no longer call __in6_dev_get(), so the packet is now dropped in one place, with SKB_DROP_REASON_IPV6DISABLED on both paths.
EPSS 0.48% · 42.3th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python3-perf6.12 | Amazon Linux | 1:6.12.111-136.204.amzn2023 |
| kernel6.18-devel | Amazon Linux | 1:6.18.51-120.162.amzn2023 |
| kernel6.18-tools | Amazon Linux | 1:6.18.51-120.162.amzn2023 |
| kernel6.12-tools-devel | Amazon Linux | 1:6.12.111-136.204.amzn2023 |
| perf6.18 | Amazon Linux | 1:6.18.51-120.162.amzn2023 |
| kernel6.12-devel | Amazon Linux | 1:6.12.111-136.204.amzn2023 |
| kernel6.18-modules-extra | Amazon Linux | 1:6.18.51-120.162.amzn2023 |
| kernel6.12-modules-extra-common | Amazon Linux | 1:6.12.111-136.204.amzn2023 |
| kernel-livepatch-6.12.111-136.204 | Amazon Linux | 1:1.0-0.amzn2023 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 8610c7c6e3bd647ff98d21c8bc0580e77bc2f8b3, 8610c7c6e3bd647ff98d21c8bc0580e77bc2f8b3, 8610c7c6e3bd647ff98d21c8bc0580e77bc2f8b3 |
| Linux | Linux | 5.7, 0, 6.1.191 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel-livepatch-6.12.111-136.204 | 0 |
| linux | linux_kernel | 5.7, 5.7, 5.7 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| Linux | Linux | 7.3, 8610c7c6e3bd647ff98d21c8bc0580e77bc2f8b3, 8610c7c6e3bd647ff98d21c8bc0580e77bc2f8b3 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel-livepatch-6.18.51-120.162 | 0 |
| amazon:2023 | perf6.12 | 0 |
…and 7 more
Timeline
- Sep 11, 2026 CVE Published
- Sep 12, 2026 EPSS Score (27 in total, the first dated here)
- Sep 12, 2026 Coalition ESS Score
- Oct 30, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-89561
vulnetix vdb fixes CVE-2026-89561
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-89561/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart