Skip to content
CVE PROGRAM SOURCE RECORD7.1 High

CVE-2025-21993

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 138fe4e069798d9aa948a5402ff15e58f483ee4e to < a858cd58dea06cf85b142673deea8c5d87f11e70affected
  • 138fe4e069798d9aa948a5402ff15e58f483ee4e to < f763c82db8166e28f45b7cc4a5398a7859665940affected
  • 138fe4e069798d9aa948a5402ff15e58f483ee4e to < b388e185bfad32bfed6a97a6817f74ca00a4318faffected
  • 138fe4e069798d9aa948a5402ff15e58f483ee4e to < 9bfa80c8aa4e06dff55a953c3fffbfc68a3a3b1caffected
  • 138fe4e069798d9aa948a5402ff15e58f483ee4e to < 2d1eef248107bdf3d5a69d0fde04c30a79a7bf5daffected
  • 138fe4e069798d9aa948a5402ff15e58f483ee4e to < b253660fac5e0e9080d2c95e3a029e1898d49afbaffected
  • 138fe4e069798d9aa948a5402ff15e58f483ee4e to < c1c6e527470e5eab0b2d57bd073530fbace39eabaffected
  • 138fe4e069798d9aa948a5402ff15e58f483ee4e to < 07e0d99a2f701123ad3104c0f1a1e66bce74d6e5affected

Linux Linux

Default version status: affected

  • 2.6.26affected
  • 0 to < 2.6.26unaffected
  • 5.4.292 to ≤ 5.4.*unaffected
  • 5.10.236 to ≤ 5.10.*unaffected
  • 5.15.180 to ≤ 5.15.*unaffected
  • 6.1.132 to ≤ 6.1.*unaffected
  • 6.6.84 to ≤ 6.6.*unaffected
  • 6.12.20 to ≤ 6.12.*unaffected
  • 6.13.8 to ≤ 6.13.*unaffected
  • 6.14 to ≤ *unaffected

References