mirror of
https://github.com/0xMarcio/cve.git
synced 2025-11-30 18:56:19 +00:00
18 lines
1.1 KiB
Markdown
18 lines
1.1 KiB
Markdown
|
|
### [CVE-2024-57925](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-57925)
|
||
|
|

|
||
|
|

|
||
|
|

|
||
|
|
|
||
|
|
### 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
|
||
|
|
|