cve/2024/CVE-2024-57925.md

18 lines
1.1 KiB
Markdown
Raw Normal View History

2025-09-29 16:08:36 +00:00
### [CVE-2024-57925](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-57925)
![](https://img.shields.io/static/v1?label=Product&message=Linux&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=6f0207218c4c125f5bf32055ac4220b4ef3b7e67%3C%20781c743e18bfd9b7dc0383f036ae952bd1486f21%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### Description
In the Linux kernel, the following vulnerability has been resolved:ksmbd: fix a missing return value check bugIn the smb2_send_interim_resp(), if ksmbd_alloc_work_struct()fails to allocate a node, it returns a NULL pointer to thein_work pointer. This can lead to an illegal memory write ofin_work->response_buf when allocate_interim_rsp_buf() attemptsto perform a kzalloc() on it.To address this issue, incorporating a check for the returnvalue of ksmbd_alloc_work_struct() ensures that the functionreturns immediately upon allocation failure, thereby preventingthe aforementioned illegal memory access.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/oogasawa/Utility-security