CVE-2024-57925 - CVE House
Back to Database
Status published Unknown CVE-2024-57925

ksmbd: fix a missing return value check bug

Vulnerability Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix a missing return value check bug In the smb2_send_interim_resp(), if ksmbd_alloc_work_struct() fails to allocate a node, it returns a NULL pointer to the in_work pointer. This can lead to an illegal memory write of in_work->response_buf when allocate_interim_rsp_buf() attempts to perform a kzalloc() on it. To address this issue, incorporating a check for the return value of ksmbd_alloc_work_struct() ensures that the function returns immediately upon allocation failure, thereby preventing the aforementioned illegal memory access.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2024-57925

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

Linux
Vulnerable Versions:
6f0207218c4c125f5bf32055ac4220b4ef3b7e67, f8cf1ebb7de62c7d807707ce4abb69d483629263, 041bba4414cda37d00063952c9bff9c3d5812a19, 5.15.145, 6.1.71, 6.6, 0, 5.15.177, 6.1.125, 6.6.72, 6.12.10, 6.13

Timeline

Official Publish: January 19th, 2025
Last Modified: May 23rd, 2026
Added to House: July 22nd, 2026

CVSS Vectors

No vector data available

Weaknesses (CWE)

No CWE data available

MITRE ATT&CK TTPs

No associated TTPs found for this vulnerability.