Linux
drm/amdgpu: Fix UVD decode image min size calculation
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: Fix UVD decode image min size calculation This needs to use pitch instead of width. Also reject pitch over 4096 to avoid overflow. (cherry picked from commit b41c8cb12e202b220353332ab87dc01a11f69304)
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < bc7397a033ac52f6d8c9bb6510d61694b2a3fce7
- >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < d058f7a6709441afe1784eecd8c0643dd84750bc
- >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < b7549e3f96c78921751c4b3e69af729662130d83
- >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < 60539d517e8439621532d8c01091ac049c596b4b
- >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < 271a7da84a6262a09de549912dcf6a749d169cb6
- >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < 25ee120f3803ad9e416ef9f76f4c3234cc4d645b
- >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < 5cbd8af02b0b9c8723fa30edcf6fccab5170af8d
- >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < b8bb9ba3f101a1b0011f785a577a4a0a38371174
Fixed in bc7397a033ac52f6d8c9bb6510d61694b2a3fce7, d058f7a6709441afe1784eecd8c0643dd84750bc, b7549e3f96c78921751c4b3e69af729662130d83, 60539d517e8439621532d8c01091ac049c596b4b, 271a7da84a6262a09de549912dcf6a749d169cb6, 25ee120f3803ad9e416ef9f76f4c3234cc4d645b, 5cbd8af02b0b9c8723fa30edcf6fccab5170af8d, b8bb9ba3f101a1b0011f785a577a4a0a38371174
- 4.2
Fixed in 0, 5.10.266, 5.15.217, 6.1.184, 6.6.153, 6.12.105, 6.18.46, 7.1.10, 7.2
Mitigation
Upgrade Linux to bc7397a033ac52f6d8c9bb6510d61694b2a3fce7 or d058f7a6709441afe1784eecd8c0643dd84750bc or b7549e3f96c78921751c4b3e69af729662130d83 or 60539d517e8439621532d8c01091ac049c596b4b or 271a7da84a6262a09de549912dcf6a749d169cb6 or 25ee120f3803ad9e416ef9f76f4c3234cc4d645b or 5cbd8af02b0b9c8723fa30edcf6fccab5170af8d or b8bb9ba3f101a1b0011f785a577a4a0a38371174 or later.
Upgrade Linux to 0 or 5.10.266 or 5.15.217 or 6.1.184 or 6.6.153 or 6.12.105 or 6.18.46 or 7.1.10 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.