# CVE-2025-22105: bonding: check xdp prog when set bond mode

> 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, NVD) `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 14, 2026-11-26)
- **Published:** 2025-04-16T14:12:53.830Z
- **Modified:** 2026-11-05T21:17:48.807Z

## Who should check

- Anyone running Linux \>= 9e2ee5c7e7c35d195e2aa0692a7241d47a433d1e, \< 074de2f6706ea840bbf06599cdc194086fbae092; \>= 9e2ee5c7e7c35d195e2aa0692a7241d47a433d1e, \< 5106da73b01668a1aa5d0f352b95d2b832b5caa7; \>= 9e2ee5c7e7c35d195e2aa0692a7241d47a433d1e, \< 6f3af8055ee7ab69d1451f056fcd890df99c167e; \>= 9e2ee5c7e7c35d195e2aa0692a7241d47a433d1e, \< 0dd4fac43bdea23cfe4bb2a3eabb76d752ac32fb; \>= 9e2ee5c7e7c35d195e2aa0692a7241d47a433d1e, \< 094ee6017ea09c11d6af187935a949df32803ce0
- Anyone running Linux 5.15

## Description

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

bonding: check xdp prog when set bond mode

Following operations can trigger a warning\[1\]:

    ip netns add ns1
    ip netns exec ns1 ip link add bond0 type bond mode balance-rr
    ip netns exec ns1 ip link set dev bond0 xdp obj af\_xdp\_kern.o sec xdp
    ip netns exec ns1 ip link set bond0 type bond mode broadcast
    ip netns del ns1

When delete the namespace, dev\_xdp\_uninstall() is called to remove xdp
program on bond dev, and bond\_xdp\_set() will check the bond mode. If bond
mode is changed after attaching xdp program, the warning may occur.

Some bond modes (broadcast, etc.) do not support native xdp. Set bond mode
with xdp program attached is not good. Add check for xdp program when set
bond mode.

    \[1\]
    ------------\[ cut here \]------------
    WARNING: CPU: 0 PID: 11 at net/core/dev.c:9912 unregister\_netdevice\_many\_notify+0x8d9/0x930
    Modules linked in:
    CPU: 0 UID: 0 PID: 11 Comm: kworker/u4:0 Not tainted 6.14.0-rc4 \#107
    Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.15.0-0-g2dd4b9b3f840-prebuilt.qemu.org 04/01/2014
    Workqueue: netns cleanup\_net
    RIP: 0010:unregister\_netdevice\_many\_notify+0x8d9/0x930
    Code: 00 00 48 c7 c6 6f e3 a2 82 48 c7 c7 d0 b3 96 82 e8 9c 10 3e ...
    RSP: 0018:ffffc90000063d80 EFLAGS: 00000282
    RAX: 00000000ffffffa1 RBX: ffff888004959000 RCX: 00000000ffffdfff
    RDX: 0000000000000000 RSI: 00000000ffffffea RDI: ffffc90000063b48
    RBP: ffffc90000063e28 R08: ffffffff82d39b28 R09: 0000000000009ffb
    R10: 0000000000000175 R11: ffffffff82d09b40 R12: ffff8880049598e8
    R13: 0000000000000001 R14: dead000000000100 R15: ffffc90000045000
    FS:  0000000000000000(0000) GS:ffff888007a00000(0000) knlGS:0000000000000000
    CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    CR2: 000000000d406b60 CR3: 000000000483e000 CR4: 00000000000006f0
    Call Trace:
     \<TASK\>
     ? \_\_warn+0x83/0x130
     ? unregister\_netdevice\_many\_notify+0x8d9/0x930
     ? report\_bug+0x18e/0x1a0
     ? handle\_bug+0x54/0x90
     ? exc\_invalid\_op+0x18/0x70
     ? asm\_exc\_invalid\_op+0x1a/0x20
     ? unregister\_netdevice\_many\_notify+0x8d9/0x930
     ? bond\_net\_exit\_batch\_rtnl+0x5c/0x90
     cleanup\_net+0x237/0x3d0
     process\_one\_work+0x163/0x390
     worker\_thread+0x293/0x3b0
     ? \_\_pfx\_worker\_thread+0x10/0x10
     kthread+0xec/0x1e0
     ? \_\_pfx\_kthread+0x10/0x10
     ? \_\_pfx\_kthread+0x10/0x10
     ret\_from\_fork+0x2f/0x50
     ? \_\_pfx\_kthread+0x10/0x10
     ret\_from\_fork\_asm+0x1a/0x30
     \</TASK\>
    ---\[ end trace 0000000000000000 \]---

## Affected and fixed versions

- Linux: \>= 9e2ee5c7e7c35d195e2aa0692a7241d47a433d1e, \< 074de2f6706ea840bbf06599cdc194086fbae092; \>= 9e2ee5c7e7c35d195e2aa0692a7241d47a433d1e, \< 5106da73b01668a1aa5d0f352b95d2b832b5caa7; \>= 9e2ee5c7e7c35d195e2aa0692a7241d47a433d1e, \< 6f3af8055ee7ab69d1451f056fcd890df99c167e; \>= 9e2ee5c7e7c35d195e2aa0692a7241d47a433d1e, \< 0dd4fac43bdea23cfe4bb2a3eabb76d752ac32fb; \>= 9e2ee5c7e7c35d195e2aa0692a7241d47a433d1e, \< 094ee6017ea09c11d6af187935a949df32803ce0 (cvelist)
- Linux: 5.15 (cvelist)

## Mitigation

- Upgrade Linux to 094ee6017ea09c11d6af187935a949df32803ce0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-22105. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-22105.md
Affected: Linux >= 9e2ee5c7e7c35d195e2aa0692a7241d47a433d1e, < 074de2f6706ea840bbf06599cdc194086fbae092; >= 9e2ee5c7e7c35d195e2aa0692a7241d47a433d1e, < 5106da73b01668a1aa5d0f352b95d2b832b5caa7; >= 9e2ee5c7e7c35d195e2aa0692a7241d47a433d1e, < 6f3af8055ee7ab69d1451f056fcd890df99c167e; >= 9e2ee5c7e7c35d195e2aa06…
Fixed in: Linux 074de2f6706ea840bbf06599cdc194086fbae092, Linux 5106da73b01668a1aa5d0f352b95d2b832b5caa7, Linux 6f3af8055ee7ab69d1451f056fcd890df99c167e, Linux 0dd4fac43bdea23cfe4bb2a3eabb76d752ac32fb, Linux 094ee6017ea09c11d6af187935a949df32803ce0

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-2025-22105 being exploited?

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

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

### Which versions are affected by CVE-2025-22105?

Linux \>= 9e2ee5c7e7c35d195e2aa0692a7241d47a433d1e, \< 074de2f6706ea840bbf06599cdc194086fbae092; \>= 9e2ee5c7e7c35d195e2aa0692a7241d47a433d1e, \< 5106da73b01668a1aa5d0f352b95d2b832b5caa7; \>= 9e2ee5c7e7c35d195e2aa0692a7241d47a433d1e, \< 6f3af8055ee7ab69d1451f056fcd890df99c167e; \>= 9e2ee5c7e7c35d195e2aa0692a7241d47a433d1e, \< 0dd4fac43bdea23cfe4bb2a3eabb76d752ac32fb; \>= 9e2ee5c7e7c35d195e2aa0692a7241d47a433d1e, \< 094ee6017ea09c11d6af187935a949df32803ce0; Linux 5.15.

### Is there a fix for CVE-2025-22105?

Yes. Fixed in Linux 074de2f6706ea840bbf06599cdc194086fbae092, Linux 5106da73b01668a1aa5d0f352b95d2b832b5caa7, Linux 6f3af8055ee7ab69d1451f056fcd890df99c167e, Linux 0dd4fac43bdea23cfe4bb2a3eabb76d752ac32fb, Linux 094ee6017ea09c11d6af187935a949df32803ce0. Upgrade Linux to 094ee6017ea09c11d6af187935a949df32803ce0 or later.

### How do I check if I'm affected by CVE-2025-22105?

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/6f3af8055ee7ab69d1451f056fcd890df99c167e>
- patch: <https://git.kernel.org/stable/c/0dd4fac43bdea23cfe4bb2a3eabb76d752ac32fb>
- patch: <https://git.kernel.org/stable/c/094ee6017ea09c11d6af187935a949df32803ce0>
- other: <https://git.kernel.org/stable/c/074de2f6706ea840bbf06599cdc194086fbae092>
- other: <https://git.kernel.org/stable/c/5106da73b01668a1aa5d0f352b95d2b832b5caa7>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## 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-2025-22105>

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