crypto: ccp - Fix possible deadlock in SEV init failure path
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel ffd3a3df92be697eb78118a146c6a5d5e6c1f724, Kernel 364f3841bc22c72b6e2cb72a1e3c91c9c8fc1ef4, Kernel 8e7e06ee7c2938ee3fa31a61cc5289a45c8c13f1 and 4 more.
In the Linux kernel, the following vulnerability has been resolved: crypto: ccp - Fix possible deadlock in SEV init failure path __sev_platform_init_handle_init_ex_path() calls rmp_mark_pages_firmware() with locked=false while the parent function of init_ex_path already acquired the sev_cmd_mutex. In the case of an RMPUPDATE failure for any page after the first, the cleanup path would invoke reclaim pages which would result in a deadlock in sev_do_cmd. Pass locked=true to honor the lock status of the parent function.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=7364a6fbca45f826952ea932699fb2171d06ee73 <ffd3a3df92be697eb78118a146c6a5d5e6c1f724, >=7364a6fbca45f826952ea932699fb2171d06ee73 <364f3841bc22c72b6e2cb72a1e3c91c9c8fc1ef4, >=7364a6fbca45f826952ea932699fb2171d06ee73 <8e7e06ee7c2938ee3fa31a61cc5289a45c8c13f1, >=7364a6fbca45f826952ea932699fb2171d06ee73 <b0e7ec0dab242c5e480121ba12400d0513e37ca2, =6.9 | ffd3a3df92be697eb78118a146c6a5d5e6c1f724, 364f3841bc22c72b6e2cb72a1e3c91c9c8fc1ef4, 8e7e06ee7c2938ee3fa31a61cc5289a45c8c13f1, b0e7ec0dab242c5e480121ba12400d0513e37ca2 |
| linux-kernel: Kernel | >=6.19.0 <7.2.6, >=6.9.0 <6.12.111, >=6.13.0 <6.18.53 | 7.2.6, 6.12.111, 6.18.53 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket