Kernel undefined behavior via invalid shift count
Published May 2, 2025 · Updated May 11, 2026
Undefined behavior in the AMD display mode library in Linux allows local users to trigger an invalid bit shift through a zero-sized PTE buffer. CalculateVMAndRowBytes passes zero PTEBufferSizeInRequests through dml_log2(), then uses the unexpected negative result as a shift count. Reachability requires the AMD display driver and the zero-size buffer state; public records identify a UBSAN warning but establish no crash or data impact.
Summary
What happened
Undefined behavior in the AMD display mode library in Linux allows local users to trigger an invalid bit shift through a zero-sized PTE buffer. CalculateVMAndRowBytes passes zero PTEBufferSizeInRequests through dml_log2(), then uses the unexpected negative result as a shift count. Reachability requires the AMD display driver and the zero-size buffer state; public records identify a UBSAN warning but establish no crash or data impact.
The record
- CVE
- CVE-2023-53077
- Published
- May 2, 2025
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- Unavailable
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 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=5.9
- Affected versionversion=6725a88f88a7e922e91c45bf83d320487810c192 <031f196d1b1b6d5dfcb0533b431e3ab1750e6189
- Affected versionversion=6725a88f88a7e922e91c45bf83d320487810c192 <7257070be70e19a9138f39009c1a26c83a8a7cfa
- Affected versionversion=6725a88f88a7e922e91c45bf83d320487810c192 <a16394b5d661afec9a264fecac3abd87aea439ea
- Affected versionversion=6725a88f88a7e922e91c45bf83d320487810c192 <bec1bea2fa974e63f6059c33edde669c7894d0bc
- Affected versionversion=6725a88f88a7e922e91c45bf83d320487810c192 <e12b95680821b9880cd9992c0f3555389363604f
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
No sourced classifications are available.
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