Menu

Star on GitHub · 3.2k

CVE-2025-22104

7.1 · HIGH

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…

Published Apr 16, 2025CWE-125EPSS 0.23%

Overview

CVE-2025-22104 is a high-severity vulnerability. It was published on April 16, 2025 and has a CVSS 3.1 base score of 7.1 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.1, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical 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

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2025-22104?

CVE-2025-22104 is a high-severity vulnerability. It was published on April 16, 2025 and has a CVSS 3.1 base score of 7.1 (HIGH).

How severe is CVE-2025-22104?

This vulnerability has a CVSS 3.1 base score of 7.1, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-22104?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-22104?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2025-22104 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2025

View all