CVE-2021-46971
LowIn 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 3.1 score
3.3
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Affected versions
Linux kernel versions
5.4
and later are affected. Fixed in
5.4.117,
5.10.35,
5.11.19,
5.12.2,
5.13
and their respective stable series.
References
5 total-
Patch
-
Patch
-
Patch
-
Patch
-
Patch
Frequently asked questions
-
What is CVE-2021-46971?
CVE-2021-46971 is a Low severity Linux kernel vulnerability with a CVSS score of 3.3 out of 10 . It affects Linux kernel versions from 5.4 onward and has been patched in 5.4.117, 5.10.35, 5.11.19 and others. CVE-2021-46971 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2021-46971?
CVE-2021-46971 has a CVSS score of 3.3 out of 10, rated Low severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N. -
Is there a patch available for CVE-2021-46971?
Yes. CVE-2021-46971 has been patched. Fixed versions include 5.4.117, 5.10.35, 5.11.19 and others. If you are running Linux kernel 5.4 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2021-46971 actively exploited?
No. CVE-2021-46971 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.