CVE-2024-26952

ksmbd: fix potencial out-of-bounds when buffer offset is invalid

HIGH
7.8
CVSS Score
Published: May 1, 2024 at 05:18 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
HIGH7.8
Exploit prediction
EPSS 0.7%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix potencial out-of-bounds when buffer offset is invalid I found potencial out-of-bounds when buffer offset fields of a few requests is invalid. This patch set the minimum value of buffer offset field to ->Buffer offset to validate buffer length.

Affected

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

5.15 ≤ v < 5.15.1815.15 ≤ v < 6.1.1195.15 ≤ v < 6.6.325.15 ≤ v < 6.7.125.15 ≤ v < 6.8.35.15 ≤ v < 6.95.16 ≤ v < 6.1.1196.2 ≤ v < 6.6.326.7 ≤ v < 6.7.126.8 ≤ v < 6.8.31da177e4c3f45.15626e6641f6b467447c81dd7678a69c66f7746cf
Vendor states this is fixed in 0c5541b4c980626fa3cab16ba1a451757778bbb5 (fixed)
Vendor states this is fixed in 2dcda336b6e8 (fixed)
Vendor states this is fixed in 2dcda336b6e80b72d58d30d40f2fad9724e5fe63 (fixed)
Vendor states this is fixed in 39bdc4197acf2ed13269167ccf093ee28cfa2a4e (fixed)
Vendor states this is fixed in 480469f145e5abf83361e608734e421b7d99693d (fixed)
Vendor states this is fixed in ad6480c9a5d884e2704adc51d69895d93339176c (fixed)
Vendor states this is fixed in c6cd2e8d2d9aa7ee35b1fa6a668e32a22a9753da (fixed)
Vendor states this is fixed in 5.15 (unaffected)
Vendor states this is fixed in 5.15.181 (unaffected)
Vendor states this is fixed in 6.1.119 (unaffected)
Vendor states this is fixed in 6.6.32 (unaffected)
Vendor states this is fixed in 6.7.12 (unaffected)
Vendor states this is fixed in 6.8.3 (unaffected)
Vendor states this is fixed in 6.9 (unaffected)

References (7)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0c5541b4c980626fa3cab16ba1a451757778bbb5
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2dcda336b6e80b72d58d30d40f2fad9724e5fe63
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/39bdc4197acf2ed13269167ccf093ee28cfa2a4e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/480469f145e5abf83361e608734e421b7d99693d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ad6480c9a5d884e2704adc51d69895d93339176c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c6cd2e8d2d9aa7ee35b1fa6a668e32a22a9753da
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

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

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-120CWE-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