# CVE-2025-21993: iscsi_ibft: Fix UBSAN shift-out-of-bounds warning in ibft_attr_show_nic()

- Severity: High 7.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2025-04-02T12:53:15.513Z
- Modified: 2026-06-17T08:44:47.567Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 138fe4e069798d9aa948a5402ff15e58f483ee4e before a858cd58dea06cf85b142673deea8c5d87f11e70; from 138fe4e069798d9aa948a5402ff15e58f483ee4e before f763c82db8166e28f45b7cc4a5398a7859665940; from 138fe4e069798d9aa948a5402ff15e58f483ee4e before b388e185bfad32bfed6a97a6817f74ca00a4318f; from 138fe4e069798d9aa948a5402ff15e58f483ee4e before 9bfa80c8aa4e06dff55a953c3fffbfc68a3a3b1c; from 138fe4e069798d9aa948a5402ff15e58f483ee4e before 2d1eef248107bdf3d5a69d0fde04c30a79a7bf5d; from 138fe4e069798d9aa948a5402ff15e58f483ee4e before b253660fac5e0e9080d2c95e3a029e1898d49afb; from 138fe4e069798d9aa948a5402ff15e58f483ee4e before c1c6e527470e5eab0b2d57bd073530fbace39eab; from 138fe4e069798d9aa948a5402ff15e58f483ee4e before 07e0d99a2f701123ad3104c0f1a1e66bce74d6e5; 2.6.26 (not affected: before 2.6.26; from 5.4.292 up to 5.4.*; from 5.10.236 up to 5.10.*; from 5.15.180 up to 5.15.*; from 6.1.132 up to 6.1.*; from 6.6.84 up to 6.6.*; from 6.12.20 up to 6.12.*; from 6.13.8 up to 6.13.*; from 6.14 up to *)
- linux linux_kernel: before 6.1.132; from 6.2 before 6.6.84; from 6.7 before 6.12.20; from 6.13 before 6.13.8; 6.14

## Every score

- CISA-ADP: 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`
- NVD: 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`

## References

- <https://git.kernel.org/stable/c/a858cd58dea06cf85b142673deea8c5d87f11e70> (patch)
- <https://git.kernel.org/stable/c/f763c82db8166e28f45b7cc4a5398a7859665940> (patch)
- <https://git.kernel.org/stable/c/b388e185bfad32bfed6a97a6817f74ca00a4318f> (patch)
- <https://git.kernel.org/stable/c/9bfa80c8aa4e06dff55a953c3fffbfc68a3a3b1c> (patch)
- <https://git.kernel.org/stable/c/2d1eef248107bdf3d5a69d0fde04c30a79a7bf5d> (patch)
- <https://git.kernel.org/stable/c/b253660fac5e0e9080d2c95e3a029e1898d49afb> (patch)
- <https://git.kernel.org/stable/c/c1c6e527470e5eab0b2d57bd073530fbace39eab> (patch)
- <https://git.kernel.org/stable/c/07e0d99a2f701123ad3104c0f1a1e66bce74d6e5> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html>
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html>

## Sources

- CVE List: [CVE-2025-21993](https://www.cve.org/CVERecord?id=CVE-2025-21993), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-21993](https://nvd.nist.gov/vuln/detail/CVE-2025-21993), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-21993 · Whole record: https://cve.day/CVE-2025-21993.json · Rebuilt by cve.day 2026-11-25T22:58:55.954Z
