IM
IronMonkey Threat Research

CVE-2025-38079 HIGH

Published: 2025-06-18 | Last Modified: 2026-07-30 | Status: Modified

Description

In the Linux kernel, the following vulnerability has been resolved: crypto: algif_hash - fix double free in hash_accept If accept(2) is called on socket type algif_hash with MSG_MORE flag set and crypto_ahash_import fails, sk2 is freed. However, it is also freed in af_alg_release, leading to slab-use-after-free error.

Additional Descriptions (1)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: crypto: algif_hash - corrección de doble liberación en hash_accept. Si se ejecuta accept(2) en el socket tipo algif_hash con el indicador MSG_MORE activado y crypto_ahash_import falla, se libera sk2. Sin embargo, también se libera en af_alg_release, lo que genera un error de uso de slab después de la liberación.

CVSS Metrics

Base Score: 7.8 (HIGH)

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack VectorLOCAL
Attack ComplexityLOW
Privileges RequiredLOW
User InteractionNONE
ScopeUNCHANGED
Confidentiality ImpactHIGH
Integrity ImpactHIGH
Availability ImpactHIGH

Source: [email protected]

Type: Primary

Exploitability Score: 1.8

Impact Score: 5.9

Weaknesses

Source Type Description
[email protected] Primary
en CWE-415

Affected Products

Vendor Product Version Update Type
linux linux_kernel * <built-in method update of dict object at 0x7fd36b57d940> Operating System
linux linux_kernel * <built-in method update of dict object at 0x7fd36b57f900> Operating System
linux linux_kernel * <built-in method update of dict object at 0x7fd384e2a380> Operating System
linux linux_kernel * <built-in method update of dict object at 0x7fd3702655c0> Operating System
linux linux_kernel * <built-in method update of dict object at 0x7fd36b57c200> Operating System
linux linux_kernel * <built-in method update of dict object at 0x7fd36b57db40> Operating System
linux linux_kernel * <built-in method update of dict object at 0x7fd2d8113f40> Operating System
linux linux_kernel 6.15 <built-in method update of dict object at 0x7fd36b57d8c0> Operating System
linux linux_kernel 6.15 <built-in method update of dict object at 0x7fd36b57fa00> Operating System
linux linux_kernel 6.15 <built-in method update of dict object at 0x7fd36b57ed40> Operating System
linux linux_kernel 6.15 <built-in method update of dict object at 0x7fd384645fc0> Operating System
linux linux_kernel 6.15 <built-in method update of dict object at 0x7fd36b57c180> Operating System
linux linux_kernel 6.15 <built-in method update of dict object at 0x7fd3701cc140> Operating System
linux linux_kernel 6.15 <built-in method update of dict object at 0x7fd38468a680> Operating System
debian debian_linux 11.0 <built-in method update of dict object at 0x7fd370264280> Operating System

Affected Configurations

Operator: OR

Vulnerable CPE
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:6.15:rc3:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:6.15:rc4:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:6.15:rc5:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:6.15:rc6:*:*:*:*:*:*
Yes cpe:2.3:o:linux:linux_kernel:6.15:rc7:*:*:*:*:*:*

Operator: OR

Vulnerable CPE
Yes cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

References