CVE-2023-52440ksmbd: fix slub overflow in ksmbd_decode_ntlmssp_auth_blob()
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix slub overflow in ksmbd_decode_ntlmssp_auth_blob() If authblob->SessionKey.Length is bigger than session key size(CIFS_KEY_SIZE), slub overflow can happen in key exchange codes. cifs_arc4_crypt copy to session key array from SessionKey from client.
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | linux | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-aws | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-azure | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-azure-fde | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-gcp | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-gke | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-gkeop | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-ibm | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-intel | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-lowlatency | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-nvidia | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-nvidia-lowlatency | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-oem-6.8 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-oracle | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-raspi | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | linux-riscv | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-allwinner-5.19 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 22.04 | linux-aws | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-aws-5.19 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 22.04 | linux-aws-6.2 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 22.04 | linux-aws-6.5 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-azure | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-azure-5.19 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 22.04 | linux-azure-6.2 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 22.04 | linux-azure-6.5 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-azure-fde | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-azure-fde-5.19 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 22.04 | linux-azure-fde-6.2 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 22.04 | linux-gcp | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-gcp-5.19 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 22.04 | linux-gcp-6.2 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 22.04 | linux-gcp-6.5 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-gke | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-gkeop | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-hwe-5.19 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 22.04 | linux-hwe-6.2 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 22.04 | linux-hwe-6.5 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-ibm | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-intel-iotg | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-kvm | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-lowlatency | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-lowlatency-hwe-5.19 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 22.04 | linux-lowlatency-hwe-6.2 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 22.04 | linux-lowlatency-hwe-6.5 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-nvidia | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-nvidia-6.2 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 22.04 | linux-nvidia-6.5 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-nvidia-6.8 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-oem-5.17 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 22.04 | linux-oem-6.0 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 22.04 | linux-oem-6.1 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 22.04 | linux-oem-6.5 | Fixed | 6.5.0-1004.4 | UBUNTU-CVE-2023-52440 |
| Ubuntu 22.04 | linux-oracle | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-oracle-6.5 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-raspi | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-riscv | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 22.04 | linux-riscv-5.19 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 22.04 | linux-riscv-6.5 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-starfive-5.19 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 22.04 | linux-starfive-6.2 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 22.04 | linux-starfive-6.5 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | linux-xilinx-zynqmp | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | linux-aws-5.11 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 20.04 | linux-aws-5.13 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 20.04 | linux-aws-5.8 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 20.04 | linux-azure-5.11 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 20.04 | linux-azure-5.13 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 20.04 | linux-azure-5.8 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 20.04 | linux-azure-fde | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 20.04 | linux-gcp-5.11 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 20.04 | linux-gcp-5.13 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 20.04 | linux-gcp-5.8 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 20.04 | linux-gke | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 20.04 | linux-gke-5.15 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 20.04 | linux-gkeop | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | linux-gkeop-5.15 | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | linux-hwe-5.11 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 20.04 | linux-hwe-5.13 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 20.04 | linux-hwe-5.8 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 20.04 | linux-intel-5.13 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 20.04 | linux-oem-5.10 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 20.04 | linux-oem-5.13 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 20.04 | linux-oem-5.14 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 20.04 | linux-oem-5.6 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 20.04 | linux-oracle-5.11 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 20.04 | linux-oracle-5.13 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 20.04 | linux-oracle-5.8 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 20.04 | linux-raspi2 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 20.04 | linux-riscv | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 20.04 | linux-riscv-5.11 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 20.04 | linux-riscv-5.8 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 18.04 | linux-aws-5.0 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 18.04 | linux-aws-5.3 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 18.04 | linux-azure | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 18.04 | linux-azure-5.3 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 18.04 | linux-azure-edge | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 18.04 | linux-gcp | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 18.04 | linux-gcp-5.3 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 18.04 | linux-gke-4.15 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 18.04 | linux-gke-5.0 | Will not fix ZDI-CAN-21940 | ||
| Ubuntu 18.04 | linux-gke-5.3 | Will not fix ZDI-CAN-21940 | ||
| Ubuntu 18.04 | linux-gke-5.4 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 18.04 | linux-gkeop-5.4 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 18.04 | linux-hwe | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 18.04 | linux-hwe-edge | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 18.04 | linux-oem | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 18.04 | linux-oem-osp1 | Will not fix ZDI-CAN-21940 | ||
| Ubuntu 18.04 | linux-oracle-5.0 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 18.04 | linux-oracle-5.3 | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 18.04 | linux-raspi2 | Will not fix ZDI-CAN-21940 | ||
| Ubuntu 18.04 | linux-raspi2-5.3 | Will not fix ZDI-CAN-21940 | ||
| Ubuntu 16.04 | linux | Will not fix ZDI-CAN-21940 | ||
| Ubuntu 16.04 | linux-aws | Will not fix ZDI-CAN-21940 | ||
| Ubuntu 16.04 | linux-aws-hwe | Will not fix ZDI-CAN-21940 | ||
| Ubuntu 16.04 | linux-azure | Will not fix ZDI-CAN-21940 | ||
| Ubuntu 16.04 | linux-gcp | Will not fix ZDI-CAN-21940 | ||
| Ubuntu 16.04 | linux-gke | Will not fix ZDI-CAN-21940 | ||
| Ubuntu 16.04 | linux-hwe | Will not fix ZDI-CAN-21940 | ||
| Ubuntu 16.04 | linux-hwe-edge | Will not fix ZDI-CAN-21940 | UBUNTU-CVE-2023-52440 | |
| Ubuntu 16.04 | linux-kvm | Will not fix ZDI-CAN-21940 | ||
| Ubuntu 16.04 | linux-oem | Will not fix ZDI-CAN-21940 | ||
| Ubuntu 16.04 | linux-oracle | Will not fix ZDI-CAN-21940 | ||
| Ubuntu 16.04 | linux-raspi2 | Will not fix ZDI-CAN-21940 | ||
| Ubuntu 16.04 | linux-snapdragon | Will not fix ZDI-CAN-21940 | ||
| Debian 14 | linux | Fixed | 6.5.3-1 | DEBIAN-CVE-2023-52440 |
| Debian 13 | linux | Fixed | 6.5.3-1 | DEBIAN-CVE-2023-52440 |
| Debian 12 | linux | Fixed | 6.1.52-1 | DEBIAN-CVE-2023-52440 |
What the vendor says
As published in the CVE record by Linux, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Linux: affected: c5049d2d73b2dc8e6bb64be633250bad1ae3d9ef to before bd554ed4fdc3d38404a1c43d428432577573e809, f9929ef6a2a55f03aac61248c6a3a987b8546f2a to before 30fd6521b2fbd9b767e438e31945e5ea3e3a2fba, f9929ef6a2a55f03aac61248c6a3a987b8546f2a to before 7f1d6cb0eb6af3a8088dc24b7ddee9a9711538c4, f9929ef6a2a55f03aac61248c6a3a987b8546f2a to before ecd7e1c562cb08e41957fcd4b0e404de5ab38e20, f9929ef6a2a55f03aac61248c6a3a987b8546f2a to before 4b081ce0d830b684fdf967abc3696d1261387254; fixed in
30fd6521b2fbd9b767e438e31945e5ea3e3a2fba,7f1d6cb0eb6af3a8088dc24b7ddee9a9711538c4,4b081ce0d830b684fdf967abc3696d1261387254 - Linux: affected: 5.17
References
- https://git.kernel.org/stable/c/bd554ed4fdc3d38404a1c43d428432577573e809
- https://git.kernel.org/stable/c/30fd6521b2fbd9b767e438e31945e5ea3e3a2fba
- https://git.kernel.org/stable/c/7f1d6cb0eb6af3a8088dc24b7ddee9a9711538c4
- https://git.kernel.org/stable/c/ecd7e1c562cb08e41957fcd4b0e404de5ab38e20
- https://git.kernel.org/stable/c/4b081ce0d830b684fdf967abc3696d1261387254
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.