CVE-2024-26980
HIGH 8.2CVSS 3.1In 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().
- Published
- 1 May 2024
- Last modified
- 4 Aug 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Modified
- Weakness
- CWE-125
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.15, < 5.15.159 | 5.15.159 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.16, < 6.1.88 | 6.1.88 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.2, < 6.6.29 | 6.6.29 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.7, < 6.8.8 | 6.8.8 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:* |
= 6.9 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.9:rc2:*:*:*:*:*:* |
= 6.9 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.9:rc3:*:*:*:*:*:* |
= 6.9 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.9:rc4:*:*:*:*:*:* |
= 6.9 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.9:rc5:*:*:*:*:*:* |
= 6.9 |
References
- https://git.kernel.org/stable/c/0977f89722eceba165700ea384f075143f012085 · Patch
- https://git.kernel.org/stable/c/3160d9734453a40db248487f8204830879c207f1 · Patch
- https://git.kernel.org/stable/c/b80ba648714e6d790d69610cf14656be222d0248 · Patch
- https://git.kernel.org/stable/c/c119f4ede3fa90a9463f50831761c28f989bfb20 · Patch
- https://git.kernel.org/stable/c/da21401372607c49972ea87a6edaafb36a17c325 · Patch
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4EZ6PJW7VOZ224TD7N4JZNU6KV32ZJ53/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DAMSOZXJEPUOXW33WZYWCVAY7Z5S7OOY/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GCBZZEC7L7KTWWAS2NLJK6SO3IZIL4WW/
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 1 May 2024)