# CVE-2026-89561: ipv6: rpl: fix NULL dereference of idev in ipv6\_rpl\_srh\_rcv()

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

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; 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:** Remote, no login needed
- **EPSS:** 0.68% (percentile 48, 2026-11-28)
- **Published:** 2026-09-11T19:44:32.822Z
- **Modified:** 2026-10-30T13:20:21.740Z

## Who should check

- Anyone running Linux \>= 8610c7c6e3bd647ff98d21c8bc0580e77bc2f8b3, \< f5e89dfc0a815c6ed12791d8deb3b6f39dd0621e; \>= 8610c7c6e3bd647ff98d21c8bc0580e77bc2f8b3, \< 62b63a505c10e8db76017ef73c0b243e0dc5d288; \>= 8610c7c6e3bd647ff98d21c8bc0580e77bc2f8b3, \< e7123e10c86eb88eaa90537dd1f232706de2d308; \>= 8610c7c6e3bd647ff98d21c8bc0580e77bc2f8b3, \< 63f50e9f90d0287ad66a0955ebfc2d3a9c044a1c; \>= 8610c7c6e3bd647ff98d21c8bc0580e77bc2f8b3, \< eab3a917cdcb182542a3aac6a0d2d30659ca9821; \>= 8610c7c6e3bd647ff98d21c8bc0580e77bc2f8b3, \< f826df95332c07380206dbd54178b6eefb311aba
- Anyone running Linux 5.7

## Description

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.

## Affected and fixed versions

- Linux: \>= 8610c7c6e3bd647ff98d21c8bc0580e77bc2f8b3, \< f5e89dfc0a815c6ed12791d8deb3b6f39dd0621e; \>= 8610c7c6e3bd647ff98d21c8bc0580e77bc2f8b3, \< 62b63a505c10e8db76017ef73c0b243e0dc5d288; \>= 8610c7c6e3bd647ff98d21c8bc0580e77bc2f8b3, \< e7123e10c86eb88eaa90537dd1f232706de2d308; \>= 8610c7c6e3bd647ff98d21c8bc0580e77bc2f8b3, \< 63f50e9f90d0287ad66a0955ebfc2d3a9c044a1c; \>= 8610c7c6e3bd647ff98d21c8bc0580e77bc2f8b3, \< eab3a917cdcb182542a3aac6a0d2d30659ca9821; \>= 8610c7c6e3bd647ff98d21c8bc0580e77bc2f8b3, \< f826df95332c07380206dbd54178b6eefb311aba (cvelist)
- Linux: 5.7 (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-2026-89561. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89561.md
Affected: Linux >= 8610c7c6e3bd647ff98d21c8bc0580e77bc2f8b3, < f5e89dfc0a815c6ed12791d8deb3b6f39dd0621e; >= 8610c7c6e3bd647ff98d21c8bc0580e77bc2f8b3, < 62b63a505c10e8db76017ef73c0b243e0dc5d288; >= 8610c7c6e3bd647ff98d21c8bc0580e77bc2f8b3, < e7123e10c86eb88eaa90537dd1f232706de2d308; >= 8610c7c6e3bd647ff98d21c…
Fixed in: Linux 62b63a505c10e8db76017ef73c0b243e0dc5d288, Linux 63f50e9f90d0287ad66a0955ebfc2d3a9c044a1c

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-2026-89561 being exploited?

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

### How serious is CVE-2026-89561?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-89561?

Linux \>= 8610c7c6e3bd647ff98d21c8bc0580e77bc2f8b3, \< f5e89dfc0a815c6ed12791d8deb3b6f39dd0621e; \>= 8610c7c6e3bd647ff98d21c8bc0580e77bc2f8b3, \< 62b63a505c10e8db76017ef73c0b243e0dc5d288; \>= 8610c7c6e3bd647ff98d21c8bc0580e77bc2f8b3, \< e7123e10c86eb88eaa90537dd1f232706de2d308; \>= 8610c7c6e3bd647ff98d21c8bc0580e77bc2f8b3, \< 63f50e9f90d0287ad66a0955ebfc2d3a9c044a1c; \>= 8610c7c6e3bd647ff98d21c8bc0580e77bc2f8b3, \< eab3a917cdcb182542a3aac6a0d2d30659ca9821; \>= 8610c7c6e3bd647ff98d21c8bc0580e77bc2f8b3, \< f826df95332c07380206dbd54178b6eefb311aba; Linux 5.7.

### Is there a fix for CVE-2026-89561?

Yes. Fixed in Linux 62b63a505c10e8db76017ef73c0b243e0dc5d288, Linux 63f50e9f90d0287ad66a0955ebfc2d3a9c044a1c. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-89561?

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

- other: <https://git.kernel.org/stable/c/f5e89dfc0a815c6ed12791d8deb3b6f39dd0621e>
- other: <https://git.kernel.org/stable/c/62b63a505c10e8db76017ef73c0b243e0dc5d288>
- other: <https://git.kernel.org/stable/c/e7123e10c86eb88eaa90537dd1f232706de2d308>
- other: <https://git.kernel.org/stable/c/63f50e9f90d0287ad66a0955ebfc2d3a9c044a1c>
- other: <https://git.kernel.org/stable/c/eab3a917cdcb182542a3aac6a0d2d30659ca9821>
- other: <https://git.kernel.org/stable/c/f826df95332c07380206dbd54178b6eefb311aba>

## 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-2026-89561>

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