CVE-2022-49885 Information
Description
In the Linux kernel the following vulnerability has been resolved:
ACPI: APEI: Fix integer overflow in ghes_estatus_pool_init()
Change num_ghes from int to unsigned int preventing an overflow and causing subsequent vmalloc() to fail.
The overflow happens in ghes_estatus_pool_init() when calculating len during execution of the statement below as both multiplication operands here are signed int:
len += (num_ghes GHES_ESOURCE_PREALLOC_MAX_SIZE);
The following call trace is observed because of this bug:
[ 9.317108] swapper/0: vmalloc error: size 18446744071562596352 exceeds total pages mode:0xcc0(GFP_KERNEL) nodemask=(null)cpuset=/mems_allowed=0-1
[ 9.317131] Call Trace:
[ 9.317134]
[ rjw: Subject and changelog edits ]
Reference
https://git.kernel.org/stable/c/43d2748394c3feb86c0c771466f5847e274fc043 https://git.kernel.org/stable/c/4c10c854113720cbfe75d4f51db79b700a629e73 https://git.kernel.org/stable/c/9edf20e5a1d805855e78f241cf221d741b50d482 https://git.kernel.org/stable/c/c50ec15725e005e9fb20bce69b6c23b135a4a9b7
Share on: