CVE-2025-21993

iscsi_ibft: Fix UBSAN shift-out-of-bounds warning in ibft_attr_show_nic()

HIGH
7.1
CVSS Score
Published: April 2, 2025 at 12:53 PM UTC
Updated: June 17, 2026 at 08:44 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.1
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: iscsi_ibft: Fix UBSAN shift-out-of-bounds warning in ibft_attr_show_nic() When performing an iSCSI boot using IPv6, iscsistart still reads the /sys/firmware/ibft/ethernetX/subnet-mask entry. Since the IPv6 prefix length is 64, this causes the shift exponent to become negative, triggering a UBSAN warning. As the concept of a subnet mask does not apply to IPv6, the value is set to ~0 to suppress the warning message.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 6.1.1322.6.26 ≤ v < 5.10.2362.6.26 ≤ v < 5.15.1802.6.26 ≤ v < 5.4.2922.6.26 ≤ v < 6.1.1322.6.26 ≤ v < 6.12.202.6.26 ≤ v < 6.13.82.6.26 ≤ v < 6.142.6.26 ≤ v < 6.6.846.13 ≤ v < 6.13.86.2 ≤ v < 6.6.846.7 ≤ v < 6.12.20138fe4e069798d9aa948a5402ff15e58f483ee4e6.14 rc1
Vendor states this is fixed in 07e0d99a2f701123ad3104c0f1a1e66bce74d6e5 (fixed)
Vendor states this is fixed in 2d1eef248107bdf3d5a69d0fde04c30a79a7bf5d (fixed)
Vendor states this is fixed in 9bfa80c8aa4e06dff55a953c3fffbfc68a3a3b1c (fixed)
Vendor states this is fixed in a858cd58dea06cf85b142673deea8c5d87f11e70 (fixed)
Vendor states this is fixed in b253660fac5e0e9080d2c95e3a029e1898d49afb (fixed)
Vendor states this is fixed in b388e185bfad32bfed6a97a6817f74ca00a4318f (fixed)
Vendor states this is fixed in c1c6e527470e5eab0b2d57bd073530fbace39eab (fixed)
Vendor states this is fixed in f763c82db8166e28f45b7cc4a5398a7859665940 (fixed)
Vendor states this is fixed in 2.6.26 (unaffected)
Vendor states this is fixed in 5.10.236 (unaffected)
Vendor states this is fixed in 5.15.180 (unaffected)
Vendor states this is fixed in 5.4.292 (unaffected)
Vendor states this is fixed in 6.1.132 (unaffected)
Vendor states this is fixed in 6.12.20 (unaffected)
Vendor states this is fixed in 6.13.8 (unaffected)
Vendor states this is fixed in 6.14 (unaffected)
Vendor states this is fixed in 6.6.84 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/07e0d99a2f701123ad3104c0f1a1e66bce74d6e5
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2d1eef248107bdf3d5a69d0fde04c30a79a7bf5d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9bfa80c8aa4e06dff55a953c3fffbfc68a3a3b1c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a858cd58dea06cf85b142673deea8c5d87f11e70
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b253660fac5e0e9080d2c95e3a029e1898d49afb
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b388e185bfad32bfed6a97a6817f74ca00a4318f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c1c6e527470e5eab0b2d57bd073530fbace39eab
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f763c82db8166e28f45b7cc4a5398a7859665940

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.1HIGHCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-125

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card