CVE-2025-22104: Out-of-bounds Read in Linux Kernel ibmvnic Hex Dump Logging
- Vendor
- Linux
CVE-2025-22104 is an out-of-bounds read vulnerability in the Linux kernel IBM Virtual Network Interface Controller (ibmvnic) driver. The driver's hexadecimal-dump logging code cast a buffer to an 8-byte value and printed it with string formatters. When the buffer length was not divisible by eight, the final read could extend beyond the allocated buffer. KASAN detected the issue as a slab-out-of-bounds read in ibmvnic_login. The fix replaces the unsafe fixed-width reads with an ibmvnic helper that iterates over the buffer using hex_dump_to_buffer.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Triggering the vulnerable logging path causes an out-of-bounds kernel-memory read. The condition may expose adjacent kernel memory through diagnostic output or cause a kernel fault.
Mitigation
If you can’t patch tonight, do this now.
Until patched, avoid enabling or relying on affected ibmvnic diagnostic hexadecimal-dump paths. Restrict untrusted local access and, where practical, untrusted network input exposure on systems using the ibmvnic driver.
Remediation
Patch, then assume compromise.
Update to a Linux kernel release containing the ibmvnic hexadecimal-dump fix, which replaces unsafe 8-byte buffer reads with kernel hex-dump helper functions. For Debian stable (trixie), upgrade linux packages to version 6.12.111-1 or later and reboot into the updated kernel. Reboot after installing updated kernel packages so that the fixed kernel is running.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2025-22104 exploited in the wild?
- As of Oct 2, 2026, Mallory has no reports of CVE-2025-22104 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2025-22104?
- As of Oct 2, 2026, Mallory has found no public exploit for CVE-2025-22104.
- Is there a patch for CVE-2025-22104?
- Update to a Linux kernel release containing the ibmvnic hexadecimal-dump fix, which replaces unsafe 8-byte buffer reads with kernel hex-dump helper functions. For Debian stable (trixie), upgrade linux packages to version 6.12.111-1 or later and reboot into the updated kernel.
- What products are affected by CVE-2025-22104?
- Linux Kernel.
- How severe is CVE-2025-22104?
- CVE-2025-22104 has a CVSS v3.1 score of 7.1 (High) and an EPSS score of 0.32% (17th percentile) as of Oct 2, 2026.
Recent activity
9 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.