Bug 1219102 (CVE-2024-22705) - VUL-0: CVE-2024-22705: kernel: out-of-bounds access smb2_get_data_area_len
Summary: VUL-0: CVE-2024-22705: kernel: out-of-bounds access smb2_get_data_area_len
Status: RESOLVED FIXED
Alias: CVE-2024-22705
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P5 - None : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/391994/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-22705:4.3:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-23 16:47 UTC by SMASH SMASH
Modified: 2024-01-23 16:51 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-01-23 16:47:48 UTC
An issue was discovered in ksmbd in the Linux kernel before 6.6.10. smb2_get_data_area_len in fs/smb/server/smb2misc.c can cause an smb_strndup_from_utf16 out-of-bounds access because the relationship between Name data and CreateContexts data is mishandled.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-22705
https://www.cve.org/CVERecord?id=CVE-2024-22705
https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.10
https://bugzilla.redhat.com/show_bug.cgi?id=2259864

Patch:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d10c77873ba1e9e6b91905018e29e196fd5f863d