Use-after-free in Linux kernel - CVE-2021-44733
Published: December 28, 2021
Vulnerability details
The vulnerability allows a local user to elevate privileges on the system.
The vulnerability exists due to a use-after-free error in the drivers/tee/tee_shm.c file within the TEE subsystem in the Linux kernel. A local user can trigger a race condition in tee_shm_get_from_id during an attempt to free a shared memory object and execute arbitrary code with elevated privileges.
Affected software
Debian Linux
SUSE Linux Enterprise Micro
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat Enterprise Linux for Real Time for NFV
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat CodeReady Linux Builder for x86_64
Red Hat Enterprise Linux for Real Time
Red Hat CodeReady Linux Builder for ARM 64
Anolis OS
Ubuntu
SUSE Linux Enterprise Module for Realtime
Migration Toolkit for Containers
Red Hat Advanced Cluster Management for Kubernetes
IBM Spectrum Protect Plus
linux-kvm (Ubuntu package)
linux-snapdragon (Ubuntu package)
linux-hwe (Ubuntu package)
linux-gcp (Ubuntu package)
linux-azure (Ubuntu package)
linux (Ubuntu package)
linux-raspi2 (Ubuntu package)
linux-aws (Ubuntu package)
linux-oracle (Ubuntu package)
linux-dell300x (Ubuntu package)
linux-aws-hwe (Ubuntu package)
linux-azure-4.15 (Ubuntu package)
linux-gcp-4.15 (Ubuntu package)
linux-4.19 (Debian package)
linux-gke (Ubuntu package)
linux-azure-fde (Ubuntu package)
linux-hwe-5.4 (Ubuntu package)
linux-gke-5.4 (Ubuntu package)
linux-bluefield (Ubuntu package)
linux-gkeop-5.4 (Ubuntu package)
linux-ibm (Ubuntu package)
linux-gkeop (Ubuntu package)
linux-raspi (Ubuntu package)
linux-ibm-5.4 (Ubuntu package)
linux-aws-5.4 (Ubuntu package)
linux-azure-5.4 (Ubuntu package)
linux-oracle-5.4 (Ubuntu package)
linux-gcp-5.4 (Ubuntu package)
linux-raspi-5.4 (Ubuntu package)
linux-azure-5.13 (Ubuntu package)
linux-oracle-5.13 (Ubuntu package)
linux-oem-5.14 (Ubuntu package)
kernel-devel
bpftool
kernel
kernel-core
kernel-cross-headers
kernel-debug
kernel-debug-core
kernel-debug-devel
kernel-debug-modules
kernel-debug-modules-extra
kernel-headers
kernel-modules
kernel-modules-extra
kernel-tools
kernel-tools-libs
perf
python3-perf
kernel-abi-stablelists
kernel-doc
kernel (Red Hat package)
kernel-rt (Red Hat package)
kernel-source-rt
cluster-md-kmp-rt
cluster-md-kmp-rt-debuginfo
dlm-kmp-rt
dlm-kmp-rt-debuginfo
gfs2-kmp-rt
gfs2-kmp-rt-debuginfo
kernel-rt
kernel-rt-debuginfo
kernel-rt-debugsource
kernel-rt-devel
kernel-rt-devel-debuginfo
kernel-rt_debug
kernel-rt_debug-debuginfo
kernel-rt_debug-debugsource
kernel-rt_debug-devel
kernel-rt_debug-devel-debuginfo
kernel-syms-rt
ocfs2-kmp-rt
ocfs2-kmp-rt-debuginfo
kernel-devel-rt
linux (Debian package)
linux-image-5.13.0-37-generic (Ubuntu package)
linux-image-5.13.0-37-generic-64k (Ubuntu package)
linux-image-5.13.0-37-generic-lpae (Ubuntu package)
linux-image-5.13.0-37-lowlatency (Ubuntu package)
linux-image-5.13.0-1018-kvm (Ubuntu package)
linux-image-5.13.0-1019-aws (Ubuntu package)
linux-image-5.13.0-1021-gcp (Ubuntu package)
linux-image-5.13.0-1022-raspi-nolpae (Ubuntu package)
linux-image-5.13.0-1022-raspi (Ubuntu package)
linux-image-5.13.0-1023-oracle (Ubuntu package)
linux-image-generic-lpae-hwe-20.04 (Ubuntu package)
linux-image-generic-64k-hwe-20.04 (Ubuntu package)
linux-image-generic-hwe-20.04 (Ubuntu package)
linux-image-lowlatency-hwe-20.04 (Ubuntu package)
linux-image-virtual-hwe-20.04 (Ubuntu package)
linux-image-generic-lpae (Ubuntu package)
linux-image-lowlatency (Ubuntu package)
linux-image-virtual (Ubuntu package)
linux-image-generic-64k (Ubuntu package)
linux-image-generic (Ubuntu package)
linux-image-oem-20.04 (Ubuntu package)
linux-image-kvm (Ubuntu package)
linux-image-aws (Ubuntu package)
linux-image-gcp (Ubuntu package)
linux-image-gke (Ubuntu package)
linux-image-raspi (Ubuntu package)
linux-image-raspi-nolpae (Ubuntu package)
linux-image-oracle (Ubuntu package)
Pixel
How to mitigate CVE-2021-44733
Red Hat Advanced Cluster Management for Kubernetes - addressed in versions 2.3.11, 2.4.5, 2.5.0
linux-kvm (Ubuntu package) - addressed in versions 4.15.0-1110.113, 5.4.0-1059.62
linux-snapdragon (Ubuntu package) - update to 4.15.0-1123.132
linux-hwe (Ubuntu package) - update to 4.15.0-173.182~16.04.1
linux-gcp (Ubuntu package) - addressed in versions 4.15.0-1119.133~16.04.1, 5.4.0-1068.72
linux-azure (Ubuntu package) - addressed in versions 4.15.0-1134.147~14.04.1, 4.15.0-1134.147~16.04.1, 5.4.0-1073.76
linux (Ubuntu package) - addressed in versions 4.15.0-173.182, 5.4.0-105.119
linux-raspi2 (Ubuntu package) - update to 4.15.0-1106.113
linux-aws (Ubuntu package) - addressed in versions 4.15.0-1124.133, 5.4.0-1069.73
linux-oracle (Ubuntu package) - addressed in versions 4.15.0-1090.99~16.04.1, 4.15.0-1090.99, 5.4.0-1067.72
linux-dell300x (Ubuntu package) - update to 4.15.0-1038.43
linux-aws-hwe (Ubuntu package) - update to 4.15.0-1124.133~16.04.1
linux-azure-4.15 (Ubuntu package) - update to 4.15.0-1134.147
linux-gcp-4.15 (Ubuntu package) - update to 4.15.0-1119.133
linux-4.19 (Debian package) - update to 4.19.232-1~deb9u1
linux-gke (Ubuntu package) - update to 5.4.0-1066.69
linux-azure-fde (Ubuntu package) - update to 5.4.0-1073.76+cvm1.1
linux-hwe-5.4 (Ubuntu package) - update to 5.4.0-105.119~18.04.1
linux-gke-5.4 (Ubuntu package) - update to 5.4.0-1066.69~18.04.1
linux-bluefield (Ubuntu package) - update to 5.4.0-1032.35
linux-gkeop-5.4 (Ubuntu package) - update to 5.4.0-1037.38~18.04.1
linux-ibm (Ubuntu package) - update to 5.4.0-1018.20
linux-gkeop (Ubuntu package) - update to 5.4.0-1037.38
linux-raspi (Ubuntu package) - update to 5.4.0-1056.63
linux-ibm-5.4 (Ubuntu package) - update to 5.4.0-1018.20~18.04.1
linux-aws-5.4 (Ubuntu package) - update to 5.4.0-1069.73~18.04.1
linux-azure-5.4 (Ubuntu package) - update to 5.4.0-1073.76~18.04.1
linux-oracle-5.4 (Ubuntu package) - update to 5.4.0-1067.72~18.04.1
linux-gcp-5.4 (Ubuntu package) - update to 5.4.0-1068.72~18.04.1
linux-raspi-5.4 (Ubuntu package) - update to 5.4.0-1056.63~18.04.1
linux-azure-5.13 (Ubuntu package) - update to 5.13.0-1021.24~20.04.1
linux-oracle-5.13 (Ubuntu package) - update to 5.13.0-1025.30~20.04.1
linux-oem-5.14 (Ubuntu package) - update to 5.14.0-1022.24
kernel-devel - update to 4.18.0-372.9.1
bpftool - update to 4.18.0-372.9.1
kernel - update to 4.18.0-372.9.1
kernel-core - update to 4.18.0-372.9.1
kernel-cross-headers - update to 4.18.0-372.9.1
kernel-debug - update to 4.18.0-372.9.1
kernel-debug-core - update to 4.18.0-372.9.1
kernel-debug-devel - update to 4.18.0-372.9.1
kernel-debug-modules - update to 4.18.0-372.9.1
kernel-debug-modules-extra - update to 4.18.0-372.9.1
kernel-headers - update to 4.18.0-372.9.1
kernel-modules - update to 4.18.0-372.9.1
kernel-modules-extra - update to 4.18.0-372.9.1
kernel-tools - update to 4.18.0-372.9.1
kernel-tools-libs - update to 4.18.0-372.9.1
perf - update to 4.18.0-372.9.1
python3-perf - update to 4.18.0-372.9.1
kernel-abi-stablelists - update to 4.18.0-372.9.1
kernel-doc - update to 4.18.0-372.9.1
kernel (Red Hat package) - update to 4.18.0-372.9.1.el8
kernel-rt (Red Hat package) - update to 4.18.0-372.9.1.rt7.166.el8
kernel-source-rt - addressed in versions 5.3.18-68.1, 5.3.18-150300.71.1
cluster-md-kmp-rt - addressed in versions 5.3.18-68.1, 5.3.18-150300.71.1
cluster-md-kmp-rt-debuginfo - addressed in versions 5.3.18-68.1, 5.3.18-150300.71.1
dlm-kmp-rt - addressed in versions 5.3.18-68.1, 5.3.18-150300.71.1
dlm-kmp-rt-debuginfo - addressed in versions 5.3.18-68.1, 5.3.18-150300.71.1
gfs2-kmp-rt - addressed in versions 5.3.18-68.1, 5.3.18-150300.71.1
gfs2-kmp-rt-debuginfo - addressed in versions 5.3.18-68.1, 5.3.18-150300.71.1
kernel-rt - addressed in versions 5.3.18-68.1, 5.3.18-150300.71.1
kernel-rt-debuginfo - addressed in versions 5.3.18-68.1, 5.3.18-150300.71.1
kernel-rt-debugsource - addressed in versions 5.3.18-68.1, 5.3.18-150300.71.1
kernel-rt-devel - addressed in versions 5.3.18-68.1, 5.3.18-150300.71.1
kernel-rt-devel-debuginfo - addressed in versions 5.3.18-68.1, 5.3.18-150300.71.1
kernel-rt_debug - update to 5.3.18-68.1
kernel-rt_debug-debuginfo - addressed in versions 5.3.18-68.1, 5.3.18-150300.71.1
kernel-rt_debug-debugsource - addressed in versions 5.3.18-68.1, 5.3.18-150300.71.1
kernel-rt_debug-devel - addressed in versions 5.3.18-68.1, 5.3.18-150300.71.1
kernel-rt_debug-devel-debuginfo - addressed in versions 5.3.18-68.1, 5.3.18-150300.71.1
kernel-syms-rt - addressed in versions 5.3.18-68.1, 5.3.18-150300.71.1
ocfs2-kmp-rt - addressed in versions 5.3.18-68.1, 5.3.18-150300.71.1
ocfs2-kmp-rt-debuginfo - addressed in versions 5.3.18-68.1, 5.3.18-150300.71.1
kernel-devel-rt - addressed in versions 5.3.18-68.1, 5.3.18-150300.71.1
IBM Spectrum Protect Plus - update to 10.1.11
Pixel - update to 12L 2022-06-05
linux (Debian package) - update to 4.19.232-1
linux-image-5.13.0-37-generic (Ubuntu package) - addressed in versions 5.13.0-37.42~20.04.1, 5.13.0-37.42
linux-image-5.13.0-37-generic-64k (Ubuntu package) - addressed in versions 5.13.0-37.42~20.04.1, 5.13.0-37.42
linux-image-5.13.0-37-generic-lpae (Ubuntu package) - addressed in versions 5.13.0-37.42~20.04.1, 5.13.0-37.42
linux-image-5.13.0-37-lowlatency (Ubuntu package) - addressed in versions 5.13.0-37.42~20.04.1, 5.13.0-37.42
linux-image-5.13.0-1018-kvm (Ubuntu package) - update to 5.13.0-1018.19
linux-image-5.13.0-1019-aws (Ubuntu package) - addressed in versions 5.13.0-1019.21~20.04.1, 5.13.0-1019.21
linux-image-5.13.0-1021-gcp (Ubuntu package) - addressed in versions 5.13.0-1021.25~20.04.1, 5.13.0-1021.25
linux-image-5.13.0-1022-raspi-nolpae (Ubuntu package) - update to 5.13.0-1022.24
linux-image-5.13.0-1022-raspi (Ubuntu package) - update to 5.13.0-1022.24
linux-image-5.13.0-1023-oracle (Ubuntu package) - update to 5.13.0-1023.28
linux-image-generic-lpae-hwe-20.04 (Ubuntu package) - update to 5.13.0.37.42~20.04.22
linux-image-generic-64k-hwe-20.04 (Ubuntu package) - update to 5.13.0.37.42~20.04.22
linux-image-generic-hwe-20.04 (Ubuntu package) - update to 5.13.0.37.42~20.04.22
linux-image-lowlatency-hwe-20.04 (Ubuntu package) - update to 5.13.0.37.42~20.04.22
linux-image-virtual-hwe-20.04 (Ubuntu package) - update to 5.13.0.37.42~20.04.22
linux-image-generic-lpae (Ubuntu package) - update to 5.13.0.37.46
linux-image-lowlatency (Ubuntu package) - update to 5.13.0.37.46
linux-image-virtual (Ubuntu package) - update to 5.13.0.37.46
linux-image-generic-64k (Ubuntu package) - update to 5.13.0.37.46
linux-image-generic (Ubuntu package) - update to 5.13.0.37.46
linux-image-oem-20.04 (Ubuntu package) - update to 5.13.0.37.46
linux-image-kvm (Ubuntu package) - update to 5.13.0.1018.18
linux-image-aws (Ubuntu package) - addressed in versions 5.13.0.1019.20, 5.13.0.1019.21~20.04.12
linux-image-gcp (Ubuntu package) - addressed in versions 5.13.0.1021.19, 5.13.0.1021.25~20.04.1
linux-image-gke (Ubuntu package) - update to 5.13.0.1021.19
linux-image-raspi (Ubuntu package) - update to 5.13.0.1022.27
linux-image-raspi-nolpae (Ubuntu package) - update to 5.13.0.1022.27
linux-image-oracle (Ubuntu package) - update to 5.13.0.1023.23
Links to Public Exploits and PoC-codes
External References
Related Security Bulletins
- Privilege escalation in Linux kernel TEE subsystem
- Debian update for linux 4.19
- Ubuntu update for linux
- Multiple vulnerabilities in Google Pixel
- Ubuntu update for linux
- Ubuntu update for linux
- Ubuntu update for linux-azure-5.13
- Ubuntu update for linux-bluefield
- Multiple vulnerabilities in Red Hat Advanced Cluster Management 2.4
- Multiple vulnerabilities in Red Hat Advanced Cluster Management 2.3
- Multiple vulnerabilities in Red Hat Migration Toolkit for Containers (MTC)
- Debian update for linux
- Red Hat Enterprise Linux 8 update for kernel-rt
- Red Hat Enterprise Linux 8 update for kernel
- SUSE update for the Linux Kernel
- Multiple vulnerabilities in Migration Toolkit for Containers 1.6
- Multiple vulnerabilities in Red Hat Advanced Cluster Management for Kubernetes 2
- SUSE update for the Linux Kernel
- Ubuntu update for linux-oem-5.14
- Multiple vulnerabilities in IBM Spectrum Protect Plus
- Anolis OS update for kernel
- Debian update for linux-4.19