Out-of-bounds Read in Linux
CVE-2025-21993
- CVSS v3
- 7.1 High
- Public exploits
- None known
- EPSS
- 0.002 · 12.9th percentile
- Published
- 2025-04-02
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H.
- Attack Vector
- Local
AV:L - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- None
I:N - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.002, 12.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 138fe4e069798d9aa948a5402ff15e58f483ee4e, 2.6.26, 0
- Linux Kernel — versions 6.14
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 4 other repositories (ARPSyndicate/cve-scores, fkie-cad/nvd-json-data-feeds, runwhen-contrib/helm-charts, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- git.kernel.org/stable/c/a858cd58dea06cf85b142673deea8c5d87f11e70 (Patch)
- git.kernel.org/stable/c/f763c82db8166e28f45b7cc4a5398a7859665940 (Patch)
- git.kernel.org/stable/c/b388e185bfad32bfed6a97a6817f74ca00a4318f (Patch)
- git.kernel.org/stable/c/9bfa80c8aa4e06dff55a953c3fffbfc68a3a3b1c (Patch)
- git.kernel.org/stable/c/2d1eef248107bdf3d5a69d0fde04c30a79a7bf5d (Patch)
- git.kernel.org/stable/c/b253660fac5e0e9080d2c95e3a029e1898d49afb (Patch)
- git.kernel.org/stable/c/c1c6e527470e5eab0b2d57bd073530fbace39eab (Patch)
- git.kernel.org/stable/c/07e0d99a2f701123ad3104c0f1a1e66bce74d6e5 (Patch)
- lists.debian.org/debian-lts-announce/2025/05/msg00030.html
- lists.debian.org/debian-lts-announce/2025/05/msg00045.html