Memory leak in Linux kernel - CVE-2021-47122

 

Memory leak in Linux kernel - CVE-2021-47122

Published: May 8, 2024 / Updated: May 14, 2025


Vulnerability identifier: #VU89256
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-47122
CWE-ID: CWE-401
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 memory leak within the caif_device_notify() function in net/caif/caif_dev.c. A local user can perform a denial of service attack.


Affected software

Linux kernel
Ubuntu
openEuler
linux-image-4.4.0-267-generic (Ubuntu package)
linux-image-3.13.0-205-generic (Ubuntu package)
linux-image-3.13.0-205-lowlatency (Ubuntu package)
linux-image-generic (Ubuntu package)
linux-image-generic-lts-trusty (Ubuntu package)
linux-image-lowlatency (Ubuntu package)
linux-image-server (Ubuntu package)
linux-image-virtual (Ubuntu package)
linux-image-4.4.0-1112-fips (Ubuntu package)
linux-image-4.4.0-1143-kvm (Ubuntu package)
linux-image-4.4.0-1180-aws (Ubuntu package)
linux-image-4.4.0-267-lowlatency (Ubuntu package)
linux-image-aws (Ubuntu package)
linux-image-generic-lts-xenial (Ubuntu package)
linux-image-kvm (Ubuntu package)
linux-image-lowlatency-lts-xenial (Ubuntu package)
linux-image-virtual-lts-xenial (Ubuntu package)
linux-image-4.4.0-1142-aws (Ubuntu package)
bpftool
kernel
bpftool-debuginfo
kernel-debuginfo
kernel-debugsource
python2-perf-debuginfo
kernel-tools-devel
kernel-tools
kernel-tools-debuginfo
python3-perf
python3-perf-debuginfo
kernel-source
python2-perf
perf
perf-debuginfo
kernel-devel

How to mitigate CVE-2021-47122

Install update from vendor's website.

Linux kernel - addressed in versions 4.4.272, 4.9.272, 4.14.236, 4.19.194, 5.4.125, 5.10.43, 5.12.10, 5.13
linux-image-4.4.0-267-generic (Ubuntu package) - update to Ubuntu Pro
linux-image-3.13.0-205-generic (Ubuntu package) - update to Ubuntu Pro
linux-image-3.13.0-205-lowlatency (Ubuntu package) - update to Ubuntu Pro
linux-image-generic (Ubuntu package) - update to Ubuntu Pro (Infra-only)
linux-image-generic-lts-trusty (Ubuntu package) - update to Ubuntu Pro
linux-image-lowlatency (Ubuntu package) - update to Ubuntu Pro (Infra-only)
linux-image-server (Ubuntu package) - update to Ubuntu Pro
linux-image-virtual (Ubuntu package) - update to Ubuntu Pro (Infra-only)
linux-image-4.4.0-1112-fips (Ubuntu package) - update to linux-image-fips
linux-image-4.4.0-1143-kvm (Ubuntu package) - update to Ubuntu Pro
linux-image-4.4.0-1180-aws (Ubuntu package) - update to Ubuntu Pro
linux-image-4.4.0-267-lowlatency (Ubuntu package) - update to Ubuntu Pro
linux-image-aws (Ubuntu package) - update to Ubuntu Pro (Infra-only)
linux-image-generic-lts-xenial (Ubuntu package) - update to Ubuntu Pro (Infra-only)
linux-image-kvm (Ubuntu package) - update to Ubuntu Pro (Infra-only)
linux-image-lowlatency-lts-xenial (Ubuntu package) - update to Ubuntu Pro (Infra-only)
linux-image-virtual-lts-xenial (Ubuntu package) - update to Ubuntu Pro (Infra-only)
linux-image-4.4.0-1142-aws (Ubuntu package) - update to Ubuntu Pro
bpftool - addressed in versions 4.19.90-2404.1.0.0245, 4.19.90-2404.1.0.0272
kernel - addressed in versions 4.19.90-2404.1.0.0245, 4.19.90-2404.1.0.0272
bpftool-debuginfo - addressed in versions 4.19.90-2404.1.0.0245, 4.19.90-2404.1.0.0272
kernel-debuginfo - addressed in versions 4.19.90-2404.1.0.0245, 4.19.90-2404.1.0.0272
kernel-debugsource - addressed in versions 4.19.90-2404.1.0.0245, 4.19.90-2404.1.0.0272
python2-perf-debuginfo - addressed in versions 4.19.90-2404.1.0.0245, 4.19.90-2404.1.0.0272
kernel-tools-devel - addressed in versions 4.19.90-2404.1.0.0245, 4.19.90-2404.1.0.0272
kernel-tools - addressed in versions 4.19.90-2404.1.0.0245, 4.19.90-2404.1.0.0272
kernel-tools-debuginfo - addressed in versions 4.19.90-2404.1.0.0245, 4.19.90-2404.1.0.0272
python3-perf - addressed in versions 4.19.90-2404.1.0.0245, 4.19.90-2404.1.0.0272
python3-perf-debuginfo - addressed in versions 4.19.90-2404.1.0.0245, 4.19.90-2404.1.0.0272
kernel-source - addressed in versions 4.19.90-2404.1.0.0245, 4.19.90-2404.1.0.0272
python2-perf - addressed in versions 4.19.90-2404.1.0.0245, 4.19.90-2404.1.0.0272
perf - addressed in versions 4.19.90-2404.1.0.0245, 4.19.90-2404.1.0.0272
perf-debuginfo - addressed in versions 4.19.90-2404.1.0.0245, 4.19.90-2404.1.0.0272
kernel-devel - addressed in versions 4.19.90-2404.1.0.0245, 4.19.90-2404.1.0.0272

External References

Related Security Bulletins