# CVE-2025-22053: net: ibmveth: make veth\_pool\_store stop hanging

> 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.22% (percentile 7, 2026-11-26)
- **CWE:** CWE-667
- **Published:** 2025-04-16T14:12:11.034Z
- **Modified:** 2026-11-05T21:17:48.250Z

## Who should check

- Anyone running Linux \>= 860f242eb5340d0b0cfe243cb86b2a98f92e8b91, \< c1bcbc4ee8f2e4567a9f63ec5a37e29b3fecf15a; \>= 860f242eb5340d0b0cfe243cb86b2a98f92e8b91, \< 1e458c292f4c687dcf5aad32dd4836d03cd2191f; \>= 860f242eb5340d0b0cfe243cb86b2a98f92e8b91, \< 8a88bb092f4208355880b9fdcc69d491aa297595; \>= 860f242eb5340d0b0cfe243cb86b2a98f92e8b91, \< 86cc70f5c85dc09bf7f3e1eee380eefe73c90765; \>= 860f242eb5340d0b0cfe243cb86b2a98f92e8b91, \< 0a2470e3ecde64fc7e3781dc474923193621ae67; \>= 860f242eb5340d0b0cfe243cb86b2a98f92e8b91, \< 053f3ff67d7feefc75797863f3d84b47ad47086f
- Anyone running Linux 2.6.18

## Description

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

net: ibmveth: make veth\_pool\_store stop hanging

v2:
- Created a single error handling unlock and exit in veth\_pool\_store
- Greatly expanded commit message with previous explanatory-only text

Summary: Use rtnl\_mutex to synchronize veth\_pool\_store with itself,
ibmveth\_close and ibmveth\_open, preventing multiple calls in a row to
napi\_disable.

Background: Two (or more) threads could call veth\_pool\_store through
writing to /sys/devices/vio/30000002/pool\*/\*. You can do this easily
with a little shell script. This causes a hang.

I configured LOCKDEP, compiled ibmveth.c with DEBUG, and built a new
kernel. I ran this test again and saw:

    Setting pool0/active to 0
    Setting pool1/active to 1
    \[   73.911067\]\[ T4365\] ibmveth 30000002 eth0: close starting
    Setting pool1/active to 1
    Setting pool1/active to 0
    \[   73.911367\]\[ T4366\] ibmveth 30000002 eth0: close starting
    \[   73.916056\]\[ T4365\] ibmveth 30000002 eth0: close complete
    \[   73.916064\]\[ T4365\] ibmveth 30000002 eth0: open starting
    \[  110.808564\]\[  T712\] systemd-journald\[712\]: Sent WATCHDOG=1 notification.
    \[  230.808495\]\[  T712\] systemd-journald\[712\]: Sent WATCHDOG=1 notification.
    \[  243.683786\]\[  T123\] INFO: task stress.sh:4365 blocked for more than 122 seconds.
    \[  243.683827\]\[  T123\]       Not tainted 6.14.0-01103-g2df0c02dab82-dirty \#8
    \[  243.683833\]\[  T123\] "echo 0 \> /proc/sys/kernel/hung\_task\_timeout\_secs" disables this message.
    \[  243.683838\]\[  T123\] task:stress.sh       state:D stack:28096 pid:4365  tgid:4365  ppid:4364   task\_flags:0x400040 flags:0x00042000
    \[  243.683852\]\[  T123\] Call Trace:
    \[  243.683857\]\[  T123\] \[c00000000c38f690\] \[0000000000000001\] 0x1 (unreliable)
    \[  243.683868\]\[  T123\] \[c00000000c38f840\] \[c00000000001f908\] \_\_switch\_to+0x318/0x4e0
    \[  243.683878\]\[  T123\] \[c00000000c38f8a0\] \[c000000001549a70\] \_\_schedule+0x500/0x12a0
    \[  243.683888\]\[  T123\] \[c00000000c38f9a0\] \[c00000000154a878\] schedule+0x68/0x210
    \[  243.683896\]\[  T123\] \[c00000000c38f9d0\] \[c00000000154ac80\] schedule\_preempt\_disabled+0x30/0x50
    \[  243.683904\]\[  T123\] \[c00000000c38fa00\] \[c00000000154dbb0\] \_\_mutex\_lock+0x730/0x10f0
    \[  243.683913\]\[  T123\] \[c00000000c38fb10\] \[c000000001154d40\] napi\_enable+0x30/0x60
    \[  243.683921\]\[  T123\] \[c00000000c38fb40\] \[c000000000f4ae94\] ibmveth\_open+0x68/0x5dc
    \[  243.683928\]\[  T123\] \[c00000000c38fbe0\] \[c000000000f4aa20\] veth\_pool\_store+0x220/0x270
    \[  243.683936\]\[  T123\] \[c00000000c38fc70\] \[c000000000826278\] sysfs\_kf\_write+0x68/0xb0
    \[  243.683944\]\[  T123\] \[c00000000c38fcb0\] \[c0000000008240b8\] kernfs\_fop\_write\_iter+0x198/0x2d0
    \[  243.683951\]\[  T123\] \[c00000000c38fd00\] \[c00000000071b9ac\] vfs\_write+0x34c/0x650
    \[  243.683958\]\[  T123\] \[c00000000c38fdc0\] \[c00000000071bea8\] ksys\_write+0x88/0x150
    \[  243.683966\]\[  T123\] \[c00000000c38fe10\] \[c0000000000317f4\] system\_call\_exception+0x124/0x340
    \[  243.683973\]\[  T123\] \[c00000000c38fe50\] \[c00000000000d05c\] system\_call\_vectored\_common+0x15c/0x2ec
    ...
    \[  243.684087\]\[  T123\] Showing all locks held in the system:
    \[  243.684095\]\[  T123\] 1 lock held by khungtaskd/123:
    \[  243.684099\]\[  T123\]  \#0: c00000000278e370 (rcu\_read\_lock){....}-{1:2}, at: debug\_show\_all\_locks+0x50/0x248
    \[  243.684114\]\[  T123\] 4 locks held by stress.sh/4365:
    \[  243.684119\]\[  T123\]  \#0: c00000003a4cd3f8 (sb\_writers\#3){.+.+}-{0:0}, at: ksys\_write+0x88/0x150
    \[  243.684132\]\[  T123\]  \#1: c000000041aea888 (&of-\>mutex\#2){+.+.}-{3:3}, at: kernfs\_fop\_write\_iter+0x154/0x2d0
    \[  243.684143\]\[  T123\]  \#2: c0000000366fb9a8 (kn-\>active\#64){.+.+}-{0:0}, at: kernfs\_fop\_write\_iter+0x160/0x2d0
    \[  243.684155\]\[  T123\]  \#3: c000000035ff4cb8 (&dev-\>lock){+.+.}-{3:3}, at: napi\_enable+0x30/0x60
    \[  243.684166\]\[  T123\] 5 locks held by stress.sh/4366:
    \[  243.684170\]\[  T123\]  \#0: c00000003a4cd3f8 (sb\_writers\#3){.+.+}-{0:0}, at: ksys\_write+0x88/0x150
    \[  243.
---truncated---

## Affected and fixed versions

- Linux: \>= 860f242eb5340d0b0cfe243cb86b2a98f92e8b91, \< c1bcbc4ee8f2e4567a9f63ec5a37e29b3fecf15a; \>= 860f242eb5340d0b0cfe243cb86b2a98f92e8b91, \< 1e458c292f4c687dcf5aad32dd4836d03cd2191f; \>= 860f242eb5340d0b0cfe243cb86b2a98f92e8b91, \< 8a88bb092f4208355880b9fdcc69d491aa297595; \>= 860f242eb5340d0b0cfe243cb86b2a98f92e8b91, \< 86cc70f5c85dc09bf7f3e1eee380eefe73c90765; \>= 860f242eb5340d0b0cfe243cb86b2a98f92e8b91, \< 0a2470e3ecde64fc7e3781dc474923193621ae67; \>= 860f242eb5340d0b0cfe243cb86b2a98f92e8b91, \< 053f3ff67d7feefc75797863f3d84b47ad47086f (cvelist)
- Linux: 2.6.18 (cvelist)

## Mitigation

- Upgrade Linux to 053f3ff67d7feefc75797863f3d84b47ad47086f 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-22053. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-22053.md
Affected: Linux >= 860f242eb5340d0b0cfe243cb86b2a98f92e8b91, < c1bcbc4ee8f2e4567a9f63ec5a37e29b3fecf15a; >= 860f242eb5340d0b0cfe243cb86b2a98f92e8b91, < 1e458c292f4c687dcf5aad32dd4836d03cd2191f; >= 860f242eb5340d0b0cfe243cb86b2a98f92e8b91, < 8a88bb092f4208355880b9fdcc69d491aa297595; >= 860f242eb5340d0b0cfe243…
Fixed in: Linux 1e458c292f4c687dcf5aad32dd4836d03cd2191f, Linux 8a88bb092f4208355880b9fdcc69d491aa297595, Linux 86cc70f5c85dc09bf7f3e1eee380eefe73c90765, Linux 0a2470e3ecde64fc7e3781dc474923193621ae67, Linux 053f3ff67d7feefc75797863f3d84b47ad47086f

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

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

### How serious is CVE-2025-22053?

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

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

Linux \>= 860f242eb5340d0b0cfe243cb86b2a98f92e8b91, \< c1bcbc4ee8f2e4567a9f63ec5a37e29b3fecf15a; \>= 860f242eb5340d0b0cfe243cb86b2a98f92e8b91, \< 1e458c292f4c687dcf5aad32dd4836d03cd2191f; \>= 860f242eb5340d0b0cfe243cb86b2a98f92e8b91, \< 8a88bb092f4208355880b9fdcc69d491aa297595; \>= 860f242eb5340d0b0cfe243cb86b2a98f92e8b91, \< 86cc70f5c85dc09bf7f3e1eee380eefe73c90765; \>= 860f242eb5340d0b0cfe243cb86b2a98f92e8b91, \< 0a2470e3ecde64fc7e3781dc474923193621ae67; \>= 860f242eb5340d0b0cfe243cb86b2a98f92e8b91, \< 053f3ff67d7feefc75797863f3d84b47ad47086f; Linux 2.6.18.

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

Yes. Fixed in Linux 1e458c292f4c687dcf5aad32dd4836d03cd2191f, Linux 8a88bb092f4208355880b9fdcc69d491aa297595, Linux 86cc70f5c85dc09bf7f3e1eee380eefe73c90765, Linux 0a2470e3ecde64fc7e3781dc474923193621ae67, Linux 053f3ff67d7feefc75797863f3d84b47ad47086f. Upgrade Linux to 053f3ff67d7feefc75797863f3d84b47ad47086f or later.

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

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/1e458c292f4c687dcf5aad32dd4836d03cd2191f>
- patch: <https://git.kernel.org/stable/c/8a88bb092f4208355880b9fdcc69d491aa297595>
- patch: <https://git.kernel.org/stable/c/86cc70f5c85dc09bf7f3e1eee380eefe73c90765>
- patch: <https://git.kernel.org/stable/c/0a2470e3ecde64fc7e3781dc474923193621ae67>
- patch: <https://git.kernel.org/stable/c/053f3ff67d7feefc75797863f3d84b47ad47086f>
- other: <https://git.kernel.org/stable/c/c1bcbc4ee8f2e4567a9f63ec5a37e29b3fecf15a>

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

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