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
Configurations
Configuration 1 (hide)
|
History
10 Apr 2025, 13:24
Type | Values Removed | Values Added |
---|---|---|
Summary |
|
|
CWE | CWE-125 | |
References |
|
|
References | () https://git.kernel.org/stable/c/07e0d99a2f701123ad3104c0f1a1e66bce74d6e5 - Patch | |
References | () https://git.kernel.org/stable/c/2d1eef248107bdf3d5a69d0fde04c30a79a7bf5d - Patch | |
References | () https://git.kernel.org/stable/c/9bfa80c8aa4e06dff55a953c3fffbfc68a3a3b1c - Patch | |
References | () https://git.kernel.org/stable/c/b253660fac5e0e9080d2c95e3a029e1898d49afb - Patch | |
References | () https://git.kernel.org/stable/c/c1c6e527470e5eab0b2d57bd073530fbace39eab - Patch | |
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 7.1 |
CPE | cpe:2.3:o:linux:linux_kernel:6.14:rc1:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
|
First Time |
Linux linux Kernel
Linux |
02 Apr 2025, 13:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2025-04-02 13:15
Updated : 2025-04-10 13:24
NVD link : CVE-2025-21993
Mitre link : CVE-2025-21993
CVE.ORG link : CVE-2025-21993
JSON object : View
Products Affected
linux
- linux_kernel
CWE
CWE-125
Out-of-bounds Read