cve.bz

CVE-2025-22104 linux linux kernel: Out-of-bounds Read

7.1 highEPSS 0.2%Fix available

High (7.1) in linux linux kernel. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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

Severity

CVSS 3.1

7.1 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 14th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-22104 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-22104?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-22104?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-22104 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linux4.5 and later

Fixed in

ProductRelease lineFixed in
Linux6.16.1.187
Linux6.66.6.156
Linux6.126.12.108
Linux6.146.14.2
Linuxlater releases6.15

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12linux6.1.187-1DEBIAN-CVE-2025-22104 DLA-4777-1
Debian12linux-6.126.12.111-1~deb12u1DEBIAN-CVE-2025-22104 DLA-4817-1
Debian13linux6.12.111-1DEBIAN-CVE-2025-22104 DSA-6528-1
Debian14linux6.16.3-1DEBIAN-CVE-2025-22104
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2025-22104
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2025-22104
Ubuntu20.04:LTSlinux-gke, linux-gkeop, linux-riscv and 26 moreno fix listedUBUNTU-CVE-2025-22104
Ubuntu22.04:LTSlinux, linux-aws, linux-gcp and 48 moreno fix listedUBUNTU-CVE-2025-22104
Ubuntu22.04:LTSlinux-aws-6.86.8.0-1069.74~22.04.1UBUNTU-CVE-2025-22104 USN-9024-1
Ubuntu22.04:LTSlinux-azure-6.86.8.0-1073.82~22.04.1UBUNTU-CVE-2025-22104 USN-9026-1
Ubuntu22.04:LTSlinux-azure-fde-6.86.8.0-1071.78~22.04.1UBUNTU-CVE-2025-22104 USN-9026-1
Ubuntu22.04:LTSlinux-gcp-6.86.8.0-1073.81~22.04.1UBUNTU-CVE-2025-22104 USN-9024-1
Ubuntu22.04:LTSlinux-hwe-6.86.8.0-149.149~22.04.1UBUNTU-CVE-2025-22104 USN-9066-1
Ubuntu22.04:LTSlinux-ibm-6.86.8.0-1069.70~22.04.1UBUNTU-CVE-2025-22104 USN-9024-1
Ubuntu22.04:LTSlinux-lowlatency-hwe-6.86.8.0-149.149.1~22.04.1UBUNTU-CVE-2025-22104 USN-9024-1
Ubuntu22.04:LTSlinux-oracle-6.86.8.0-1067.71~22.04.1UBUNTU-CVE-2025-22104 USN-9025-1
39 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:9::appstreamrv, perf, rtla and 29 more0:5.14.0-570.23.1.el9_6RHSA-2025:9302
Red Hatenterprise_linux:9::baseoskernel, kernel-64k, kernel-core and 45 more0:5.14.0-570.23.1.el9_6RHSA-2025:9302
Red Hatenterprise_linux:9::crblibperf, perf-debuginfo, kernel-debuginfo and 16 more0:5.14.0-570.23.1.el9_6RHSA-2025:9302
Red Hatenterprise_linux:9::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 20 more0:5.14.0-570.23.1.el9_6RHSA-2025:9302
Red Hatenterprise_linux:9::realtimekernel-rt, kernel-rt-64k, kernel-rt-core and 35 more0:5.14.0-570.23.1.el9_6RHSA-2025:9302
Red Hatenterprise_linux:10.0rv, perf, rtla and 88 more0:6.12.0-55.19.1.el10_0RHSA-2025:9896
Red Hatrhel_e4s:9.0::appstreamperf, kernel-doc, kernel-devel and 16 more0:5.14.0-70.138.1.el9_0RHSA-2025:10830
Red Hatrhel_e4s:9.0::baseoskernel, bpftool, kernel-core and 25 more0:5.14.0-70.138.1.el9_0RHSA-2025:10830
Red Hatrhel_e4s:9.0::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:5.14.0-70.138.1.rt21.210.el9_0RHSA-2025:10829
Red Hatrhel_e4s:9.0::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:5.14.0-70.138.1.rt21.210.el9_0RHSA-2025:10829
Red Hatrhel_e4s:9.2::appstreambpftool-debuginfo0:7.0.0-284.126.1.el9_2RHSA-2025:11571
Red Hatrhel_e4s:9.2::appstreamperf, rtla, kernel-doc and 22 more0:5.14.0-284.126.1.el9_2RHSA-2025:11571
11 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Availability Extension 15 SP6, Linux Enterprise Live Patching 15 SP6, Linux Enterprise Module for Legacy 15 SP6 and 1 morekernel-default6.4.0-150600.23.50.1SUSE-SU-2025:01614-1
SUSELinux Enterprise High Availability Extension 15 SP7, Linux Enterprise Live Patching 15 SP7, Linux Enterprise Module for Legacy 15 SP7 and 1 morekernel-default6.4.0-150700.53.3.1SUSE-SU-2025:01951-1
SUSELinux Enterprise Live Patching 12 SP5kernel-default4.12.14-122.261.1SUSE-SU-2025:01983-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_691-8.3.1SUSE-SU-2025:01983-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6-RT_Update_111-150600.1.3.2SUSE-SU-2025:01964-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_111-150600.13.3.1SUSE-SU-2025:01614-1
SUSELinux Enterprise Live Patching 15 SP7kernel-livepatch-SLE15-SP7-RT_Update_11-150700.1.3.1SUSE-SU-2025:01972-1
SUSELinux Enterprise Live Patching 15 SP7kernel-livepatch-SLE15-SP7_Update_11-150700.15.3.1SUSE-SU-2025:01951-1
SUSELinux Enterprise Module for Basesystem 15 SP6kernel-64kb, kernel-source, kernel-default and 1 more6.4.0-150600.23.50.1SUSE-SU-2025:01614-1
SUSELinux Enterprise Module for Basesystem 15 SP6kernel-default-base6.4.0-150600.23.50.1.150600.12.22.1SUSE-SU-2025:01614-1
SUSELinux Enterprise Module for Basesystem 15 SP7kernel-64kb, kernel-source, kernel-default and 1 more6.4.0-150700.53.3.1SUSE-SU-2025:01951-1
SUSELinux Enterprise Module for Basesystem 15 SP7kernel-default-base6.4.0-150700.53.3.1.150700.17.2.1SUSE-SU-2025:01951-1
18 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.6dtb-aarch64, kernel-64kb, kernel-docs and 8 more6.4.0-150600.23.50.1SUSE-SU-2025:01614-1
openSUSELeap 15.6kernel-azure, kernel-syms-azure, kernel-source-azure6.4.0-150600.8.37.1SUSE-SU-2025:01707-1
openSUSELeap 15.6kernel-default-base6.4.0-150600.23.50.1.150600.12.22.1SUSE-SU-2025:01614-1
openSUSELeap 15.6kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more6.4.0-150600.10.39.1SUSE-SU-2025:01964-1
AlmaLinux9rv, perf, rtla and 73 more5.14.0-570.23.1.el9_6ALSA-2025:9302
AlmaLinux10kernel-doc, kernel-abi-stablelists6.12.0-55.19.1.el10_0ALSA-2025:9896
Rocky Linux9kernel0:5.14.0-570.23.1.el9_6RLSA-2025:9302
Alpaquita23linux-lts6.1.189-r0BELL-CVE-2025-22104
Alpaquita25linux-lts6.12.111-r0BELL-CVE-2025-22104
Alpaquitastreamlinux-lts6.18.35-r1BELL-CVE-2025-22104

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated as Moderate severity because exploitation is confined to local environments and requires access to virtualized IBM Power systems utilizing the ibmvnic device driver. In affected Red Hat Enterprise Linux deployments on IBM PowerVM, an authenticated local user can trigger an out-of-bounds read during driver buffer hex-dump operations. While this flaw could lead to kernel memory disclosure or a system crash causing a denial of service, it cannot be exploited remotely and does not impact systems running on other architectures.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10kernel-0:6.12.0-55.19.1.el10_0Fixed 2025-06-30RHSA-2025:9896
Red Hat Enterprise Linux 9kernel-0:5.14.0-570.23.1.el9_6Fixed 2025-06-23RHSA-2025:9302
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionskernel-0:5.14.0-70.138.1.el9_0Fixed 2025-07-14RHSA-2025:10830
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionskernel-rt-0:5.14.0-70.138.1.rt21.210.el9_0Fixed 2025-07-14RHSA-2025:10829
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionskernel-0:5.14.0-284.126.1.el9_2Fixed 2025-07-23RHSA-2025:11571
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionskernel-rt-0:5.14.0-284.126.1.rt14.411.el9_2Fixed 2025-07-23RHSA-2025:11572
Red Hat Enterprise Linux 9.4 Extended Update Supportkernel-0:5.14.0-427.79.1.el9_4Fixed 2025-07-28RHSA-2025:11810
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelOut of support scope
Red Hat Enterprise Linux 7kernel-rtOut of support scope
Red Hat Enterprise Linux 8kernelOut of support scope
Red Hat Enterprise Linux 8kernel-rtOut of support scope
Red Hat Enterprise Linux 9kernel-rtAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-22104.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON