CVE-2024-26980CWE-125

CVE-2024-26980

High · published May 1, 2024

CVSS v3.1
8.2
EPSS
1%
Percentile
49.1
In the wild
Unconfirmed
What it is

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().

The record
Technical detail
CVSS v3.1
8.2 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00621 · 49.1th percentile
Weakness
CWE-125 · Out-of-bounds Read
Published
2024-05-01T10:15Z
Affected products (9)
ProductVersionsFixed in
linux/linux_kernel≥ 5.15, < 5.15.1595.15.159
linux/linux_kernel≥ 5.16, < 6.1.886.1.88
linux/linux_kernel≥ 6.2, < 6.6.296.6.29
linux/linux_kernel≥ 6.7, < 6.8.86.8.8
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (13)
https://git.kernel.org/stable/c/0977f89722eceba165700ea384f075143f012085 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/3160d9734453a40db248487f8204830879c207f1 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/b80ba648714e6d790d69610cf14656be222d0248 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/c119f4ede3fa90a9463f50831761c28f989bfb20 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/da21401372607c49972ea87a6edaafb36a17c325 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/0977f89722eceba165700ea384f075143f012085 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/3160d9734453a40db248487f8204830879c207f1 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/b80ba648714e6d790d69610cf14656be222d0248 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/c119f4ede3fa90a9463f50831761c28f989bfb20 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/da21401372607c49972ea87a6edaafb36a17c325 · af854a3a-2127-422b-91ae-364da2661108https://lists.fedoraproject.org/archives/list/[email protected]/message/4EZ6PJW7VOZ224TD7N4JZNU6KV32ZJ53/ · af854a3a-2127-422b-91ae-364da2661108https://lists.fedoraproject.org/archives/list/[email protected]/message/DAMSOZXJEPUOXW33WZYWCVAY7Z5S7OOY/ · af854a3a-2127-422b-91ae-364da2661108https://lists.fedoraproject.org/archives/list/[email protected]/message/GCBZZEC7L7KTWWAS2NLJK6SO3IZIL4WW/ · af854a3a-2127-422b-91ae-364da2661108
EPSS history
Timeline
  • 01 MAY 05:26Z
    ksmbd: fix slab-out-of-bounds in smb2_allocate_rsp_buf
    cvelistv5