Skip to main content
Network Thinking Solutions Logo

CVE-2021-46971

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.

All CVEs
CVE-2021-46971Published 2/27/2024

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.

Vendor advisory
CVSS3.3Low

Overview

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.

Published
2/27/2024
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.4, < 5.4.117

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.35

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.11.19

Verify advisory

Source
linux kernel
linux
≥ 5.12, < 5.12.2

Verify advisory

Source
Linux
Linux
≥ b0c8fdc7fdb77586c3d1937050925b960743306e, < b246759284d6a2bc5b6f1009caeeb3abce2ec9ff

Verify advisory

Source
Linux
Linux
≥ b0c8fdc7fdb77586c3d1937050925b960743306e, < 4348d3b5027bc3ff6336368b6c60605d4ef8e1ce

Verify advisory

Source
Linux
Linux
≥ b0c8fdc7fdb77586c3d1937050925b960743306e, < f5809ca4c311b71bfaba6d13f4e39eab0557895e

Verify advisory

Source
Linux
Linux
≥ b0c8fdc7fdb77586c3d1937050925b960743306e, < c7b0208ee370b89d20486fae71cd9abb759819c1

Verify advisory

Source
Linux
Linux
≥ b0c8fdc7fdb77586c3d1937050925b960743306e, < 08ef1af4de5fe7de9c6d69f1e22e51b66e385d9b

Verify advisory

Source
Linux
Linux
5.4

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 3.3. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.