drm/amd/display: check dc_state_create_copy() for NULL in dm_suspend
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel ed65678bb23a5f5040932960851ac39bdeafb765, Kernel 6.6.160, Kernel 015e72cde567d2450e282c2790773463156b2d0a and 12 more.
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: check dc_state_create_copy() for NULL in dm_suspend dc_state_create_copy() can return NULL on allocation failure. dm_suspend() only conditionally skips dm_gpureset_toggle_interrupts() and continues execution, returning success. dm_resume() then dereferences the NULL cached_dc_state in link_enc_cfg_copy() and the following dc_state->stream_count loop, crashing during GPU reset recovery. Return -ENOMEM immediately if the copy fails, so the caller aborts suspend instead of leaving a NULL cached state for resume. (cherry picked from commit 84b6d7932fdd2857795a257f9f258562a3cddcab)
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=d0b8b23b9c2ebec693a36fea518d8f13493ad655 <ed65678bb23a5f5040932960851ac39bdeafb765, >=6.6.46 <6.6.160, >=8092aa3ab8f7b737a34b71f91492c676a843043a <015e72cde567d2450e282c2790773463156b2d0a, >=8092aa3ab8f7b737a34b71f91492c676a843043a <197946faa1b7968046ba475ae2f266847c6f51ed, >=8092aa3ab8f7b737a34b71f91492c676a843043a <686baa1f4ec43b33e39e3d4b4a4539a91d17e883, >=8092aa3ab8f7b737a34b71f91492c676a843043a <7283b78ca07ce491984a63f6288f3f8de5bdcb22, >=83c7f509ef087041604e9572938f82e18b724c9d <0b24f9d4e6e8ab64da8f2ae85bd1790d0f6a596f, =1686675405d07f35eae7ff3d13a530034b899df2, =6.11, =ea000e4b4ee5363997715531cb3d024b4e5d561c, >=4cc2a94d96caeb3c975acdae7351c2f997c32175 <29302964ef583f3a57efc3c990bc0a71337bd3a4, >=5.10.258 <5.11, >=5.15.165 <5.15.224, >=6.1.105 <6.1.191, >=6.10.5 <6.11 | ed65678bb23a5f5040932960851ac39bdeafb765, 6.6.160, 015e72cde567d2450e282c2790773463156b2d0a, 197946faa1b7968046ba475ae2f266847c6f51ed, 686baa1f4ec43b33e39e3d4b4a4539a91d17e883, 7283b78ca07ce491984a63f6288f3f8de5bdcb22, 0b24f9d4e6e8ab64da8f2ae85bd1790d0f6a596f, 29302964ef583f3a57efc3c990bc0a71337bd3a4, 5.11, 5.15.224, 6.1.191, 6.11 |
| linux-kernel: Kernel | >=5.16.0 <6.1.191, >=6.11.0 <6.18.56, >=6.13.0 <7.2.10, >=6.2.0 <6.6.160, >=6.7.0 <6.12.113, <5.15.224 | 6.1.191, 6.18.56, 7.2.10, 6.6.160, 6.12.113, 5.15.224 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket