Bug 1226176 (CVE-2023-39176) - VUL-0: CVE-2023-39176: kernel: Linux Kernel ksmbd Transform Header Out-Of-Bounds Read Information Disclosure Vulnerability
Summary: VUL-0: CVE-2023-39176: kernel: Linux Kernel ksmbd Transform Header Out-Of-Bou...
Status: RESOLVED FIXED
Alias: CVE-2023-39176
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/410023/
Whiteboard: CVSSv3.1:SUSE:CVE-2023-39176:5.8:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-11 08:22 UTC by SMASH SMASH
Modified: 2024-06-14 09:39 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-06-11 08:22:32 UTC
This vulnerability allows remote attackers to disclose sensitive information on affected installations of Linux Kernel. Authentication is not required to exploit this vulnerability. However, only systems with ksmbd enabled are vulnerable.

The specific flaw exists within the parsing of SMB2 requests that have a transform header. The issue results from the lack of proper validation of user-supplied data, which can result in a read past the end of an allocated buffer. An attacker can leverage this in conjunction with other vulnerabilities to execute arbitrary code in the context of the kernel.

References:
https://www.zerodayinitiative.com/advisories/ZDI-24-586/
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-39176
https://lore.kernel.org/lkml/CAH2r5mv+Sy5mrZThrQUf1na-mg-B9DiLd5fkYs9sPo97GWirCA@mail.gmail.com/

Patch:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=374a7f47bf401441edff0a64465e61326bf70a82
Comment 1 Andrea Mattiazzo 2024-06-11 08:30:33 UTC
Up-stream commit:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5aa4fda5aa9c2a5a7bac67b4a12b089ab81fee3c

Previous patch link include the fix also for bug 1226175
Comment 3 Andrea Mattiazzo 2024-06-14 09:39:13 UTC
All done, closing.