Vulnerability · Published May 1, 2024 · Assigned by Linux
CVE-2024-26952ksmbd: fix potencial out-of-bounds when buffer offset is invalid
High 8.3
In plain English
A high-severity out-of-bounds read in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 54% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix potencial out-of-bounds when buffer offset is invalid I found potencial out-of-bounds when buffer offset fields of a few requests is invalid. This patch set the minimum value of buffer offset field to ->Buffer offset to validate buffer length.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | linux | 6.1.119-1 | DSA-5818-1 |
| Debian:12 | linux | 6.1.119-1 | DEBIAN-CVE-2024-26952 |
| Debian:13 | linux | 6.7.12-1 | DEBIAN-CVE-2024-26952 |
| Debian:14 | linux | 6.7.12-1 | DEBIAN-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux | 5.15.0-117.127 | USN-6923-1 |
| Ubuntu:22.04:LTS | linux | 5.15.0-117.127 | UBUNTU-CVE-2024-26952 |
| Ubuntu:24.04:LTS | linux | 6.8.0-35.35 | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1066.72 | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1066.72 | USN-6923-1 |
| Ubuntu:24.04:LTS | linux-aws | 6.8.0-1009.9 | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | no fix listed | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-aws-6.5 | no fix listed | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1070.79 | USN-6956-1 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1070.79 | UBUNTU-CVE-2024-26952 |
| Ubuntu:24.04:LTS | linux-azure | 6.8.0-1008.8 | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | no fix listed | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-azure-6.5 | no fix listed | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1070.79.1 | USN-6956-1 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1070.79.1 | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | no fix listed | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1065.73 | USN-6923-1 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1065.73 | UBUNTU-CVE-2024-26952 |
| Ubuntu:24.04:LTS | linux-gcp | 6.8.0-1008.9 | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-gcp-6.5 | no fix listed | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1063.69 | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1063.69 | USN-6923-1 |
| Ubuntu:24.04:LTS | linux-gke | 6.8.0-1004.7 | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1049.56 | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1049.56 | USN-6923-1 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | no fix listed | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-hwe-6.5 | no fix listed | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1059.62 | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1059.62 | USN-6923-2 |
| Ubuntu:24.04:LTS | linux-ibm | 6.8.0-1006.6 | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1061.67 | USN-6923-1 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1061.67 | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1063.68 | USN-6923-1 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1063.68 | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-117.127 | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-117.127 | USN-6923-1 |
| Ubuntu:24.04:LTS | linux-lowlatency | 6.8.0-35.35.1 | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | no fix listed | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.5 | no fix listed | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1061.62 | USN-6923-1 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1061.62 | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | no fix listed | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-nvidia-6.5 | no fix listed | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra | 5.15.0-1027.27 | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra-igx | 5.15.0-1015.15 | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | no fix listed | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | no fix listed | UBUNTU-CVE-2024-26952 |
| Ubuntu:24.04:LTS | linux-oem-6.8 | 6.8.0-1006.6 | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1064.70 | USN-6923-1 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1064.70 | UBUNTU-CVE-2024-26952 |
| Ubuntu:24.04:LTS | linux-oracle | 6.8.0-1006.6 | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-oracle-6.5 | no fix listed | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1059.62 | USN-6923-2 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1059.62 | UBUNTU-CVE-2024-26952 |
| Ubuntu:24.04:LTS | linux-raspi | 6.8.0-1005.5 | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2024-26952 |
| Ubuntu:24.04:LTS | linux-riscv | 6.8.0-35.35.1 | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-riscv-6.5 | no fix listed | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-starfive-6.5 | no fix listed | UBUNTU-CVE-2024-26952 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1035.39 | UBUNTU-CVE-2024-26952 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 0626e6641f6b467447c81dd7678a69c66f7746cf – before 480469f145e5abf83361e608734e421b7d99693d0626e6641f6b467447c81dd7678a69c66f7746cf – before ad6480c9a5d884e2704adc51d69895d93339176c0626e6641f6b467447c81dd7678a69c66f7746cf – before 39bdc4197acf2ed13269167ccf093ee28cfa2a4e0626e6641f6b467447c81dd7678a69c66f7746cf – before 2dcda336b6e80b72d58d30d40f2fad9724e5fe630626e6641f6b467447c81dd7678a69c66f7746cf – before 0c5541b4c980626fa3cab16ba1a451757778bbb50626e6641f6b467447c81dd7678a69c66f7746cf – before c6cd2e8d2d9aa7ee35b1fa6a668e32a22a9753da |
| Linux | Linux | 5.15 |
Weakness: CWE-125 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H
References
- https://git.kernel.org/stable/c/480469f145e5abf83361e608734e421b7d99693d
- https://git.kernel.org/stable/c/ad6480c9a5d884e2704adc51d69895d93339176c
- https://git.kernel.org/stable/c/39bdc4197acf2ed13269167ccf093ee28cfa2a4e
- https://git.kernel.org/stable/c/2dcda336b6e80b72d58d30d40f2fad9724e5fe63
- https://git.kernel.org/stable/c/0c5541b4c980626fa3cab16ba1a451757778bbb5
- https://git.kernel.org/stable/c/c6cd2e8d2d9aa7ee35b1fa6a668e32a22a9753da
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html