1. Home
  2. Vulnerabilities
  3. CVE-2025-21993

CVE-2025-21993

In the Linux kernel, the following vulnerability has been resolved: iscsi_ibft: Fix UBSAN shift-out-of-bounds…

Published 2 Apr 2025 · modified 17 Jun 2026 · Sources: NVD, EPSS (FIRST)

Low 31/100

Summary

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 products and versions

Linux (5 line(s))
Linux
ProductVersionsFixed inSource
Linux kernel before 6.1.132 (excluded) — NVD
Linux kernel from 6.2 (included) to 6.6.84 (excluded) — NVD
Linux kernel from 6.7 (included) to 6.12.20 (excluded) — NVD
Linux kernel from 6.13 (included) to 6.13.8 (excluded) — NVD
Linux kernel 6.14 — NVD

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
NVD
CVSS score
NVD
Weakness (CWE)
NVD
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H (CVSS 3.1, NVD)
Weakness
CWE-125 · Corruption mémoire

How this data is obtained and calculated