Local Kernel Memory Mapping Vulnerability in Linux Kernel
CVE-2022-49081
Summary
A vulnerability exists in the Linux kernel's handling of high memory mapping, specifically in the _kmap_local_sched{in,out} functions. When CONFIG_DEBUG_KMAP_LOCAL is enabled, improper checks allow uninitialized memory slots to lead to runtime warnings and potential system instability. The flawed check compares pteval against pte_none, which can yield false results, particularly on architectures like xtensa, threatening the integrity of kernel operations and potentially leading to unforeseen behaviors.
Affected Version(s)
Linux 5fbda3ecd14a5343644979c98d6eb65b7e7de9d8
Linux 5fbda3ecd14a5343644979c98d6eb65b7e7de9d8 < 85550b0f5fa5dd3c30469ea702c44444ef242c83
Linux 5fbda3ecd14a5343644979c98d6eb65b7e7de9d8 < 7dd5b3b97716a611fcf67d92fd2370fcb8d50372
References
Timeline
Vulnerability published
Vulnerability Reserved