UBSAN warning via negative IPv6 prefix shift
Published Apr 2, 2025 · Updated May 11, 2026
Shift-out-of-bounds in Linux iscsi_ibft allows local users to trigger a UBSAN warning by reading an IPv6 iBFT subnet-mask entry. In ibft_attr_show_nic(), a 64-bit IPv6 prefix length is subtracted from 32 and used as a shift exponent while formatting the IPv4-style subnet-mask sysfs attribute. Reachability requires an ACPI iBFT table with an IPv6 prefix longer than 32 bits during iSCSI boot, a hardware or firmware condition that attackers cannot control; published material documents the warning rather than a controlled disclosure or service interruption.
Summary
What happened
Shift-out-of-bounds in Linux iscsi_ibft allows local users to trigger a UBSAN warning by reading an IPv6 iBFT subnet-mask entry. In ibft_attr_show_nic(), a 64-bit IPv6 prefix length is subtracted from 32 and used as a shift exponent while formatting the IPv4-style subnet-mask sysfs attribute. Reachability requires an ACPI iBFT table with an IPv6 prefix longer than 32 bits during iSCSI boot, a hardware or firmware condition that attackers cannot control; published material documents the warning rather than a controlled disclosure or service interruption.
The record
- CVE
- CVE-2025-21993
- Published
- Apr 2, 2025
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-125
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 2, 2025CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=138fe4e069798d9aa948a5402ff15e58f483ee4e <07e0d99a2f701123ad3104c0f1a1e66bce74d6e5
- Affected versionversion=138fe4e069798d9aa948a5402ff15e58f483ee4e <2d1eef248107bdf3d5a69d0fde04c30a79a7bf5d
- Affected versionversion=138fe4e069798d9aa948a5402ff15e58f483ee4e <9bfa80c8aa4e06dff55a953c3fffbfc68a3a3b1c
- Affected versionversion=138fe4e069798d9aa948a5402ff15e58f483ee4e <a858cd58dea06cf85b142673deea8c5d87f11e70
- Affected versionversion=138fe4e069798d9aa948a5402ff15e58f483ee4e <b253660fac5e0e9080d2c95e3a029e1898d49afb
- Affected versionversion=138fe4e069798d9aa948a5402ff15e58f483ee4e <b388e185bfad32bfed6a97a6817f74ca00a4318f
- Affected versionversion=138fe4e069798d9aa948a5402ff15e58f483ee4e <c1c6e527470e5eab0b2d57bd073530fbace39eab
- Affected versionversion=138fe4e069798d9aa948a5402ff15e58f483ee4e <f763c82db8166e28f45b7cc4a5398a7859665940
- Affected versionversion=2.6.26
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo