First published: Tue Oct 03 2023(Updated: )
A use-after-free vulnerability in the Linux kernel's fs/smb/client component can be exploited to achieve local privilege escalation. In case of an error in smb3_fs_context_parse_param, ctx->password was freed but the field was not set to NULL which could lead to double free. We recommend upgrading past commit e6e43b8aa7cd3c3af686caf0c2e11819a886d705.
Credit: cve-coordination@google.com cve-coordination@google.com cve-coordination@google.com
Affected Software | Affected Version | How to fix |
---|---|---|
Linux Linux kernel | <6.6 | |
Linux Linux kernel | =6.6-rc1 | |
Linux Linux kernel | =6.6-rc2 | |
Linux Linux kernel | =6.6-rc3 | |
redhat/kernel | <6.6 | 6.6 |
IBM Security Guardium | <=12.0 | |
Linux Linux kernel | >=6.0.16<6.1.56 | |
Linux Linux kernel | >=6.2<6.5.6 | |
Fedoraproject Fedora | =37 | |
Fedoraproject Fedora | =38 | |
Fedoraproject Fedora | =39 | |
ubuntu/linux | <6.2.0-37.38 | 6.2.0-37.38 |
ubuntu/linux | <6.5.0-13.13 | 6.5.0-13.13 |
ubuntu/linux | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-aws | <6.2.0-1016.16 | 6.2.0-1016.16 |
ubuntu/linux-aws | <6.5.0-1010.10 | 6.5.0-1010.10 |
ubuntu/linux-aws | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-aws-5.15 | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-aws-5.4 | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-aws-6.2 | <6.2.0-1016.16~22.04.1 | 6.2.0-1016.16~22.04.1 |
ubuntu/linux-aws-6.2 | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-aws-6.5 | <6.5.0-1010.10~22.04.1 | 6.5.0-1010.10~22.04.1 |
ubuntu/linux-aws-6.5 | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-aws-fips | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-aws-hwe | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-azure | <5.15.0-1054.62 | 5.15.0-1054.62 |
ubuntu/linux-azure | <6.2.0-1017.17 | 6.2.0-1017.17 |
ubuntu/linux-azure | <6.5.0-1009.9 | 6.5.0-1009.9 |
ubuntu/linux-azure | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-azure-4.15 | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-azure-5.15 | <5.15.0-1054.62~20.04.1 | 5.15.0-1054.62~20.04.1 |
ubuntu/linux-azure-5.15 | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-azure-5.4 | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-azure-6.2 | <6.2.0-1017.17~22.04.1 | 6.2.0-1017.17~22.04.1 |
ubuntu/linux-azure-6.2 | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-azure-6.5 | <6.5.0-1009.9~22.04.1 | 6.5.0-1009.9~22.04.1 |
ubuntu/linux-azure-6.5 | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-azure-fde | <5.15.0-1054.62.1 | 5.15.0-1054.62.1 |
ubuntu/linux-azure-fde | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-azure-fde-5.15 | <5.15.0-1054.62~20.04.1.1 | 5.15.0-1054.62~20.04.1.1 |
ubuntu/linux-azure-fde-5.15 | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-azure-fde-6.2 | <6.2.0-1017.17~22.04.1.1 | 6.2.0-1017.17~22.04.1.1 |
ubuntu/linux-azure-fde-6.2 | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-azure-fips | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-bluefield | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-fips | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-gcp | <6.2.0-1019.21 | 6.2.0-1019.21 |
ubuntu/linux-gcp | <6.5.0-1009.9 | 6.5.0-1009.9 |
ubuntu/linux-gcp | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-gcp-4.15 | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-gcp-5.15 | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-gcp-5.19 | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-gcp-5.4 | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-gcp-6.2 | <6.2.0-1019.21~22.04.1 | 6.2.0-1019.21~22.04.1 |
ubuntu/linux-gcp-6.5 | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-gcp-fips | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-gke | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-gkeop | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-gkeop-5.15 | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-hwe | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-hwe-5.15 | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-hwe-5.4 | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-hwe-6.2 | <6.2.0-37.38~22.04.1 | 6.2.0-37.38~22.04.1 |
ubuntu/linux-hwe-6.2 | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-hwe-6.5 | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-ibm | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-ibm-5.15 | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-ibm-5.4 | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-intel | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-intel-iot-realtime | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-intel-iotg | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-intel-iotg-5.15 | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-iot | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-kvm | <6.2.0-1017.17 | 6.2.0-1017.17 |
ubuntu/linux-kvm | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-laptop | <6.5.0-1006.9 | 6.5.0-1006.9 |
ubuntu/linux-laptop | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-lowlatency | <6.2.0-1017.17 | 6.2.0-1017.17 |
ubuntu/linux-lowlatency | <6.5.0-13.13.1 | 6.5.0-13.13.1 |
ubuntu/linux-lowlatency | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-lowlatency-hwe-5.15 | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-lowlatency-hwe-6.2 | <6.2.0-1017.17~22.04.1 | 6.2.0-1017.17~22.04.1 |
ubuntu/linux-lowlatency-hwe-6.2 | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-lowlatency-hwe-6.5 | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-lowlatency-hwe-6.8 | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-lts-xenial | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-nvidia | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-nvidia-6.2 | <6.2.0-1012.12 | 6.2.0-1012.12 |
ubuntu/linux-nvidia-6.2 | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-nvidia-6.5 | <6.5.0-1007.7 | 6.5.0-1007.7 |
ubuntu/linux-nvidia-6.5 | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-nvidia-6.8 | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-nvidia-lowlatency | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-oem-6.1 | <6.1.0-1025.25 | 6.1.0-1025.25 |
ubuntu/linux-oem-6.1 | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-oem-6.5 | <6.5.0-1008.8 | 6.5.0-1008.8 |
ubuntu/linux-oem-6.5 | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-oem-6.8 | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-oracle | <6.2.0-1016.17 | 6.2.0-1016.17 |
ubuntu/linux-oracle | <6.5.0-1012.12 | 6.5.0-1012.12 |
ubuntu/linux-oracle | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-oracle-5.15 | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-oracle-5.4 | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-oracle-6.5 | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-raspi | <6.2.0-1017.19 | 6.2.0-1017.19 |
ubuntu/linux-raspi | <6.5.0-1007.9 | 6.5.0-1007.9 |
ubuntu/linux-raspi | <6.7.0-1001.1 | 6.7.0-1001.1 |
ubuntu/linux-raspi | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-raspi-5.4 | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-raspi-realtime | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-realtime | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-riscv | <6.2.0-37.38.1 | 6.2.0-37.38.1 |
ubuntu/linux-riscv | <6.5.0-13.13.1 | 6.5.0-13.13.1 |
ubuntu/linux-riscv | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-riscv-5.15 | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-riscv-6.5 | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-riscv-6.8 | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-starfive | <6.2.0-1009.10 | 6.2.0-1009.10 |
ubuntu/linux-starfive | <6.5.0-1004.5 | 6.5.0-1004.5 |
ubuntu/linux-starfive | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-starfive-6.2 | <6.2.0-1009.10~22.04.1 | 6.2.0-1009.10~22.04.1 |
ubuntu/linux-starfive-6.2 | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-starfive-6.5 | <6.6~<6.5.6 | 6.6~ 6.5.6 |
ubuntu/linux-xilinx-zynqmp | <6.6~<6.5.6 | 6.6~ 6.5.6 |
debian/linux | 5.10.223-1 6.1.106-3 6.1.99-1 6.10.6-1 6.10.7-1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
(Appears in the following advisories)
The severity of CVE-2023-5345 is high, with a CVSS score of 7.8.
The use-after-free vulnerability can be exploited to achieve local privilege escalation.
CVE-2023-5345 can lead to local privilege escalation.
Linux kernel versions 6.6, 6.6-rc1, 6.6-rc2, and 6.6-rc3 are affected by CVE-2023-5345.
We recommend upgrading to a patched version of the Linux kernel to fix CVE-2023-5345.