3.3

CVE-2021-46971: perf/core: Fix unconditional security_locked_down() call

Analyzed
AliasesUBUNTU-CVE-2021-46971DEBIAN-CVE-2021-46971
Published 27-02-2024Last modified 11-05-2026

Vulnerability summary

CVE-2021-46971 is a low (CVSS 3.3) vulnerability in linux. EPSS estimates a 0.23% chance of exploitation in the next 30 days, higher than 13.9% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 3.3, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
3.3/10
010
Low · v3.1 (NVD)
EPSS score
0.23%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 3 · Related 3

Timeline

  1. 27-02-2024
    PublishedVulnerability first disclosed.
  2. 11-05-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: perf/core: Fix unconditional security_locked_down() call Currently, the lockdown state is queried unconditionally, even though its result is used only if the PERF_SAMPLE_REGS_INTR bit is set in attr.sample_type. While that doesn't matter in case of the Lockdown LSM, it causes trouble with the SELinux's lockdown hook implementation. SELinux implements the locked_down hook with a check whether the current task's type has the corresponding "lockdown" class permission ("integrity" or "confidentiality") allowed in the policy. This means that calling the hook when the access control decision would be ignored generates a bogus permission check and audit record. Fix this by checking sample_type first and only calling the hook when its result would be honored.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.23%

Chance of exploitation in the next 30 days

Percentile

14%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.23% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu82 products
  • linux< 5.4.0-77.86
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws< 5.4.0-1051.53
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ b0c8fdc7fdb77586c3d1937050925b960743306e, < b246759284d6a2bc5b6f1009caeeb3abce2ec9ff | ≥ b0c8fdc7fdb77586c3d1937050925b960743306e, < 4348d3b5027bc3ff6336368b6c60605d4ef8e1ce | ≥ b0c8fdc7fdb77586c3d1937050925b960743306e, < f5809ca4c311b71bfaba6d13f4e39eab0557895e | ≥ b0c8fdc7fdb77586c3d1937050925b960743306e, < c7b0208ee370b89d20486fae71cd9abb759819c1 | ≥ b0c8fdc7fdb77586c3d1937050925b960743306e, < 08ef1af4de5fe7de9c6d69f1e22e51b66e385d9b | 5.4
  • linux_kernel≥ 5.4, < 5.4.117 | ≥ 5.5, < 5.10.35 | ≥ 5.11, < 5.11.19 | ≥ 5.12, < 5.12.2
Debian1 product
  • linux< 5.10.38-1

3 vendors · 85 products

References

9 links