7.1
CWE
125
Advisory Published
Updated

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

First published: Wed Apr 02 2025(Updated: )

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.

Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Affected SoftwareAffected VersionHow to fix
Linux Kernel
Linux Kernel<6.1.132
Linux Kernel>=6.2<6.6.84
Linux Kernel>=6.7<6.12.20
Linux Kernel>=6.13<6.13.8
Linux Kernel=6.14-rc1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2025-21993?

    CVE-2025-21993 is classified as a moderate severity vulnerability in the Linux kernel.

  • How do I fix CVE-2025-21993?

    To mitigate CVE-2025-21993, update to the latest version of the Linux kernel where the vulnerability has been patched.

  • Which versions of the Linux kernel are affected by CVE-2025-21993?

    CVE-2025-21993 affects multiple versions of the Linux kernel, and specifically those that do not include the fix.

  • What kind of attack vector is associated with CVE-2025-21993?

    CVE-2025-21993 can be exploited during iSCSI boot processes using IPv6 settings.

  • Is there a risk of data loss with CVE-2025-21993?

    Exploitation of CVE-2025-21993 does not directly indicate a risk of data loss but could lead to denial of service conditions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203