7.8
CWE
416
Advisory Published
Updated

CVE-2022-24122: Use After Free

First published: Sat Jan 29 2022(Updated: )

kernel/ucount.c in the Linux kernel 5.14 through 5.16.4, when unprivileged user namespaces are enabled, allows a use-after-free and privilege escalation because a ucounts object can outlive its namespace.

Credit: cve@mitre.org cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Linux Linux kernel>=5.14<5.15.19
Linux Linux kernel>=5.16<5.16.5
Netapp Baseboard Management Controller H410c Firmware
Netapp Baseboard Management Controller H410c
Netapp Baseboard Management Controller H300s Firmware
Netapp Baseboard Management Controller H300s
Netapp Baseboard Management Controller H500s Firmware
Netapp Baseboard Management Controller H500s
Netapp Baseboard Management Controller H700s Firmware
Netapp Baseboard Management Controller H700s
Netapp Baseboard Management Controller H300e Firmware
Netapp Baseboard Management Controller H300e
Netapp Baseboard Management Controller H500e Firmware
Netapp Baseboard Management Controller H500e
Netapp Baseboard Management Controller H700e Firmware
Netapp Baseboard Management Controller H700e
Netapp Baseboard Management Controller H410s Firmware
Netapp Baseboard Management Controller H410s
Fedoraproject Fedora=34
Fedoraproject Fedora=35
ubuntu/linux<5.17~
5.17~
ubuntu/linux-aws<5.17~
5.17~
ubuntu/linux-aws-5.0<5.17~
5.17~
ubuntu/linux-aws-5.11<5.17~
5.17~
ubuntu/linux-aws-5.13<5.17~
5.17~
ubuntu/linux-aws-5.15<5.17~
5.17~
ubuntu/linux-aws-5.3<5.17~
5.17~
ubuntu/linux-aws-5.4<5.17~
5.17~
ubuntu/linux-aws-5.8<5.17~
5.17~
ubuntu/linux-aws-6.5<5.17~
5.17~
ubuntu/linux-aws-hwe<5.17~
5.17~
ubuntu/linux-azure<5.17~
5.17~
ubuntu/linux-azure-4.15<5.17~
5.17~
ubuntu/linux-azure-5.11<5.17~
5.17~
ubuntu/linux-azure-5.13<5.17~
5.17~
ubuntu/linux-azure-5.15<5.17~
5.17~
ubuntu/linux-azure-5.3<5.17~
5.17~
ubuntu/linux-azure-5.4<5.17~
5.17~
ubuntu/linux-azure-6.5<5.17~
5.17~
ubuntu/linux-azure-edge<5.17~
5.17~
ubuntu/linux-azure-fde<5.17~
5.17~
ubuntu/linux-azure-fde-5.15<5.17~
5.17~
ubuntu/linux-bluefield<5.17~
5.17~
ubuntu/linux-dell300x<5.17~
5.17~
ubuntu/linux-fips<5.17~
5.17~
ubuntu/linux-gcp<5.17~
5.17~
ubuntu/linux-gcp-4.15<5.17~
5.17~
ubuntu/linux-gcp-5.11<5.17~
5.17~
ubuntu/linux-gcp-5.13<5.17~
5.17~
ubuntu/linux-gcp-5.15<5.17~
5.17~
ubuntu/linux-gcp-5.3<5.17~
5.17~
ubuntu/linux-gcp-5.8<5.17~
5.17~
ubuntu/linux-gcp-6.5<5.17~
5.17~
ubuntu/linux-gke<5.17~
5.17~
ubuntu/linux-gke-4.15<5.17~
5.17~
ubuntu/linux-gke-5.0<5.17~
5.17~
ubuntu/linux-gke-5.3<5.17~
5.17~
ubuntu/linux-gke-5.4<5.17~
5.17~
ubuntu/linux-gkeop<5.17~
5.17~
ubuntu/linux-gkeop-5.15<5.17~
5.17~
ubuntu/linux-gkeop-5.4<5.17~
5.17~
ubuntu/linux-hwe<5.17~
5.17~
ubuntu/linux-hwe-5.11<5.17~
5.17~
ubuntu/linux-hwe-5.13<5.17~
5.17~
ubuntu/linux-hwe-5.15<5.17~
5.17~
ubuntu/linux-hwe-5.4<5.17~
5.17~
ubuntu/linux-hwe-5.8<5.17~
5.17~
ubuntu/linux-hwe-6.5<5.17~
5.17~
ubuntu/linux-hwe-edge<5.17~
5.17~
ubuntu/linux-ibm<5.17~
5.17~
ubuntu/linux-ibm-5.15<5.17~
5.17~
ubuntu/linux-ibm-5.4<5.17~
5.17~
ubuntu/linux-intel-5.13<5.17~
5.17~
ubuntu/linux-intel-iotg<5.17~
5.17~
ubuntu/linux-intel-iotg-5.15<5.17~
5.17~
ubuntu/linux-iot<5.17~
5.17~
ubuntu/linux-kvm<5.17~
5.17~
ubuntu/linux-laptop<5.17~
5.17~
ubuntu/linux-lowlatency<5.17~
5.17~
ubuntu/linux-lowlatency-hwe-5.15<5.17~
5.17~
ubuntu/linux-lowlatency-hwe-6.5<5.17~
5.17~
ubuntu/linux-lts-xenial<5.17~
5.17~
ubuntu/linux-nvidia<5.17~
5.17~
ubuntu/linux-oem<5.17~
5.17~
ubuntu/linux-oem-5.10<5.17~
5.17~
ubuntu/linux-oem-5.13<5.17~
5.17~
ubuntu/linux-oem-5.14<5.14.0-1022.24
5.14.0-1022.24
ubuntu/linux-oem-5.17<5.17~
5.17~
ubuntu/linux-oem-5.6<5.17~
5.17~
ubuntu/linux-oem-6.1<5.17~
5.17~
ubuntu/linux-oem-6.5<5.17~
5.17~
ubuntu/linux-oem-osp1<5.17~
5.17~
ubuntu/linux-oracle<5.17~
5.17~
ubuntu/linux-oracle-5.0<5.17~
5.17~
ubuntu/linux-oracle-5.11<5.17~
5.17~
ubuntu/linux-oracle-5.13<5.17~
5.17~
ubuntu/linux-oracle-5.15<5.17~
5.17~
ubuntu/linux-oracle-5.3<5.17~
5.17~
ubuntu/linux-raspi<5.17~
5.17~
ubuntu/linux-raspi-5.4<5.17~
5.17~
ubuntu/linux-raspi2<5.17~
5.17~
ubuntu/linux-raspi2-5.3<5.17~
5.17~
ubuntu/linux-riscv<5.17~
5.17~
ubuntu/linux-riscv-5.11<5.17~
5.17~
ubuntu/linux-riscv-5.15<5.17~
5.17~
ubuntu/linux-riscv-5.8<5.17~
5.17~
ubuntu/linux-riscv-6.5<5.17~
5.17~
ubuntu/linux-snapdragon<5.17~
5.17~
ubuntu/linux-starfive<5.17~
5.17~
ubuntu/linux-starfive-6.5<5.17~
5.17~
ubuntu/linux-xilinx-zynqmp<5.17~
5.17~
All of
Netapp H410c Firmware
Netapp H410c
All of
Netapp H300s Firmware
Netapp H300s
All of
Netapp H500s Firmware
Netapp H500s
All of
Netapp H700s Firmware
Netapp H700s
All of
Netapp H300e Firmware
Netapp H300e
All of
Netapp H500e Firmware
Netapp H500e
All of
Netapp H700e Firmware
Netapp H700e
All of
Netapp H410s Firmware
Netapp H410s
debian/linux
4.19.249-2
4.19.304-1
5.10.209-2
5.10.216-1
6.1.76-1
6.1.90-1
6.7.12-1

Remedy

Disable unprivileged user namespaces: sysctl -w kernel.unprivileged_userns_clone=0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203