# CVE-2026-31419: net: bonding: fix use-after-free in bond\_xmit\_broadcast()

> 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.15% (percentile 2, 2026-11-26)
- **CWE:** CWE-416, CWE-362
- **Published:** 2026-04-13T13:40:23.279Z
- **Modified:** 2026-10-30T13:18:39.260Z

## Who should check

- Anyone running Linux \>= 20949c3816463e97c6f8fe84c0280c7e5ae83a8d, \< 060d83bb6147c36fc21134d5b332d266b8c176bc; \>= f1d206181f19b00b275b258fea1418718a2f4173, \< df690112b2172e8eb0f4dd8ec1019b65ee979203; \>= 4e5bd03ae34652cd932ab4c91c71c511793df75c, \< 00752893f96b344f258c9c6de18b33171ac4872c; \>= 4e5bd03ae34652cd932ab4c91c71c511793df75c, \< 2de5c8eea0a9db99dae7c36f4b541b74b41d3a04; \>= 4e5bd03ae34652cd932ab4c91c71c511793df75c, \< a0f661918edc79d7a75e468128af8d41e2a1a83a; \>= 4e5bd03ae34652cd932ab4c91c71c511793df75c, \< d4cc7e4c80b1634c7b1497574a2fdb18df6c026c; \>= 4e5bd03ae34652cd932ab4c91c71c511793df75c, \< f5b94654a4a19891a8108d66ef166de6c028c6cd; \>= 4e5bd03ae34652cd932ab4c91c71c511793df75c, \< 2884bf72fb8f03409e423397319205de48adca16; c1f1691ef84fa6d38fa5e5148eca073145e97ffa; \>= 5.10.94, \< 5.10.273; …
- Anyone running Linux 5.17

## Description

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

net: bonding: fix use-after-free in bond\_xmit\_broadcast()

bond\_xmit\_broadcast() reuses the original skb for the last slave
(determined by bond\_is\_last\_slave()) and clones it for others.
Concurrent slave enslave/release can mutate the slave list during
RCU-protected iteration, changing which slave is "last" mid-loop.
This causes the original skb to be double-consumed (double-freed).

Replace the racy bond\_is\_last\_slave() check with a simple index
comparison (i + 1 == slaves\_count) against the pre-snapshot slave
count taken via READ\_ONCE() before the loop.  This preserves the
zero-copy optimization for the last slave while making the "last"
determination stable against concurrent list mutations.

The UAF can trigger the following crash:

==================================================================
BUG: KASAN: slab-use-after-free in skb\_clone
Read of size 8 at addr ffff888100ef8d40 by task exploit/147

CPU: 1 UID: 0 PID: 147 Comm: exploit Not tainted 7.0.0-rc3+ \#4 PREEMPTLAZY
Call Trace:
 \<TASK\>
 dump\_stack\_lvl (lib/dump\_stack.c:123)
 print\_report (mm/kasan/report.c:379 mm/kasan/report.c:482)
 kasan\_report (mm/kasan/report.c:597)
 skb\_clone (include/linux/skbuff.h:1724 include/linux/skbuff.h:1792 include/linux/skbuff.h:3396 net/core/skbuff.c:2108)
 bond\_xmit\_broadcast (drivers/net/bonding/bond\_main.c:5334)
 bond\_start\_xmit (drivers/net/bonding/bond\_main.c:5567 drivers/net/bonding/bond\_main.c:5593)
 dev\_hard\_start\_xmit (include/linux/netdevice.h:5325 include/linux/netdevice.h:5334 net/core/dev.c:3871 net/core/dev.c:3887)
 \_\_dev\_queue\_xmit (include/linux/netdevice.h:3601 net/core/dev.c:4838)
 ip6\_finish\_output2 (include/net/neighbour.h:540 include/net/neighbour.h:554 net/ipv6/ip6\_output.c:136)
 ip6\_finish\_output (net/ipv6/ip6\_output.c:208 net/ipv6/ip6\_output.c:219)
 ip6\_output (net/ipv6/ip6\_output.c:250)
 ip6\_send\_skb (net/ipv6/ip6\_output.c:1985)
 udp\_v6\_send\_skb (net/ipv6/udp.c:1442)
 udpv6\_sendmsg (net/ipv6/udp.c:1733)
 \_\_sys\_sendto (net/socket.c:730 net/socket.c:742 net/socket.c:2206)
 \_\_x64\_sys\_sendto (net/socket.c:2209)
 do\_syscall\_64 (arch/x86/entry/syscall\_64.c:63 arch/x86/entry/syscall\_64.c:94)
 entry\_SYSCALL\_64\_after\_hwframe (arch/x86/entry/entry\_64.S:130)
 \</TASK\>

Allocated by task 147:

Freed by task 147:

The buggy address belongs to the object at ffff888100ef8c80
 which belongs to the cache skbuff\_head\_cache of size 224
The buggy address is located 192 bytes inside of
 freed 224-byte region \[ffff888100ef8c80, ffff888100ef8d60)

Memory state around the buggy address:
 ffff888100ef8c00: fb fb fb fb fc fc fc fc fc fc fc fc fc fc fc fc
 ffff888100ef8c80: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
\>ffff888100ef8d00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc
                                                    ^
 ffff888100ef8d80: fc fc fc fc fc fc fc fc fa fb fb fb fb fb fb fb
 ffff888100ef8e00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================

## Affected and fixed versions

- Linux: \>= 20949c3816463e97c6f8fe84c0280c7e5ae83a8d, \< 060d83bb6147c36fc21134d5b332d266b8c176bc; \>= f1d206181f19b00b275b258fea1418718a2f4173, \< df690112b2172e8eb0f4dd8ec1019b65ee979203; \>= 4e5bd03ae34652cd932ab4c91c71c511793df75c, \< 00752893f96b344f258c9c6de18b33171ac4872c; \>= 4e5bd03ae34652cd932ab4c91c71c511793df75c, \< 2de5c8eea0a9db99dae7c36f4b541b74b41d3a04; \>= 4e5bd03ae34652cd932ab4c91c71c511793df75c, \< a0f661918edc79d7a75e468128af8d41e2a1a83a; \>= 4e5bd03ae34652cd932ab4c91c71c511793df75c, \< d4cc7e4c80b1634c7b1497574a2fdb18df6c026c; \>= 4e5bd03ae34652cd932ab4c91c71c511793df75c, \< f5b94654a4a19891a8108d66ef166de6c028c6cd; \>= 4e5bd03ae34652cd932ab4c91c71c511793df75c, \< 2884bf72fb8f03409e423397319205de48adca16; c1f1691ef84fa6d38fa5e5148eca073145e97ffa; \>= 5.10.94, \< 5.10.273; … (cvelist)
- Linux: 5.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-31419. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-31419.md
Affected: Linux >= 20949c3816463e97c6f8fe84c0280c7e5ae83a8d, < 060d83bb6147c36fc21134d5b332d266b8c176bc; >= f1d206181f19b00b275b258fea1418718a2f4173, < df690112b2172e8eb0f4dd8ec1019b65ee979203; >= 4e5bd03ae34652cd932ab4c91c71c511793df75c, < 00752893f96b344f258c9c6de18b33171ac4872c; >= 4e5bd03ae34652cd932ab4c…
Fixed in: Linux 060d83bb6147c36fc21134d5b332d266b8c176bc, Linux 00752893f96b344f258c9c6de18b33171ac4872c, Linux 2de5c8eea0a9db99dae7c36f4b541b74b41d3a04, Linux 2884bf72fb8f03409e423397319205de48adca16, Linux 5.10.273

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

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

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

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

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

Linux \>= 20949c3816463e97c6f8fe84c0280c7e5ae83a8d, \< 060d83bb6147c36fc21134d5b332d266b8c176bc; \>= f1d206181f19b00b275b258fea1418718a2f4173, \< df690112b2172e8eb0f4dd8ec1019b65ee979203; \>= 4e5bd03ae34652cd932ab4c91c71c511793df75c, \< 00752893f96b344f258c9c6de18b33171ac4872c; \>= 4e5bd03ae34652cd932ab4c91c71c511793df75c, \< 2de5c8eea0a9db99dae7c36f4b541b74b41d3a04; \>= 4e5bd03ae34652cd932ab4c91c71c511793df75c, \< a0f661918edc79d7a75e468128af8d41e2a1a83a; \>= 4e5bd03ae34652cd932ab4c91c71c511793df75c, \< d4cc7e4c80b1634c7b1497574a2fdb18df6c026c; \>= 4e5bd03ae34652cd932ab4c91c71c511793df75c, \< f5b94654a4a19891a8108d66ef166de6c028c6cd; \>= 4e5bd03ae34652cd932ab4c91c71c511793df75c, \< 2884bf72fb8f03409e423397319205de48adca16; c1f1691ef84fa6d38fa5e5148eca073145e97ffa; \>= 5.10.94, \< 5.10.273; …; Linux 5.17.

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

Yes. Fixed in Linux 060d83bb6147c36fc21134d5b332d266b8c176bc, Linux 00752893f96b344f258c9c6de18b33171ac4872c, Linux 2de5c8eea0a9db99dae7c36f4b541b74b41d3a04, Linux 2884bf72fb8f03409e423397319205de48adca16, Linux 5.10.273. No fix listed yet: follow the vendor advisory.

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

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

- vendor: <https://access.redhat.com/errata/RHSA-2026:22334>
- vendor: <https://access.redhat.com/errata/RHSA-2026:13566>
- vendor: <https://access.redhat.com/errata/RHSA-2026:25191>
- vendor: <https://access.redhat.com/errata/RHSA-2026:22940>
- vendor: <https://access.redhat.com/errata/RHSA-2026:21209>
- vendor: <https://access.redhat.com/errata/RHSA-2026:23224>
- vendor: <https://access.redhat.com/errata/RHSA-2026:25217>
- vendor: <https://access.redhat.com/errata/RHSA-2026:35870>
- vendor: <https://access.redhat.com/errata/RHSA-2026:27353>
- vendor: <https://access.redhat.com/errata/RHSA-2026:36530>
- vendor: <https://access.redhat.com/errata/RHSA-2026:19521>
- vendor: <https://access.redhat.com/errata/RHSA-2026:36531>
- vendor: <https://access.redhat.com/errata/RHSA-2026:36532>
- vendor: <https://access.redhat.com/errata/RHSA-2026:36533>
- vendor: <https://access.redhat.com/errata/RHSA-2026:36534>
- vendor: <https://access.redhat.com/errata/RHSA-2026:36172>
- vendor: <https://access.redhat.com/errata/RHSA-2026:27354>
- vendor: <https://access.redhat.com/errata/RHSA-2026:22900>
- patch: <https://git.kernel.org/stable/c/d4cc7e4c80b1634c7b1497574a2fdb18df6c026c>
- patch: <https://git.kernel.org/stable/c/f5b94654a4a19891a8108d66ef166de6c028c6cd>
- patch: <https://git.kernel.org/stable/c/2884bf72fb8f03409e423397319205de48adca16>
- other: <https://git.kernel.org/stable/c/060d83bb6147c36fc21134d5b332d266b8c176bc>
- other: <https://git.kernel.org/stable/c/df690112b2172e8eb0f4dd8ec1019b65ee979203>
- other: <https://git.kernel.org/stable/c/00752893f96b344f258c9c6de18b33171ac4872c>
- other: <https://git.kernel.org/stable/c/2de5c8eea0a9db99dae7c36f4b541b74b41d3a04>
- other: <https://git.kernel.org/stable/c/a0f661918edc79d7a75e468128af8d41e2a1a83a>
- other: <https://access.redhat.com/security/cve/CVE-2026-31419>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2457829>
- other: <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-31419.json>

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

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