drm/amd/display: fix shift-out-of-bounds in CalculateVMAndRowBytes
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.15.104, Kernel 6.1.21, Kernel 5.10.176 and 6 more.
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: fix shift-out-of-bounds in CalculateVMAndRowBytes [WHY] When PTEBufferSizeInRequests is zero, UBSAN reports the following warning because dml_log2 returns an unexpected negative value: shift exponent 4294966273 is too large for 32-bit type 'int' [HOW] In the case PTEBufferSizeInRequests is zero, skip the dml_log2() and assign the result directly.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=5.11 <5.15.104, >=5.16 <6.1.21, >=5.9 <5.10.176, >=6.2 <6.2.8, >=6725a88f88a7e922e91c45bf83d320487810c192 <7257070be70e19a9138f39009c1a26c83a8a7cfa, >=6725a88f88a7e922e91c45bf83d320487810c192 <a16394b5d661afec9a264fecac3abd87aea439ea, >=6725a88f88a7e922e91c45bf83d320487810c192 <bec1bea2fa974e63f6059c33edde669c7894d0bc, >=6725a88f88a7e922e91c45bf83d320487810c192 <e12b95680821b9880cd9992c0f3555389363604f, =5.9, >=6725a88f88a7e922e91c45bf83d320487810c192 <031f196d1b1b6d5dfcb0533b431e3ab1750e6189 | 5.15.104, 6.1.21, 5.10.176, 6.2.8, 7257070be70e19a9138f39009c1a26c83a8a7cfa, a16394b5d661afec9a264fecac3abd87aea439ea, bec1bea2fa974e63f6059c33edde669c7894d0bc, e12b95680821b9880cd9992c0f3555389363604f, 031f196d1b1b6d5dfcb0533b431e3ab1750e6189 |
| linux-kernel: Kernel | >=5.11.0 <5.15.104, >=5.16.0 <6.1.21, >=5.9.0 <5.10.176, >=6.2.0 <6.2.8 | 5.15.104, 6.1.21, 5.10.176, 6.2.8 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket