arm64: hibernate: pass HVC_SET_VECTORS args to the resume hvc
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel e80ea8118a073a30ebe7a31bd78938c2b1751acc, Kernel 60a3c319f1127c4d247d4ed235c5d65376d5e745, Kernel 6646418d1032cac25110526161f60d255ed08397 and 8 more.
In the Linux kernel, the following vulnerability has been resolved: arm64: hibernate: pass HVC_SET_VECTORS args to the resume hvc swsusp_arch_suspend_exit() reinstalls the restored kernel's hyp stub vectors with an hvc, but never passes the arguments. x0 is not set to HVC_SET_VECTORS and x1 is not set to the vector address, so the stub dispatch falls through and returns without writing vbar_el2. EL2 is left pointing at the trans_pgd copy of the vectors, a page that swsusp_free() releases right after resume. Set the arguments up the same way __hyp_set_vectors() does. Without this fix, Vladimir was able to trigger a hang when resuming from hibernation with CONFIG_PAGE_POISONING=y and page_poison=on.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=788bfdd97434982b6d575062581e8e72eea755af <e80ea8118a073a30ebe7a31bd78938c2b1751acc, >=788bfdd97434982b6d575062581e8e72eea755af <60a3c319f1127c4d247d4ed235c5d65376d5e745, >=788bfdd97434982b6d575062581e8e72eea755af <6646418d1032cac25110526161f60d255ed08397, >=788bfdd97434982b6d575062581e8e72eea755af <909e92423db7299e0206232051aa21fe129f65d0, >=788bfdd97434982b6d575062581e8e72eea755af <955d86e5f3b95b731991fdb84966c50b16314629, >=788bfdd97434982b6d575062581e8e72eea755af <d3f8f773312af69eaf4dda106d76d6d42e4362e5, =5.16 | e80ea8118a073a30ebe7a31bd78938c2b1751acc, 60a3c319f1127c4d247d4ed235c5d65376d5e745, 6646418d1032cac25110526161f60d255ed08397, 909e92423db7299e0206232051aa21fe129f65d0, 955d86e5f3b95b731991fdb84966c50b16314629, d3f8f773312af69eaf4dda106d76d6d42e4362e5 |
| linux-kernel: Kernel | >=6.13.0 <6.18.54, >=6.19.0 <7.2.8, >=6.2.0 <6.6.158, >=6.7.0 <6.12.112, >=5.16.0 <6.1.189 | 6.18.54, 7.2.8, 6.6.158, 6.12.112, 6.1.189 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket