{"id":"CVE-2024-57925","published":"2025-01-19T11:52:43Z","modified":"2026-05-23T15:56:20Z","title":"ksmbd: fix a missing return value check bug","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix a missing return value check bug\n\nIn the smb2_send_interim_resp(), if ksmbd_alloc_work_struct()\nfails to allocate a node, it returns a NULL pointer to the\nin_work pointer. This can lead to an illegal memory write of\nin_work->response_buf when allocate_interim_rsp_buf() attempts\nto perform a kzalloc() on it.\n\nTo address this issue, incorporating a check for the return\nvalue of ksmbd_alloc_work_struct() ensures that the function\nreturns immediately upon allocation failure, thereby preventing\nthe aforementioned illegal memory access.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.0031,"percentile":0.16316,"provenance":"source"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"references":[{"url":"https://git.kernel.org/stable/c/781c743e18bfd9b7dc0383f036ae952bd1486f21","tags":[]},{"url":"https://git.kernel.org/stable/c/ee7e40f7fb17f08a8cbae50553e5c2e10ae32fce","tags":[]},{"url":"https://git.kernel.org/stable/c/271ae0edbfc942795c162e6cf20d2bc02bd7fde4","tags":[]},{"url":"https://git.kernel.org/stable/c/2976e91a3e569cf2c92c9f71512c0ab1312fe965","tags":[]},{"url":"https://git.kernel.org/stable/c/4c16e1cadcbcaf3c82d5fc310fbd34d0f5d0db7c","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","tags":[]}],"priority":{"score":8.2,"factors":[{"name":"EPSS percentile","points":3.26},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 6f0207218c4c125f5bf32055ac4220b4ef3b7e67, < 781c743e18bfd9b7dc0383f036ae952bd1486f21",">= f8cf1ebb7de62c7d807707ce4abb69d483629263, < ee7e40f7fb17f08a8cbae50553e5c2e10ae32fce",">= 041bba4414cda37d00063952c9bff9c3d5812a19, < 271ae0edbfc942795c162e6cf20d2bc02bd7fde4",">= 041bba4414cda37d00063952c9bff9c3d5812a19, < 2976e91a3e569cf2c92c9f71512c0ab1312fe965",">= 041bba4414cda37d00063952c9bff9c3d5812a19, < 4c16e1cadcbcaf3c82d5fc310fbd34d0f5d0db7c",">= 5.15.145, < 5.15.177",">= 6.1.71, < 6.1.125"]},{"vendor":"Linux","product":"Linux","versions":["6.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T19:53:03.932205Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-53828","exploited":false,"provenance":"source"}}