cveboard RSS feed

CVE-2021-47317

CVE.org · Published

Historical CVEsJSONAI instructions

Record status
Published
Identifier year (not publication year)
2021
Source publication
Source updated
Imported by cveboard
Source snapshot
cve_2026-10-24_midnight_baseline ·

Plain text

CNA source text (English)

powerpc/bpf: Fix detecting BPF atomic instructions

In the Linux kernel, the following vulnerability has been resolved: powerpc/bpf: Fix detecting BPF atomic instructions Commit 91c960b0056672 ("bpf: Rename BPF_XADD and prepare to encode other atomics in .imm") 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 to reject programs utilizing anything more than BPF_ADD (such as BPF_FETCH) in the immediate field. However, the check added to powerpc64 JIT did not look at the correct BPF instruction. Due to this, such programs would be accepted and incorrectly JIT'ed resulting in soft lockups, as seen with the atomic bounds test. Fix this by looking at the correct immediate value.

Scoped product and version facts

Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.

Exploitation unknown; this catalogue does not assess exploitation.

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
unaffected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
91c960b0056672e74627776655c926388350fa30affectedgit7284dab07e4d51d453cc42851fae9ec4fac6ef2fUnavailableNone listed
91c960b0056672e74627776655c926388350fa30affectedgit0d435b6d94b05dcfd836d758a63145aa566618e2UnavailableNone listed
91c960b0056672e74627776655c926388350fa30affectedgit419ac821766cbdb9fd85872bb3f1a589df05c94cUnavailableNone listed

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
affected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
5.12affectedUnavailableUnavailableUnavailableNone listed
0unaffectedsemver5.12UnavailableNone listed
5.12.19unaffectedsemverUnavailable5.12.*None listed
5.13.4unaffectedsemverUnavailable5.13.*None listed
5.14unaffectedoriginal_commit_for_fixUnavailable*None listed