Skip to main content
Network Thinking Solutions Logo

CVE-2024-57925

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.

All CVEs
CVE-2024-57925Published 1/19/2025

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.

Vendor advisory
CVSS7.1High

Overview

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.

Published
1/19/2025
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.15.145, < 5.16

Verify advisory

Source
linux kernel
linux
≥ 6.1.71, < 6.1.125

Verify advisory

Source
linux kernel
linux
≥ 6.6, < 6.6.72

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.12.10

Verify advisory

Source
linux kernel
linux
6.13

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ 6f0207218c4c125f5bf32055ac4220b4ef3b7e67, < 781c743e18bfd9b7dc0383f036ae952bd1486f21

Verify advisory

Source
Linux
Linux
≥ f8cf1ebb7de62c7d807707ce4abb69d483629263, < ee7e40f7fb17f08a8cbae50553e5c2e10ae32fce

Verify advisory

Source
Linux
Linux
≥ 041bba4414cda37d00063952c9bff9c3d5812a19, < 271ae0edbfc942795c162e6cf20d2bc02bd7fde4

Verify advisory

Source
Linux
Linux
≥ 041bba4414cda37d00063952c9bff9c3d5812a19, < 2976e91a3e569cf2c92c9f71512c0ab1312fe965

Verify advisory

Source
Linux
Linux
≥ 041bba4414cda37d00063952c9bff9c3d5812a19, < 4c16e1cadcbcaf3c82d5fc310fbd34d0f5d0db7c

Verify advisory

Source
Linux
Linux
≥ 5.15.145, < 5.15.177

Verify advisory

Source
Linux
Linux
≥ 6.1.71, < 6.1.125

Verify advisory

Source
Linux
Linux
6.6

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.1. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.