CVE-2024-26980 json
ksmbd: fix slab-out-of-bounds in smb2_allocate_rsp_buf
published 2024-05-01 2 y ago modified 2026-08-05 3 mo ago also EUVD-2024-24242
- cvss
- 8.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 50%
- public exploits
- 0
- none known
Summary
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: fix slab-out-of-bounds in smb2_allocate_rsp_buf
If ->ProtocolId is SMB2_TRANSFORM_PROTO_NUM, smb2 request size validation could be skipped. if request size is smaller than sizeof(struct smb2_query_info_req), slab-out-of-bounds read can happen in smb2_allocate_rsp_buf(). This patch allocate response buffer after decrypting transform request. smb3_decrypt_req() will validate transform request size and avoid slab-out-of-bound in smb2_allocate_rsp_buf().
Patch / fix
- Linux Linux 5.15.159, 6.1.88, 6.6.29, 6.8.8, 6.9
- linux Debian 12 6.1.90-1
- linux Debian 14, Debian 13 6.8.9-1
debian advisories DEBIAN-CVE-2024-26980
- linux Ubuntu 22.04 LTS 5.15.0-118.128
- linux Ubuntu 24.04 LTS 6.8.0-38.38
- linux-aws Ubuntu 22.04 LTS 5.15.0-1067.73
- linux-aws Ubuntu 24.04 LTS 6.8.0-1011.12
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1066.74
- linux-gcp Ubuntu 24.04 LTS 6.8.0-1010.11
- linux-gke Ubuntu 22.04 LTS 5.15.0-1064.70
- linux-gke Ubuntu 24.04 LTS 6.8.0-1006.9
ubuntu advisories UBUNTU-CVE-2024-26980
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- git.kernel.org/stable/c/da21401372607c49972ea87a6edaafb36a17c325 commit
- git.kernel.org/stable/c/b80ba648714e6d790d69610cf14656be222d0248 commit
- git.kernel.org/stable/c/3160d9734453a40db248487f8204830879c207f1 commit
- git.kernel.org/stable/c/0977f89722eceba165700ea384f075143f012085 commit
- git.kernel.org/stable/c/c119f4ede3fa90a9463f50831761c28f989bfb20 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-26980 updated cvss 5.5
kernel: ksmbd: fix slab-out-of-bounds in smb2_allocate_rsp_buf
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.62% chance of exploitation in the next 30 days, higher than 50% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H |
| CISA ADP | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
- Technology feeds
References
-
git.kernel.org
/stable/c/da21401372607c49972ea87a6edaafb36a17c325
patch
-
git.kernel.org
/stable/c/b80ba648714e6d790d69610cf14656be222d0248
patch
-
git.kernel.org
/stable/c/3160d9734453a40db248487f8204830879c207f1
patch
-
git.kernel.org
/stable/c/0977f89722eceba165700ea384f075143f012085
patch
-
git.kernel.org
/stable/c/c119f4ede3fa90a9463f50831761c28f989bfb20
patch
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/DAMSOZXJEPUOXW33WZYWCVAY7Z5S7OOY/
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/4EZ6PJW7VOZ224TD7N4JZNU6KV32ZJ53/
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/GCBZZEC7L7KTWWAS2NLJK6SO3IZIL4WW/
Sources
- CVE List CVE-2024-26980
- NVD CVE-2024-26980
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.