{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-46971","published":"2024-02-27T19:04:07.343000Z","last_modified":"2026-06-17T04:16:01.880000Z","status":"Analyzed","cvss":{"version":"3.1","score":3.3,"severity":"LOW","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":[],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.4","version_end_excluding":"5.4.117"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.5","version_end_excluding":"5.10.35"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.11","version_end_excluding":"5.11.19"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.12","version_end_excluding":"5.12.2"}],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux_kernel"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.0023,"percentile":0.08313,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"low","priority_score":20,"links":{"html_es":"/es/cve/CVE-2021-46971/","html_en":"/en/cve/CVE-2021-46971/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-46971","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-46971"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nperf/core: Fix unconditional security_locked_down() call\n\nCurrently, the lockdown state is queried unconditionally, even though\nits result is used only if the PERF_SAMPLE_REGS_INTR bit is set in\nattr.sample_type. While that doesn't matter in case of the Lockdown LSM,\nit causes trouble with the SELinux's lockdown hook implementation.\n\nSELinux implements the locked_down hook with a check whether the current\ntask's type has the corresponding \"lockdown\" class permission\n(\"integrity\" or \"confidentiality\") allowed in the policy. This means\nthat calling the hook when the access control decision would be ignored\ngenerates a bogus permission check and audit record.\n\nFix this by checking sample_type first and only calling the hook when\nits result would be honored.","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/08ef1af4de5fe7de9c6d69f1e22e51b66e385d9b","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/4348d3b5027bc3ff6336368b6c60605d4ef8e1ce","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/b246759284d6a2bc5b6f1009caeeb3abce2ec9ff","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/c7b0208ee370b89d20486fae71cd9abb759819c1","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/f5809ca4c311b71bfaba6d13f4e39eab0557895e","tags":["Patch"]}]}}