CVE-2024-26980
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…
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.62%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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().
- CVSS 3.1
- 8.2 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
- EPSS
- 0.62% probability · 48th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-125
- Affected
- linux/linux kernel
- Source
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
References
- https://git.kernel.org/stable/c/0977f89722eceba165700ea384f075143f012085Patch
- https://git.kernel.org/stable/c/3160d9734453a40db248487f8204830879c207f1Patch
- https://git.kernel.org/stable/c/b80ba648714e6d790d69610cf14656be222d0248Patch
- https://git.kernel.org/stable/c/c119f4ede3fa90a9463f50831761c28f989bfb20Patch
- https://git.kernel.org/stable/c/da21401372607c49972ea87a6edaafb36a17c325Patch
- https://git.kernel.org/stable/c/0977f89722eceba165700ea384f075143f012085Patch
- https://git.kernel.org/stable/c/3160d9734453a40db248487f8204830879c207f1Patch
- https://git.kernel.org/stable/c/b80ba648714e6d790d69610cf14656be222d0248Patch
- https://git.kernel.org/stable/c/c119f4ede3fa90a9463f50831761c28f989bfb20Patch
- https://git.kernel.org/stable/c/da21401372607c49972ea87a6edaafb36a17c325Patch
- 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/
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.