PT-2024-11316 · Linux+1 · Linux Kernel+1
Jiri Olsa
·
Published
2021-07-01
·
Updated
2024-05-21
·
CVE-2021-47317
CVSS v3.1
3.3
Low
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The issue is related to the powerpc/bpf component of the Linux kernel, where a check added to the powerpc64 JIT did not look at the correct BPF instruction. This resulted in programs being accepted and incorrectly JIT'd, leading to soft lockups, as seen with the atomic bounds test. The problem arose after a commit converted BPF XADD to BPF ATOMIC and added a way to distinguish instructions based on the immediate field. Existing JIT implementations were updated to check for the immediate field and reject programs utilizing anything more than BPF ADD in the immediate field.
Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Improper Locking
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