# CVE-2025-21855: ibmvnic: Don't reference skb after sending to VIOS

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

- **Severity:** HIGH 8.6
- **CVSS:** 8.6 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: Low; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.62% (percentile 44, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2025-03-12T09:42:09.251Z
- **Modified:** 2026-08-05T11:54:56.100Z

## Who should check

- Anyone running Linux \>= 032c5e82847a2214c3196a90f0aeba0ce252de58, \< 501ac6a7e21b82e05207c6b4449812d82820f306; \>= 032c5e82847a2214c3196a90f0aeba0ce252de58, \< 093b0e5c90592773863f300b908b741622eef597; \>= 032c5e82847a2214c3196a90f0aeba0ce252de58, \< 25dddd01dcc8ef3acff964dbb32eeb0d89f098e9; \>= 032c5e82847a2214c3196a90f0aeba0ce252de58, \< abaff2717470e4b5b7c0c3a90e128b211a23da09; \>= 032c5e82847a2214c3196a90f0aeba0ce252de58, \< bdf5d13aa05ec314d4385b31ac974d6c7e0997c9
- Anyone running Linux 4.5

## Description

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

ibmvnic: Don't reference skb after sending to VIOS

Previously, after successfully flushing the xmit buffer to VIOS,
the tx\_bytes stat was incremented by the length of the skb.

It is invalid to access the skb memory after sending the buffer to
the VIOS because, at any point after sending, the VIOS can trigger
an interrupt to free this memory. A race between reading skb-\>len
and freeing the skb is possible (especially during LPM) and will
result in use-after-free:
 ==================================================================
 BUG: KASAN: slab-use-after-free in ibmvnic\_xmit+0x75c/0x1808 \[ibmvnic\]
 Read of size 4 at addr c00000024eb48a70 by task hxecom/14495
 \<...\>
 Call Trace:
 \[c000000118f66cf0\] \[c0000000018cba6c\] dump\_stack\_lvl+0x84/0xe8 (unreliable)
 \[c000000118f66d20\] \[c0000000006f0080\] print\_report+0x1a8/0x7f0
 \[c000000118f66df0\] \[c0000000006f08f0\] kasan\_report+0x128/0x1f8
 \[c000000118f66f00\] \[c0000000006f2868\] \_\_asan\_load4+0xac/0xe0
 \[c000000118f66f20\] \[c0080000046eac84\] ibmvnic\_xmit+0x75c/0x1808 \[ibmvnic\]
 \[c000000118f67340\] \[c0000000014be168\] dev\_hard\_start\_xmit+0x150/0x358
 \<...\>
 Freed by task 0:
 kasan\_save\_stack+0x34/0x68
 kasan\_save\_track+0x2c/0x50
 kasan\_save\_free\_info+0x64/0x108
 \_\_kasan\_mempool\_poison\_object+0x148/0x2d4
 napi\_skb\_cache\_put+0x5c/0x194
 net\_tx\_action+0x154/0x5b8
 handle\_softirqs+0x20c/0x60c
 do\_softirq\_own\_stack+0x6c/0x88
 \<...\>
 The buggy address belongs to the object at c00000024eb48a00 which
  belongs to the cache skbuff\_head\_cache of size 224
==================================================================

## Affected and fixed versions

- Linux: \>= 032c5e82847a2214c3196a90f0aeba0ce252de58, \< 501ac6a7e21b82e05207c6b4449812d82820f306; \>= 032c5e82847a2214c3196a90f0aeba0ce252de58, \< 093b0e5c90592773863f300b908b741622eef597; \>= 032c5e82847a2214c3196a90f0aeba0ce252de58, \< 25dddd01dcc8ef3acff964dbb32eeb0d89f098e9; \>= 032c5e82847a2214c3196a90f0aeba0ce252de58, \< abaff2717470e4b5b7c0c3a90e128b211a23da09; \>= 032c5e82847a2214c3196a90f0aeba0ce252de58, \< bdf5d13aa05ec314d4385b31ac974d6c7e0997c9 (cvelist)
- Linux: 4.5 (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-2025-21855. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-21855.md
Affected: Linux >= 032c5e82847a2214c3196a90f0aeba0ce252de58, < 501ac6a7e21b82e05207c6b4449812d82820f306; >= 032c5e82847a2214c3196a90f0aeba0ce252de58, < 093b0e5c90592773863f300b908b741622eef597; >= 032c5e82847a2214c3196a90f0aeba0ce252de58, < 25dddd01dcc8ef3acff964dbb32eeb0d89f098e9; >= 032c5e82847a2214c3196a9…
Fixed in: Linux 501ac6a7e21b82e05207c6b4449812d82820f306, Linux 093b0e5c90592773863f300b908b741622eef597, Linux 25dddd01dcc8ef3acff964dbb32eeb0d89f098e9

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

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

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

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

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

Linux \>= 032c5e82847a2214c3196a90f0aeba0ce252de58, \< 501ac6a7e21b82e05207c6b4449812d82820f306; \>= 032c5e82847a2214c3196a90f0aeba0ce252de58, \< 093b0e5c90592773863f300b908b741622eef597; \>= 032c5e82847a2214c3196a90f0aeba0ce252de58, \< 25dddd01dcc8ef3acff964dbb32eeb0d89f098e9; \>= 032c5e82847a2214c3196a90f0aeba0ce252de58, \< abaff2717470e4b5b7c0c3a90e128b211a23da09; \>= 032c5e82847a2214c3196a90f0aeba0ce252de58, \< bdf5d13aa05ec314d4385b31ac974d6c7e0997c9; Linux 4.5.

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

Yes. Fixed in Linux 501ac6a7e21b82e05207c6b4449812d82820f306, Linux 093b0e5c90592773863f300b908b741622eef597, Linux 25dddd01dcc8ef3acff964dbb32eeb0d89f098e9. No fix listed yet: follow the vendor advisory.

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

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/501ac6a7e21b82e05207c6b4449812d82820f306>
- patch: <https://git.kernel.org/stable/c/093b0e5c90592773863f300b908b741622eef597>
- patch: <https://git.kernel.org/stable/c/25dddd01dcc8ef3acff964dbb32eeb0d89f098e9>
- patch: <https://git.kernel.org/stable/c/abaff2717470e4b5b7c0c3a90e128b211a23da09>
- patch: <https://git.kernel.org/stable/c/bdf5d13aa05ec314d4385b31ac974d6c7e0997c9>
- other: <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.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-21855>

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