# CVE-2026-53259: ipv6: anycast: insert aca into global hash under idev-\>lock

> 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.17% (percentile 4, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2026-06-25T08:39:48.571Z
- **Modified:** 2026-08-05T12:34:37.940Z

## Who should check

- Anyone running Linux \>= eb1ac9ff6c4a5720b1a1476233be374c5dc44bff, \< 15be7e9fdbff831fb3e89b83cc337a4f85ad3310; \>= eb1ac9ff6c4a5720b1a1476233be374c5dc44bff, \< 3a967c498baa976b11d4800dda224c507416e97c; \>= eb1ac9ff6c4a5720b1a1476233be374c5dc44bff, \< f723ccaff2fb72b71ae8a9fd283f0dee4d9ae7a3
- Anyone running Linux 6.17

## Description

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

ipv6: anycast: insert aca into global hash under idev-\>lock

syzbot reported a splat \[1\]: a slab-use-after-free in
ipv6\_chk\_acast\_addr(), which walks the global inet6\_acaddr\_lst\[\] hash
under RCU and dereferences a struct ifacaddr6 that has already been
freed while still linked in the hash, so a later reader walks into a
dangling node.

In \_\_ipv6\_dev\_ac\_inc() the aca is allocated with refcount 1, then
aca\_get() bumps it to 2 to keep it alive across the unlocked region.
It is published to idev-\>ac\_list under idev-\>lock, but
ipv6\_add\_acaddr\_hash() runs after write\_unlock\_bh(). A concurrent
teardown (ipv6\_ac\_destroy\_dev() from addrconf\_ifdown(), under RTNL)
can slip into that window:

  CPU0 \_\_ipv6\_dev\_ac\_inc           CPU1 ipv6\_ac\_destroy\_dev (RTNL)
  ------------------------------   ------------------------------------
  aca\_alloc()              refcnt 1
  aca\_get()               refcnt 2
  write\_lock\_bh(idev-\>lock)
    add aca to ac\_list
  write\_unlock\_bh(idev-\>lock)
                                   write\_lock\_bh(idev-\>lock)
                                     pull aca off ac\_list
                                   write\_unlock\_bh(idev-\>lock)
                                   ipv6\_del\_acaddr\_hash(aca)
                                     hlist\_del\_init\_rcu() is a no-op,
                                     aca is not in the hash yet
                                   aca\_put()           refcnt 2-\>1
  ipv6\_add\_acaddr\_hash(aca)
    aca now inserted into the hash
  aca\_put()                refcnt 1-\>0
    call\_rcu(aca\_free\_rcu) -\> kfree(aca)

The hash removal becomes a no-op because the insertion has not
happened yet, so once CPU0 inserts and drops the last reference, the
aca is freed while still linked in inet6\_acaddr\_lst\[\], and readers
dereference freed memory after the slab slot is reused.

This window opened once RTNL stopped serializing the join path against
device teardown. Move ipv6\_add\_acaddr\_hash() inside the idev-\>lock
section so the ac\_list and hash insertions are atomic with respect to
teardown: a racing remover now either misses the aca entirely or finds
it in both lists.

acaddr\_hash\_lock is now nested under idev-\>lock, which is acquired in
softirq context, so switch all acaddr\_hash\_lock sites to spin\_lock\_bh()
to avoid the irq lock inversion reported in \[2\].

\[1\] https://syzkaller.appspot.com/bug?extid=a01df04303c131efbf3a
\[2\] https://lore.kernel.org/netdev/6a194ef7.ba3b1513.1890b4.0000.GAE@google.com/

## Affected and fixed versions

- Linux: \>= eb1ac9ff6c4a5720b1a1476233be374c5dc44bff, \< 15be7e9fdbff831fb3e89b83cc337a4f85ad3310; \>= eb1ac9ff6c4a5720b1a1476233be374c5dc44bff, \< 3a967c498baa976b11d4800dda224c507416e97c; \>= eb1ac9ff6c4a5720b1a1476233be374c5dc44bff, \< f723ccaff2fb72b71ae8a9fd283f0dee4d9ae7a3 (cvelist)
- Linux: 6.17 (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-53259. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-53259.md
Affected: Linux >= eb1ac9ff6c4a5720b1a1476233be374c5dc44bff, < 15be7e9fdbff831fb3e89b83cc337a4f85ad3310; >= eb1ac9ff6c4a5720b1a1476233be374c5dc44bff, < 3a967c498baa976b11d4800dda224c507416e97c; >= eb1ac9ff6c4a5720b1a1476233be374c5dc44bff, < f723ccaff2fb72b71ae8a9fd283f0dee4d9ae7a3; Linux 6.17
Fixed in: Linux 15be7e9fdbff831fb3e89b83cc337a4f85ad3310, Linux 3a967c498baa976b11d4800dda224c507416e97c

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

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

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

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

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

Linux \>= eb1ac9ff6c4a5720b1a1476233be374c5dc44bff, \< 15be7e9fdbff831fb3e89b83cc337a4f85ad3310; \>= eb1ac9ff6c4a5720b1a1476233be374c5dc44bff, \< 3a967c498baa976b11d4800dda224c507416e97c; \>= eb1ac9ff6c4a5720b1a1476233be374c5dc44bff, \< f723ccaff2fb72b71ae8a9fd283f0dee4d9ae7a3; Linux 6.17.

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

Yes. Fixed in Linux 15be7e9fdbff831fb3e89b83cc337a4f85ad3310, Linux 3a967c498baa976b11d4800dda224c507416e97c. No fix listed yet: follow the vendor advisory.

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

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/15be7e9fdbff831fb3e89b83cc337a4f85ad3310>
- patch: <https://git.kernel.org/stable/c/3a967c498baa976b11d4800dda224c507416e97c>
- patch: <https://git.kernel.org/stable/c/f723ccaff2fb72b71ae8a9fd283f0dee4d9ae7a3>

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

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