CVE-2025-22104: ibmvnic: Use kernel helpers for hex dumps
In the Linux kernel, the following vulnerability has been resolved:
ibmvnic: Use kernel helpers for hex dumps
Previously, when the driver was printing hex dumps, the buffer was cast
to an 8 byte long and printed using string formatters. If the buffer
size was not a multiple of 8 then a read buffer overflow was possible.
Therefore, create a new ibmvnic function that loops over a buffer and
calls hex_dump_to_buffer instead.
This patch address KASAN reports like the one below:
ibmvnic 30000003 env3: Login Buffer:
ibmvnic 30000003 env3: 01000000af000000
<...>
ibmvnic 30000003 env3: 2e6d62692e736261
ibmvnic 30000003 env3: 65050003006d6f63
==================================================================
BUG: KASAN: slab-out-of-bounds in ibmvnic_login+0xacc/0xffc [ibmvnic]
Read of size 8 at addr c0000001331a9aa8 by task ip/17681
<...>
Allocated by task 17681:
<...>
ibmvnic_login+0x2f0/0xffc [ibmvnic]
ibmvnic_open+0x148/0x308 [ibmvnic]
__dev_open+0x1ac/0x304
<...>
The buggy address is located 168 bytes inside of
allocated 175-byte region [c0000001331a9a00, c0000001331a9aaf)
<...>
=================================================================
ibmvnic 30000003 env3: 000000000033766e
Security readout for executives and security teams
Plain-English summary
CVE-2025-22104 is a Linux kernel ibmvnic driver bug. When the driver prints hex dumps, it could read past the end of a buffer. Public sources show a kernel fix and KASAN detection, but no CVSS score or known exploitation.
Executive priority
Treat as a focused kernel maintenance issue, not an emergency based on current evidence. Prioritize IBM virtual NIC-dependent Linux systems and incorporate fixes into normal patch cycles unless vendor guidance raises severity.
Technical view
The ibmvnic driver previously cast buffers to 8-byte values for hex dump logging. If the buffer length was not divisible by eight, an out-of-bounds read could occur. The fix replaces that behavior with a helper-based loop using hex_dump_to_buffer.
Likely exposure
Exposure is likely limited to Linux systems using the ibmvnic driver. Organizations without that driver loaded or without affected kernel builds are unlikely to be exposed. Version impact should be confirmed through distribution kernel advisories.
Exploitation context
The sources describe a read buffer overflow found by KASAN during ibmvnic_login. There is no KEV listing and no cited evidence of active exploitation. The practical impact is not fully characterized in the provided sources.
Researcher notes
Evidence is limited to the CVE record and Linux stable commits. No CVSS, CWE, exploitability assessment, or active exploitation evidence is provided. Validate exact affected ranges through downstream distribution advisories because kernel fixes are often backported.
Mitigation direction
Apply Linux kernel or distribution updates containing the referenced ibmvnic fix.
Check vendor guidance for affected kernel versions and backported fixes.
Prioritize systems that load or depend on the ibmvnic driver.
Validation and detection
Inventory Linux hosts for kernels using the ibmvnic driver.
Confirm installed kernels include the referenced stable commits or vendor backports.
Review kernel logs for KASAN slab-out-of-bounds reports in ibmvnic_login.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2025-22104 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
0CVSS vectors
3Timeline events
0ADP providers
3Source links
Vulnerability timeline
Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.
CVE reservedCVE Program
The CVE ID was reserved by the assigning CNA.
CVE publishedCVE Program
The CVE record was published.
Apr 16, 2025, 14:12 UTC (UTC+00:00)
CVE updatedCVE Program
The CVE record metadata indicates this as the latest update time.