CVE-2025-21993

Severity CVSS v4.0:
Pending analysis
Type:
CWE-125 Out-of-bounds Read
Publication date:
02/04/2025
Last modified:
03/11/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> iscsi_ibft: Fix UBSAN shift-out-of-bounds warning in ibft_attr_show_nic()<br /> <br /> When performing an iSCSI boot using IPv6, iscsistart still reads the<br /> /sys/firmware/ibft/ethernetX/subnet-mask entry. Since the IPv6 prefix<br /> length is 64, this causes the shift exponent to become negative,<br /> triggering a UBSAN warning. As the concept of a subnet mask does not<br /> apply to IPv6, the value is set to ~0 to suppress the warning message.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.1.132 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.2 (including) 6.6.84 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.12.20 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.13 (including) 6.13.8 (excluding)
cpe:2.3:o:linux:linux_kernel:6.14:rc1:*:*:*:*:*:*