Skip to content
Fencer Vulns
high 7.8

CVE-2025-21724 json

iommufd/iova_bitmap: Fix shift-out-of-bounds in iova_bitmap_offset_to_index()

published 2025-02-27 20 mo ago modified 2026-11-05 3 d ago also EUVD-2025-5222

cvss
7.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 8%
public exploits
0
none known

Summary

In the Linux kernel, the following vulnerability has been resolved:

iommufd/iova_bitmap: Fix shift-out-of-bounds in iova_bitmap_offset_to_index()

Resolve a UBSAN shift-out-of-bounds issue in iova_bitmap_offset_to_index() where shifting the constant "1" (of type int) by bitmap->mapped.pgshift (an unsigned long value) could result in undefined behavior.

The constant "1" defaults to a 32-bit "int", and when "pgshift" exceeds 31 (e.g., pgshift = 63) the shift operation overflows, as the result cannot be represented in a 32-bit type.

To resolve this, the constant is updated to "1UL", promoting it to an unsigned long type to match the operand's type.

Patch / fix

  • Linux Linux 6.1.129, 6.6.76, 6.12.13, 6.13.2, 6.14
  • linux Debian 12 6.1.129-1
  • linux Debian 14, Debian 13 6.12.13-1

debian advisories DEBIAN-CVE-2025-21724

  • linux Ubuntu 24.04 LTS 6.8.0-64.67
  • linux-aws Ubuntu 24.04 LTS 6.8.0-1032.34
  • linux-gcp Ubuntu 24.04 LTS 6.8.0-1033.35
  • linux-gke Ubuntu 24.04 LTS 6.8.0-1028.32
  • linux-ibm Ubuntu 24.04 LTS 6.8.0-1029.29
  • linux-azure Ubuntu 24.04 LTS 6.8.0-1034.39
  • linux-gkeop Ubuntu 24.04 LTS 6.8.0-1015.17
  • linux-raspi Ubuntu 24.04 LTS 6.8.0-1031.35

ubuntu advisories UBUNTU-CVE-2025-21724

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • kernel-rt RHEL 9.2 E4S 5.14.0-284.154.1.rt14.439.el9_2
  • kernel-rt-kvm RHEL 9.2 E4S 5.14.0-284.154.1.rt14.439.el9_2
  • kernel-rt-core RHEL 9.2 E4S 5.14.0-284.154.1.rt14.439.el9_2
  • kernel-rt-modules RHEL 9.2 E4S 5.14.0-284.154.1.rt14.439.el9_2
  • kernel-rt-debug-kvm RHEL 9.2 E4S 5.14.0-284.154.1.rt14.439.el9_2
  • kernel-rt-debug-core RHEL 9.2 E4S 5.14.0-284.154.1.rt14.439.el9_2
  • kernel-rt-modules-core RHEL 9.2 E4S 5.14.0-284.154.1.rt14.439.el9_2
  • kernel-rt-debug-modules RHEL 9.2 E4S 5.14.0-284.154.1.rt14.439.el9_2

red hat advisories RHSA-2026:1443RHSA-2026:1441RHSA-2026:0917

  • kernel-coco SLE Module for Confidential Computing Technical Preview 15 SP6 6.4.0-15061.21.coco15sp6.1
  • kernel-syms-coco SLE Module for Confidential Computing Technical Preview 15 SP6 6.4.0-15061.21.coco15sp6.1
  • kernel-coco_debug SLE Module for Confidential Computing Technical Preview 15 SP6 6.4.0-15061.21.coco15sp6.1
  • kernel-source-coco SLE Module for Confidential Computing Technical Preview 15 SP6 6.4.0-15061.21.coco15sp6.1
  • kernel-source Linux Micro 6.1, Linux Micro 6.0 6.4.0-28.1
  • kernel-default Linux Micro 6.1, Linux Micro 6.0 6.4.0-28.1
  • kernel-kvmsmall Linux Micro 6.1, Linux Micro 6.0 6.4.0-28.1
  • kernel-default-base Linux Micro 6.1, Linux Micro 6.0 6.4.0-28.1.21.6

suse advisories SUSE-SU-2025:01919-1SUSE-SU-2025:20192-1SUSE-SU-2025:20270-1SUSE-SU-2025:20190-1SUSE-SU-2025:20260-1SUSE-SU-2025:0955-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-21724 updated cvss 7.3

kernel: Linux kernel: iommufd/iova_bitmap shift-out-of-bounds vulnerability

  • Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more
    affected: workaround, no fix available
  • Red Hat CodeReady Linux Builder EUS (v.9.4) libperf 5.14.0-427.107.1.el9_4, kernel-debuginfo-common-s390x 5.14.0-427.107.1.el9_4, kernel-debuginfo-common-x86_64 5.14.0-427.107.1.el9_4, kernel-debuginfo-common-aarch64 5.14.0-427.107.1.el9_4, kernel-debuginfo-common-ppc64le 5.14.0-427.107.1.el9_4
    fixed: vendor fix RHSA-2026:0917
  • Red Hat Enterprise Linux AppStream E4S (v.9.2) perf 5.14.0-284.154.1.el9_2, rtla 5.14.0-284.154.1.el9_2, kernel-devel-matched 5.14.0-284.154.1.el9_2, kernel-64k-devel-matched 5.14.0-284.154.1.el9_2, kernel-debug-devel-matched 5.14.0-284.154.1.el9_2, kernel-debuginfo-common-s390x 5.14.0-284.154.1.el9_2, +5 more
    fixed: vendor fix RHSA-2026:1441
  • Red Hat Enterprise Linux AppStream EUS (v.9.4) rv 5.14.0-427.107.1.el9_4, perf 5.14.0-427.107.1.el9_4, rtla 5.14.0-427.107.1.el9_4, kernel-devel-matched 5.14.0-427.107.1.el9_4, kernel-64k-devel-matched 5.14.0-427.107.1.el9_4, kernel-debug-devel-matched 5.14.0-427.107.1.el9_4, +6 more
    fixed: vendor fix RHSA-2026:0917
  • Red Hat Enterprise Linux BaseOS E4S (v.9.2) bpftool 7.0.0-284.154.1.el9_2, kernel 5.14.0-284.154.1.el9_2, kernel-64k 5.14.0-284.154.1.el9_2, kernel-core 5.14.0-284.154.1.el9_2, kernel-tools 5.14.0-284.154.1.el9_2, python3-perf 5.14.0-284.154.1.el9_2, +28 more
    fixed: vendor fix RHSA-2026:1441
  • Red Hat Enterprise Linux BaseOS EUS (v.9.4) bpftool 7.3.0-427.107.1.el9_4, kernel 5.14.0-427.107.1.el9_4, kernel-64k 5.14.0-427.107.1.el9_4, kernel-core 5.14.0-427.107.1.el9_4, kernel-tools 5.14.0-427.107.1.el9_4, python3-perf 5.14.0-427.107.1.el9_4, +28 more
    fixed: vendor fix RHSA-2026:0917
  • Red Hat Enterprise Linux Real Time E4S (v.9.2) kernel-rt 5.14.0-284.154.1.rt14.439.el9_2, kernel-rt-core 5.14.0-284.154.1.rt14.439.el9_2, kernel-rt-modules 5.14.0-284.154.1.rt14.439.el9_2, kernel-rt-debug-core 5.14.0-284.154.1.rt14.439.el9_2, kernel-rt-modules-core 5.14.0-284.154.1.rt14.439.el9_2, kernel-rt-debug-modules 5.14.0-284.154.1.rt14.439.el9_2, +4 more
    fixed: vendor fix RHSA-2026:1443
  • Red Hat Enterprise Linux Real Time EUS (v.9.4) kernel-rt 5.14.0-427.107.1.el9_4, kernel-rt-core 5.14.0-427.107.1.el9_4, kernel-rt-modules 5.14.0-427.107.1.el9_4, kernel-rt-debug-core 5.14.0-427.107.1.el9_4, kernel-rt-modules-core 5.14.0-427.107.1.el9_4, kernel-rt-debug-modules 5.14.0-427.107.1.el9_4, +4 more
    fixed: vendor fix RHSA-2026:0917
show 3 more
  • Red Hat Enterprise Linux Real Time for NFV E4S (v.9.2) kernel-rt 5.14.0-284.154.1.rt14.439.el9_2, kernel-rt-kvm 5.14.0-284.154.1.rt14.439.el9_2, kernel-rt-core 5.14.0-284.154.1.rt14.439.el9_2, kernel-rt-modules 5.14.0-284.154.1.rt14.439.el9_2, kernel-rt-debug-kvm 5.14.0-284.154.1.rt14.439.el9_2, kernel-rt-debug-core 5.14.0-284.154.1.rt14.439.el9_2, +6 more
    fixed: vendor fix RHSA-2026:1443
  • Red Hat Enterprise Linux Real Time for NFV EUS (v.9.4) kernel-rt 5.14.0-427.107.1.el9_4, kernel-rt-kvm 5.14.0-427.107.1.el9_4, kernel-rt-core 5.14.0-427.107.1.el9_4, kernel-rt-modules 5.14.0-427.107.1.el9_4, kernel-rt-debug-kvm 5.14.0-427.107.1.el9_4, kernel-rt-debug-core 5.14.0-427.107.1.el9_4, +6 more
    fixed: vendor fix RHSA-2026:0917
  • Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 10 kernel
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-26-295-16 updated cvss 5.5

Siemens SIMATIC S7-1500 TM MFP

  • Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem
    affected: mitigation, no fix available

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

cisa ICSA-25-162-05 updated cvss 5.5

Siemens SIMATIC S7-1500 CPU family

  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= 3.1.5 Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) >= 3.1.5 Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) >= 3.1.5
    affected: mitigation, no fix available

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
3 d ago

Exploit prediction

0.19% chance of exploitation in the next 30 days, higher than 8% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

  • Linux Linux
  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
  • Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
  • Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem
  • Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP

Classification

Weakness
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.