PT-2024-11268 · Linux+1 · Linux Kernel+1
Published
2021-06-08
·
Updated
2024-11-04
·
CVE-2021-47262
CVSS v3.1
7.1
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel versions prior to 5.13.0
Description
The issue is related to the KVM: x86 component of the Linux kernel, where a bug existed since the tracepoint was added, but was recently exposed by a new check in tracing to detect exactly this type of bug. The bug is caused by the fact that the tracepoint itself is defined by kvm, and if kvm-intel and/or kvm-amd are built as modules, the memory holding the string literals defined by the vendor modules will be freed when the module is unloaded, whereas the tracepoint and its data in the ring buffer will live until kvm is unloaded. This can lead to the tracepoint outliving the data/memory it consumes and deferencing stale memory.
Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Astra Linux
Linux Kernel