Input validation error in Linux kernel - CVE-2021-47336

 

Input validation error in Linux kernel - CVE-2021-47336

Published: July 2, 2024 / Updated: May 13, 2025


Vulnerability identifier: #VU93675
CSH Severity: Low
CVSS v4 BT: 4.3 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear]
CVE-ID: CVE-2021-47336
CWE-ID: CWE-20
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to perform a denial of service (DoS) attack.

The vulnerability exists due to improper input validation within the smk_set_cipso() function in security/smack/smackfs.c. A local user can perform a denial of service (DoS) attack.


Affected software

Linux kernel
openEuler
kernel
bpftool
bpftool-debuginfo
kernel-debuginfo
kernel-debugsource
kernel-devel
kernel-source
kernel-tools
kernel-tools-debuginfo
kernel-tools-devel
perf
perf-debuginfo
python2-perf
python2-perf-debuginfo
python3-perf
python3-perf-debuginfo

How to mitigate CVE-2021-47336

Install update from vendor's website.

Linux kernel - addressed in versions 4.9.276, 4.14.240, 4.19.198, 5.4.133, 5.10.51, 5.12.18, 5.13.3, 5.14
kernel - update to 4.19.90-2606.3.0.0376
bpftool - update to 4.19.90-2606.3.0.0376
bpftool-debuginfo - update to 4.19.90-2606.3.0.0376
kernel-debuginfo - update to 4.19.90-2606.3.0.0376
kernel-debugsource - update to 4.19.90-2606.3.0.0376
kernel-devel - update to 4.19.90-2606.3.0.0376
kernel-source - update to 4.19.90-2606.3.0.0376
kernel-tools - update to 4.19.90-2606.3.0.0376
kernel-tools-debuginfo - update to 4.19.90-2606.3.0.0376
kernel-tools-devel - update to 4.19.90-2606.3.0.0376
perf - update to 4.19.90-2606.3.0.0376
perf-debuginfo - update to 4.19.90-2606.3.0.0376
python2-perf - update to 4.19.90-2606.3.0.0376
python2-perf-debuginfo - update to 4.19.90-2606.3.0.0376
python3-perf - update to 4.19.90-2606.3.0.0376
python3-perf-debuginfo - update to 4.19.90-2606.3.0.0376

External References

Related Security Bulletins