PoC Monitor
← All CVEs
CVE-2025-21993published 2 Apr 2025 12:53 UTCData: JSON · API

Linux

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

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.1high · scored by CISA ADP · CWE-125
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Linux Linux
  • >= 138fe4e069798d9aa948a5402ff15e58f483ee4e, < a858cd58dea06cf85b142673deea8c5d87f11e70
  • >= 138fe4e069798d9aa948a5402ff15e58f483ee4e, < f763c82db8166e28f45b7cc4a5398a7859665940
  • >= 138fe4e069798d9aa948a5402ff15e58f483ee4e, < b388e185bfad32bfed6a97a6817f74ca00a4318f
  • >= 138fe4e069798d9aa948a5402ff15e58f483ee4e, < 9bfa80c8aa4e06dff55a953c3fffbfc68a3a3b1c
  • >= 138fe4e069798d9aa948a5402ff15e58f483ee4e, < 2d1eef248107bdf3d5a69d0fde04c30a79a7bf5d
  • >= 138fe4e069798d9aa948a5402ff15e58f483ee4e, < b253660fac5e0e9080d2c95e3a029e1898d49afb
  • >= 138fe4e069798d9aa948a5402ff15e58f483ee4e, < c1c6e527470e5eab0b2d57bd073530fbace39eab
  • >= 138fe4e069798d9aa948a5402ff15e58f483ee4e, < 07e0d99a2f701123ad3104c0f1a1e66bce74d6e5

Fixed in a858cd58dea06cf85b142673deea8c5d87f11e70, f763c82db8166e28f45b7cc4a5398a7859665940, b388e185bfad32bfed6a97a6817f74ca00a4318f, 9bfa80c8aa4e06dff55a953c3fffbfc68a3a3b1c, 2d1eef248107bdf3d5a69d0fde04c30a79a7bf5d, b253660fac5e0e9080d2c95e3a029e1898d49afb, c1c6e527470e5eab0b2d57bd073530fbace39eab, 07e0d99a2f701123ad3104c0f1a1e66bce74d6e5

Linux Linux
  • 2.6.26

Fixed in 0, 5.4.292, 5.10.236, 5.15.180, 6.1.132, 6.6.84, 6.12.20, 6.13.8, 6.14

Mitigation

Upgrade Linux to a858cd58dea06cf85b142673deea8c5d87f11e70 or f763c82db8166e28f45b7cc4a5398a7859665940 or b388e185bfad32bfed6a97a6817f74ca00a4318f or 9bfa80c8aa4e06dff55a953c3fffbfc68a3a3b1c or 2d1eef248107bdf3d5a69d0fde04c30a79a7bf5d or b253660fac5e0e9080d2c95e3a029e1898d49afb or c1c6e527470e5eab0b2d57bd073530fbace39eab or 07e0d99a2f701123ad3104c0f1a1e66bce74d6e5 or later.

Upgrade Linux to 0 or 5.4.292 or 5.10.236 or 5.15.180 or 6.1.132 or 6.6.84 or 6.12.20 or 6.13.8 or 6.14 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published2 Apr 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.