Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
788bfdd97434982b6d575062581e8e72eea755af to < 6646418d1032cac25110526161f60d255ed08397affected788bfdd97434982b6d575062581e8e72eea755af to < 909e92423db7299e0206232051aa21fe129f65d0affected788bfdd97434982b6d575062581e8e72eea755af to < 60a3c319f1127c4d247d4ed235c5d65376d5e745affected788bfdd97434982b6d575062581e8e72eea755af to < e80ea8118a073a30ebe7a31bd78938c2b1751accaffected788bfdd97434982b6d575062581e8e72eea755af to < d3f8f773312af69eaf4dda106d76d6d42e4362e5affected788bfdd97434982b6d575062581e8e72eea755af to < 955d86e5f3b95b731991fdb84966c50b16314629affected
Linux Linux
Default version status: affected
5.16affected0 to < 5.16unaffected6.1.189 to ≤ 6.1.*unaffected6.6.158 to ≤ 6.6.*unaffected6.12.112 to ≤ 6.12.*unaffected6.18.54 to ≤ 6.18.*unaffected7.2.8 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/6646418d1032cac25110526161f60d255ed08397 ↗
- https://git.kernel.org/stable/c/909e92423db7299e0206232051aa21fe129f65d0 ↗
- https://git.kernel.org/stable/c/60a3c319f1127c4d247d4ed235c5d65376d5e745 ↗
- https://git.kernel.org/stable/c/e80ea8118a073a30ebe7a31bd78938c2b1751acc ↗
- https://git.kernel.org/stable/c/d3f8f773312af69eaf4dda106d76d6d42e4362e5 ↗
- https://git.kernel.org/stable/c/955d86e5f3b95b731991fdb84966c50b16314629 ↗