Bug 1223659 (CVE-2024-26954) - VUL-0: CVE-2024-26954: kernel: ksmbd: fix slab-out-of-bounds in smb_strndup_from_utf16()
Summary: VUL-0: CVE-2024-26954: kernel: ksmbd: fix slab-out-of-bounds in smb_strndup_f...
Status: RESOLVED FIXED
Alias: CVE-2024-26954
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/403723/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-26954:5.5:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-02 08:29 UTC by SMASH SMASH
Modified: 2024-05-24 10:25 UTC (History)
2 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-05-02 08:29:58 UTC
In the Linux kernel, the following vulnerability has been resolved:

ksmbd: fix slab-out-of-bounds in smb_strndup_from_utf16()

If ->NameOffset of smb2_create_req is smaller than Buffer offset of
smb2_create_req, slab-out-of-bounds read can happen from smb2_open.
This patch set the minimum value of the name offset to the buffer offset
to validate name length of smb2_create_req().

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-26954
https://www.cve.org/CVERecord?id=CVE-2024-26954
https://git.kernel.org/stable/c/3b8da67191e938a63d2736dabb4ac5d337e5de57
https://git.kernel.org/stable/c/4f97e6a9d62cb1fce82fbf4baff44b83221bc178
https://git.kernel.org/stable/c/a80a486d72e20bd12c335bcd38b6e6f19356b0aa
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-26954.mbox
https://bugzilla.redhat.com/show_bug.cgi?id=2278191
Comment 3 Andrea Mattiazzo 2024-05-24 10:25:15 UTC
All done, closing.