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
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
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
- https://git.kernel.org/stable/c/b042e2b2039565eb8f0eb51c14fbe1ef463c8cd8
- https://git.kernel.org/stable/c/9348c1f10932f13b299cbc8b1bd5f780751fae49
- https://git.kernel.org/stable/c/4bca2034b41c15b62d47a19158bb76235fd4455d
- https://git.kernel.org/stable/c/3be863c11cab725add9fef4237ed4e232c3fc3bb
- https://git.kernel.org/stable/c/f52f4fd67264c70cd0b4ba326962ebe12d9cba94
- https://git.kernel.org/stable/c/af2806345a37313f01b1c9f15e046745b8ee2daa
- https://git.kernel.org/stable/c/6a0e317f61094d377335547e015dd2ff12caf893
- https://git.kernel.org/stable/c/b53558a950a89824938e9811eddfc8efcd94e1bb
- https://mirrors.edge.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.14.236
- https://mirrors.edge.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.19.194
- https://mirrors.edge.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.272
- https://mirrors.edge.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.272
- https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.10.43
- https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.12.10
- https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.13
- https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.4.125