CVE-2025-21993: Linux kernel · iscsi_ibft: Fix UBSAN shift-out-of-bounds warning in ibft_attr_show_nic()
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 7.1 High · fixed in 5.4.0-1147.157~18.04.1 : patch Linux kernel soon.
Data as of 28 Oct 2026, 11:14 UTC
- Patch
- Available – fixed in 5.4.0-1147.157~18.04.1, 5.4.0-1152.159~18.04.1, 5.4.0-1150.159~18.04.1 +83
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 2 Apr 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
- ubuntu.com/security/notices/USN-7445-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7448-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7449-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7450-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7451-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7452-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7453-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7455-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7455-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7455-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7459-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7460-1 (opens in a new tab)
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-6.11pkg:deb/ubuntu/linux-azure-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-nvidiapkg:deb/ubuntu/linux-azure-nvidia?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2025-21993 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-21993 (opens in a new tab)
- git.kernel.org/linus/07e0d99a2f701123ad3104c0f1a1e66bce74d6e5 (opens in a new tab)
- git.kernel.org/stable/c/07e0d99a2f701123ad3104c0f1a1e66bce74d6e5 (opens in a new tab)
- git.kernel.org/stable/c/2d1eef248107bdf3d5a69d0fde04c30a79a7bf5d (opens in a new tab)
- git.kernel.org/stable/c/9bfa80c8aa4e06dff55a953c3fffbfc68a3a3b1c (opens in a new tab)
- git.kernel.org/stable/c/b253660fac5e0e9080d2c95e3a029e1898d49afb (opens in a new tab)
- git.kernel.org/stable/c/c1c6e527470e5eab0b2d57bd073530fbace39eab (opens in a new tab)
- ubuntu.com/security/notices/USN-7445-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7448-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7449-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7450-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7451-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7452-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7453-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7455-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7455-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7455-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7459-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7460-1 (opens in a new tab)