7.1
HIGH CVSS 3.1
CVE-2025-22104
ibmvnic: Use kernel helpers for hex dumps
Description

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

INFO

Published Date :

April 16, 2025, 3:16 p.m.

Last Modified :

Sept. 2, 2026, 1:16 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2025-22104 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
Solution
Update the Linux kernel to a patched version to resolve a buffer overflow.
  • Update the Linux kernel to a version that includes the fix.
  • Apply the provided patch to the driver source code.
  • Recompile and reinstall the affected kernel module.
  • Restart the system to load the updated kernel.
Public PoC/Exploit Available at Github

CVE-2025-22104 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-22104 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2025-22104 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Dockerfile Shell Python Mako HTML

Updated: 10 months, 4 weeks ago
0 stars 1 fork 1 watcher
Born at : Aug. 4, 2025, 10:35 a.m. This repo has been linked 13 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-22104 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2025-22104 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Sep. 02, 2026

    Action Type Old Value New Value
    Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2025/22xxx/CVE-2025-22104.json">CVE-2025-22104</a>
    Added Reference https://git.kernel.org/stable/c/005fee039dd845122d313ac8f2122b0d09dc5d7b
    Added Reference https://git.kernel.org/stable/c/19efa170e01207c8ada726f3f6c65b31fcba2a73
    Added Reference https://git.kernel.org/stable/c/9bc078818ec76344c2e06b81d7aee2df3adecfbf
    Added Reference https://git.kernel.org/stable/c/ae6b1d6c1acee3a2000394d83ec9f1028321e207
    Added Reference https://git.kernel.org/stable/c/d93a6caab5d7d9b5ce034d75b1e1e993338e3852
    Removed Reference https://git.kernel.org/stable/c/ae6b1d6c1acee3a2000394d83ec9f1028321e207
    Removed Reference https://git.kernel.org/stable/c/d93a6caab5d7d9b5ce034d75b1e1e993338e3852
    Removed Reference Type https://git.kernel.org/stable/c/ae6b1d6c1acee3a2000394d83ec9f1028321e207 Types: Patch
    Removed Reference Type https://git.kernel.org/stable/c/d93a6caab5d7d9b5ce034d75b1e1e993338e3852 Types: Patch
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 17, 2026

    Action Type Old Value New Value
    Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '032c5e82847a2214c3196a90f0aeba0ce252de58', 'lessThan': 'ae6b1d6c1acee3a2000394d83ec9f1028321e207', 'versionType': 'git'}, {'status': 'affected', 'version': '032c5e82847a2214c3196a90f0aeba0ce252de58', 'lessThan': 'd93a6caab5d7d9b5ce034d75b1e1e993338e3852', 'versionType': 'git'}], 'programFiles': ['drivers/net/ethernet/ibm/ibmvnic.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4.5'}, {'status': 'unaffected', 'version': '0', 'lessThan': '4.5', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.14.2', 'versionType': 'semver', 'lessThanOrEqual': '6.14.*'}, {'status': 'unaffected', 'version': '6.15', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/net/ethernet/ibm/ibmvnic.c'], 'defaultStatus': 'affected'}]
  • Initial Analysis by [email protected]

    Nov. 03, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
    Added CWE CWE-125
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.5 up to (excluding) 6.14.2
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/ae6b1d6c1acee3a2000394d83ec9f1028321e207 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/d93a6caab5d7d9b5ce034d75b1e1e993338e3852 Types: Patch
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Apr. 16, 2025

    Action Type Old Value New Value
    Added Description 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
    Added Reference https://git.kernel.org/stable/c/ae6b1d6c1acee3a2000394d83ec9f1028321e207
    Added Reference https://git.kernel.org/stable/c/d93a6caab5d7d9b5ce034d75b1e1e993338e3852
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.