PT-2025-3650 · Linux+5 · Linux Kernel+5

Publicado

2024-12-23

·

Atualizado

2025-10-03

·

CVE-2024-57925

CVSS v3.1

7.1

Alta

VetorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel versions prior to 6.6.74
Description A missing return value check bug in the ksmbd module has been resolved. The issue occurs in the smb2 send interim resp() function when ksmbd alloc work struct() fails to allocate a node, returning 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. The fix incorporates a check for the return value of ksmbd alloc work struct(), ensuring the function returns immediately upon allocation failure, preventing the illegal memory access.
Recommendations For Linux kernel versions prior to 6.6.74, update to version 6.6.74 or later to resolve the issue. As a temporary workaround, consider disabling the ksmbd module until a patch is available. Restrict access to the smb2 send interim resp() function to minimize the risk of exploitation. Avoid using the in work pointer in the affected function until the issue is resolved.

Exploit

Correção

NULL Pointer Dereference

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

ALT-PU-2025-12647
BDU:2025-04366
CVE-2024-57925
DLA-4076-1
DSA-5860-1
MGASA-2025-0030
MGASA-2025-0032
OESA-2025-1110
OESA-2025-1111
USN-7379-1
USN-7379-2
USN-7380-1
USN-7381-1
USN-7382-1
USN-7387-1
USN-7387-2
USN-7387-3
USN-7388-1
USN-7389-1
USN-7390-1
USN-7407-1
USN-7421-1
USN-7458-1
USN-7459-1
USN-7459-2
USN-7513-1
USN-7513-2
USN-7513-3
USN-7513-4
USN-7513-5
USN-7514-1
USN-7515-1
USN-7515-2
USN-7522-1
USN-7523-1
USN-7524-1

Produtos afetados

Alt Linux
Astra Linux
Linuxmint
Linux Kernel
Red Os
Ubuntu