7.8
CWE
416
Advisory Published
CVE Published
CVE Published
Updated

CVE-2022-3424: Use After Free

First published: Thu Oct 06 2022(Updated: )

A use after free flaw in the Linux Kernel SGI GRU driver in drivers/misc/sgi-gru/grufile.c found. A local user can call gru_file_unlocked_ioctl with GRU_SET_CONTEXT_OPTION and then triggering error path in gru_check_context_placement function. This leads to use after free in gru_unload_context function. Reference: <a href="https://www.spinics.net/lists/kernel/msg4518970.html">https://www.spinics.net/lists/kernel/msg4518970.html</a> Besides, this is a long existing bug which was introduced in 13 years ago: <a href="https://github.com/torvalds/linux/commit/55484c45dbeca2eec7642932ec3f60f8a2d4bdbf">https://github.com/torvalds/linux/commit/55484c45dbeca2eec7642932ec3f60f8a2d4bdbf</a>

Credit: secalert@redhat.com secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
Linux Linux kernel>=2.6.33<4.9.337
Linux Linux kernel>=4.10<4.14.303
Linux Linux kernel>=4.15<4.19.270
Linux Linux kernel>=4.20<5.4.229
Linux Linux kernel>=5.5<5.10.163
Linux Linux kernel>=5.11<5.15.86
Linux Linux kernel>=5.16<6.0.16
Linux Linux kernel>=6.1<6.1.2
Redhat Enterprise Linux=9.0
debian/linux
5.10.218-1
5.10.221-1
6.1.94-1
6.1.99-1
6.9.12-1
6.10.3-1
ubuntu/linux<4.15.0-208.220
4.15.0-208.220
ubuntu/linux<5.4.0-144.161
5.4.0-144.161
ubuntu/linux<5.15.0-69.76
5.15.0-69.76
ubuntu/linux<5.19.0-40.41
5.19.0-40.41
ubuntu/linux<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-aws<4.15.0-1153.166
4.15.0-1153.166
ubuntu/linux-aws<5.4.0-1097.105
5.4.0-1097.105
ubuntu/linux-aws<5.15.0-1033.37
5.15.0-1033.37
ubuntu/linux-aws<5.19.0-1023.24
5.19.0-1023.24
ubuntu/linux-aws<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-aws-5.0<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-aws-5.15<5.15.0-1033.37~20.04.1
5.15.0-1033.37~20.04.1
ubuntu/linux-aws-5.15<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-aws-5.4<5.4.0-1097.105~18.04.1
5.4.0-1097.105~18.04.1
ubuntu/linux-aws-5.4<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-aws-6.2<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-aws-6.5<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-aws-fips<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-aws-hwe<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-aws-hwe<4.15.0-1153.166~16.04.1
4.15.0-1153.166~16.04.1
ubuntu/linux-azure<5.4.0-1104.110
5.4.0-1104.110
ubuntu/linux-azure<5.15.0-1035.42
5.15.0-1035.42
ubuntu/linux-azure<5.19.0-1023.24
5.19.0-1023.24
ubuntu/linux-azure<4.15.0-1162.177~14.04.1
4.15.0-1162.177~14.04.1
ubuntu/linux-azure<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-azure<4.15.0-1162.177~16.04.1
4.15.0-1162.177~16.04.1
ubuntu/linux-azure-4.15<4.15.0-1162.177
4.15.0-1162.177
ubuntu/linux-azure-4.15<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-azure-5.15<5.15.0-1035.42~20.04.1
5.15.0-1035.42~20.04.1
ubuntu/linux-azure-5.15<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-azure-5.19<5.19.0-1023.24~22.04.1
5.19.0-1023.24~22.04.1
ubuntu/linux-azure-5.4<5.4.0-1104.110~18.04.1
5.4.0-1104.110~18.04.1
ubuntu/linux-azure-5.4<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-azure-6.2<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-azure-6.5<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-azure-edge<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-azure-fde<5.4.0-1104.110
5.4.0-1104.110
ubuntu/linux-azure-fde<5.15.0-1035.42.1
5.15.0-1035.42.1
ubuntu/linux-azure-fde<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-azure-fde-5.15<5.15.0-1035.42~20.04.1.1
5.15.0-1035.42~20.04.1.1
ubuntu/linux-azure-fde-5.15<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-azure-fde-6.2<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-azure-fips<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-bluefield<5.4.0-1059.65
5.4.0-1059.65
ubuntu/linux-bluefield<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-dell300x<4.15.0-1062.67
4.15.0-1062.67
ubuntu/linux-dell300x<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-fips<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-gcp<5.4.0-1101.110
5.4.0-1101.110
ubuntu/linux-gcp<5.15.0-1031.38
5.15.0-1031.38
ubuntu/linux-gcp<5.19.0-1020.22
5.19.0-1020.22
ubuntu/linux-gcp<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-gcp<4.15.0-1147.163~16.04.1
4.15.0-1147.163~16.04.1
ubuntu/linux-gcp-4.15<4.15.0-1147.163
4.15.0-1147.163
ubuntu/linux-gcp-4.15<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-gcp-5.15<5.15.0-1031.38~20.04.1
5.15.0-1031.38~20.04.1
ubuntu/linux-gcp-5.15<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-gcp-5.19<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-gcp-5.4<5.4.0-1101.110~18.04.1
5.4.0-1101.110~18.04.1
ubuntu/linux-gcp-5.4<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-gcp-6.5<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-gcp-fips<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-gke<5.4.0-1095.102
5.4.0-1095.102
ubuntu/linux-gke<5.15.0-1030.35
5.15.0-1030.35
ubuntu/linux-gke<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-gke-4.15<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-gke-5.0<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-gke-5.15<5.15.0-1029.34~20.04.1
5.15.0-1029.34~20.04.1
ubuntu/linux-gke-5.15<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-gke-5.4<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-gkeop<5.4.0-1065.69
5.4.0-1065.69
ubuntu/linux-gkeop<5.15.0-1017.22
5.15.0-1017.22
ubuntu/linux-gkeop<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-gkeop-5.15<5.15.0-1017.22~20.04.1
5.15.0-1017.22~20.04.1
ubuntu/linux-gkeop-5.15<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-gkeop-5.4<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-hwe<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-hwe<4.15.0-208.219~16.04.1
4.15.0-208.219~16.04.1
ubuntu/linux-hwe-5.15<5.15.0-69.76~20.04.1
5.15.0-69.76~20.04.1
ubuntu/linux-hwe-5.15<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-hwe-5.19<5.19.0-40.41~22.04.1
5.19.0-40.41~22.04.1
ubuntu/linux-hwe-5.4<5.4.0-144.161~18.04.1
5.4.0-144.161~18.04.1
ubuntu/linux-hwe-5.4<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-hwe-6.5<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-hwe-edge<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-ibm<5.4.0-1045.50
5.4.0-1045.50
ubuntu/linux-ibm<5.15.0-1027.30
5.15.0-1027.30
ubuntu/linux-ibm<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-ibm-5.15<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-ibm-5.4<5.4.0-1045.50~18.04.1
5.4.0-1045.50~18.04.1
ubuntu/linux-ibm-5.4<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-intel<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-intel-5.13<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-intel-iotg<5.15.0-1027.32
5.15.0-1027.32
ubuntu/linux-intel-iotg<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-intel-iotg-5.15<5.15.0-1027.32~20.04.1
5.15.0-1027.32~20.04.1
ubuntu/linux-intel-iotg-5.15<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-iot<5.4.0-1013.15
5.4.0-1013.15
ubuntu/linux-iot<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-kvm<4.15.0-1137.142
4.15.0-1137.142
ubuntu/linux-kvm<5.4.0-1087.93
5.4.0-1087.93
ubuntu/linux-kvm<5.15.0-1030.35
5.15.0-1030.35
ubuntu/linux-kvm<5.19.0-1021.22
5.19.0-1021.22
ubuntu/linux-kvm<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-laptop<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-lowlatency<5.15.0-69.76
5.15.0-69.76
ubuntu/linux-lowlatency<5.19.0-1022.23
5.19.0-1022.23
ubuntu/linux-lowlatency<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-lowlatency-hwe-5.15<5.15.0-69.76~20.04.1
5.15.0-69.76~20.04.1
ubuntu/linux-lowlatency-hwe-5.15<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-lowlatency-hwe-5.19<5.19.0-1022.23~22.04.1
5.19.0-1022.23~22.04.1
ubuntu/linux-lowlatency-hwe-5.19<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-lowlatency-hwe-6.5<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-lts-xenial<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-nvidia<5.15.0-1023.23
5.15.0-1023.23
ubuntu/linux-nvidia<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-nvidia-6.2<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-nvidia-6.5<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-nvidia-6.8<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-nvidia-lowlatency<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-oem<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-oem-5.10<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-oem-5.14<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-oem-5.17<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-oem-5.6<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-oem-6.0<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-oem-6.1<6.1.0-1006.6
6.1.0-1006.6
ubuntu/linux-oem-6.1<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-oem-6.5<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-oem-6.8<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-oem-osp1<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-oracle<4.15.0-1116.127
4.15.0-1116.127
ubuntu/linux-oracle<5.4.0-1094.103
5.4.0-1094.103
ubuntu/linux-oracle<5.15.0-1032.38
5.15.0-1032.38
ubuntu/linux-oracle<5.19.0-1020.23
5.19.0-1020.23
ubuntu/linux-oracle<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-oracle<4.15.0-1116.127~16.04.1
4.15.0-1116.127~16.04.1
ubuntu/linux-oracle-5.0<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-oracle-5.13<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-oracle-5.15<5.15.0-1032.38~20.04.1
5.15.0-1032.38~20.04.1
ubuntu/linux-oracle-5.15<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-oracle-5.4<5.4.0-1094.103~18.04.1
5.4.0-1094.103~18.04.1
ubuntu/linux-oracle-5.4<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-oracle-6.5<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-raspi<5.4.0-1081.92
5.4.0-1081.92
ubuntu/linux-raspi<5.15.0-1026.28
5.15.0-1026.28
ubuntu/linux-raspi<5.19.0-1016.23
5.19.0-1016.23
ubuntu/linux-raspi<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-raspi-5.4<5.4.0-1081.92~18.04.1
5.4.0-1081.92~18.04.1
ubuntu/linux-raspi-5.4<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-raspi2<4.15.0-1129.137
4.15.0-1129.137
ubuntu/linux-raspi2<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-riscv<5.19.0-1016.17
5.19.0-1016.17
ubuntu/linux-riscv<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-riscv-5.15<5.15.0-1030.34~20.04.1
5.15.0-1030.34~20.04.1
ubuntu/linux-riscv-5.15<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-riscv-6.5<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-snapdragon<4.15.0-1148.158
4.15.0-1148.158
ubuntu/linux-snapdragon<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-starfive<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-starfive-6.5<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86
ubuntu/linux-xilinx-zynqmp<5.4.0-1022.26
5.4.0-1022.26
ubuntu/linux-xilinx-zynqmp<6.2~<5.4.229<5.15.86
6.2~
5.4.229
5.15.86

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

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