PT-2021-8240 · Linux+3 · Linux Kernel+3
Ryota Shiga
·
Published
2021-12-14
·
Updated
2024-12-02
·
CVE-2021-47607
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The issue is related to a kernel address leakage in the atomic cmpxchg's r0 aux reg of the BPF component. The implementation of BPF CMPXCHG has parameters including
old-val and new-val, where BPF R0 is used as an auxiliary register for input and output. The verifier misses rejecting unprivileged programs where R0 contains a pointer as old value, allowing for kernel address leakage through brute-forcing, which can take approximately 16 seconds.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Memory Leak
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
Red Os
Suse