Menu

Star on GitHub · 3.3k

CVE-2021-46971

3.3 · LOW

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…

Published Feb 27, 2024EPSS 0.23%

Overview

CVE-2021-46971 is a low-severity vulnerability. It was published on February 27, 2024 and has a CVSS 3.1 base score of 3.3 (LOW).

This vulnerability has a CVSS 3.1 base score of 3.3, rated LOW. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2021-46971?

CVE-2021-46971 is a low-severity vulnerability. It was published on February 27, 2024 and has a CVSS 3.1 base score of 3.3 (LOW).

How severe is CVE-2021-46971?

This vulnerability has a CVSS 3.1 base score of 3.3, rated LOW. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2021-46971?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-46971?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2021-46971 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related LOW CVEs from 2021

View all
LiveWatch live →