CVE-2024-26980
ksmbd: fix slab-out-of-bounds in smb2_allocate_rsp_buf
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < da21401372607c49972ea87a6edaafb36a17c325; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < b80ba648714e6d790d69610cf14656be222d0248; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 3160d9734453a40db248487f8204830879c207f1; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 0977f89722eceba165700ea384f075143f012085; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < c119f4ede3fa90a9463f50831761c28f989bfb20
- Anyone running Linux 5.15
Vulnerability facts
- Affected
- Linux >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < da21401372607c49972ea87a6edaafb36a17c325; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < b80ba648714e6d790d69610cf14656be222d0248; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 3160d9734453a40db248487f8204830879c207f1; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 0977f89722eceba165700ea384f075143f012085; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < c119f4ede3fa90a9463f50831761c28f989bfb20; Linux 5.15
- Fixed in
- Linux 3160d9734453a40db248487f8204830879c207f1, Linux 0977f89722eceba165700ea384f075143f012085
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 8.2 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: Low
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.85% chance of exploitation in 30 days (percentile 56, 2026-11-26)
- CWE
- CWE-125
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < da21401372607c49972ea87a6edaafb36a17c325; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < b80ba648714e6d790d69610cf14656be222d0248; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 3160d9734453a40db248487f8204830879c207f1; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 0977f89722eceba165700ea384f075143f012085; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < c119f4ede3fa90a9463f50831761c28f989bfb20 | — | cvelist |
| Linux | 5.15 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-26980. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-26980.md Affected: Linux >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < da21401372607c49972ea87a6edaafb36a17c325; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < b80ba648714e6d790d69610cf14656be222d0248; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 3160d9734453a40db248487f8204830879c207f1; >= 0626e6641f6b467447c81dd… Fixed in: Linux 3160d9734453a40db248487f8204830879c207f1, Linux 0977f89722eceba165700ea384f075143f012085 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/da21401372607c49972ea87a6edaafb36a17c325
- https://git.kernel.org/stable/c/b80ba648714e6d790d69610cf14656be222d0248
- https://git.kernel.org/stable/c/3160d9734453a40db248487f8204830879c207f1
- https://git.kernel.org/stable/c/0977f89722eceba165700ea384f075143f012085
- https://git.kernel.org/stable/c/c119f4ede3fa90a9463f50831761c28f989bfb20
Other
- 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/4EZ6PJW7VOZ224TD7N4JZNU6KV32ZJ53/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GCBZZEC7L7KTWWAS2NLJK6SO3IZIL4WW/
FAQ
Is CVE-2024-26980 being exploited?
There is no confirmed exploitation: CVE-2024-26980 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.85% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-26980?
High: CVSS 8.2 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2024-26980?
Linux >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < da21401372607c49972ea87a6edaafb36a17c325; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < b80ba648714e6d790d69610cf14656be222d0248; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 3160d9734453a40db248487f8204830879c207f1; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 0977f89722eceba165700ea384f075143f012085; >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < c119f4ede3fa90a9463f50831761c28f989bfb20; Linux 5.15.
Is there a fix for CVE-2024-26980?
Yes. Fixed in Linux 3160d9734453a40db248487f8204830879c207f1, Linux 0977f89722eceba165700ea384f075143f012085. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2024-26980?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.