CVE-2022-49894: cxl/region: Fix region HPA ordering validation
In the Linux kernel, the following vulnerability has been resolved:
cxl/region: Fix region HPA ordering validation
Some regions may not have any address space allocated. Skip them when validating HPA order otherwise a crash like the following may result:
devmcxladdregion: cxlacpi cxlacpi.0: decoder3.4: created region9 BUG: kernel NULL pointer dereference, address: 0000000000000000 [..] RIP: 0010:storetargetN+0x655/0x1740 [cxlcore] [..] Call Trace: <TASK> kernfsfopwriteiter+0x144/0x200 vfswrite+0x24a/0x4d0 ksyswrite+0x69/0xf0 dosyscall64+0x3a/0x90
storetargetN+0x655/0x1740: allocregionref at drivers/cxl/core/region.c:676 (inlined by) cxlportattachregion at drivers/cxl/core/region.c:850 (inlined by) cxlregionattach at drivers/cxl/core/region.c:1290 (inlined by) attachtarget at drivers/cxl/core/region.c:1410 (inlined by) storetargetN at drivers/cxl/core/region.c:1453
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2022-49894?
CVE-2022-49894 has a severity rating that could lead to system crashes upon validation of certain regions.
How do I fix CVE-2022-49894?
To fix CVE-2022-49894, ensure that your Linux kernel is updated to the version that resolves this vulnerability.
What systems are affected by CVE-2022-49894?
CVE-2022-49894 affects various versions of the Linux kernel, specifically related to the cxl/region component.
What type of vulnerability is CVE-2022-49894?
CVE-2022-49894 is a flaw related to improper validation of HPA ordering in specific regions of the Linux kernel.
Is CVE-2022-49894 being actively exploited?
As of the latest information, there are no reported active exploits specifically targeting CVE-2022-49894.