CVE-2024-26980

ksmbd: fix slab-out-of-bounds in smb2_allocate_rsp_buf

HIGH
8.2
CVSS Score
Published: May 1, 2024 at 05:26 AM UTC
Updated: August 5, 2026 at 12:04 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.2
Exploit prediction
EPSS 0.6%
SSVC
No known 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().

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.15 ≤ v < 5.15.1595.15 ≤ v < 6.1.885.15 ≤ v < 6.6.295.15 ≤ v < 6.8.85.15 ≤ v < 6.95.16 ≤ v < 6.1.886.2 ≤ v < 6.6.296.7 ≤ v < 6.8.86.9 rc16.9 rc26.9 rc36.9 rc46.9 rc5626e6641f6b467447c81dd7678a69c66f7746cf
Vendor states this is fixed in 0977f89722eceba165700ea384f075143f012085 (fixed)
Vendor states this is fixed in 3160d9734453a40db248487f8204830879c207f1 (fixed)
Vendor states this is fixed in b80ba648714e6d790d69610cf14656be222d0248 (fixed)
Vendor states this is fixed in c119f4ede3fa90a9463f50831761c28f989bfb20 (fixed)
Vendor states this is fixed in da21401372607c49972ea87a6edaafb36a17c325 (fixed)
Vendor states this is fixed in 5.15 (unaffected)
Vendor states this is fixed in 5.15.159 (unaffected)
Vendor states this is fixed in 6.1.88 (unaffected)
Vendor states this is fixed in 6.6.29 (unaffected)
Vendor states this is fixed in 6.8.8 (unaffected)
Vendor states this is fixed in 6.9 (unaffected)

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

8.2HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-125

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card