CVE-2025-38079

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.15:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.15:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.15:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.15:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.15:rc7:*:*:*:*:*:*

Configuration 2 (hide)

cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

History

17 Dec 2025, 17:03

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/0346f4b742345d1c733c977f3a7aef5a6419a967 - () https://git.kernel.org/stable/c/0346f4b742345d1c733c977f3a7aef5a6419a967 - Patch
References () https://git.kernel.org/stable/c/134daaba93193df9e988524b5cd2f52d15eb1993 - () https://git.kernel.org/stable/c/134daaba93193df9e988524b5cd2f52d15eb1993 - Patch
References () https://git.kernel.org/stable/c/2f45a8d64fb4ed4830a4b3273834ecd6ca504896 - () https://git.kernel.org/stable/c/2f45a8d64fb4ed4830a4b3273834ecd6ca504896 - Patch
References () https://git.kernel.org/stable/c/5bff312b59b3f2a54ff504e4f4e47272b64f3633 - () https://git.kernel.org/stable/c/5bff312b59b3f2a54ff504e4f4e47272b64f3633 - Patch
References () https://git.kernel.org/stable/c/b2df03ed4052e97126267e8c13ad4204ea6ba9b6 - () https://git.kernel.org/stable/c/b2df03ed4052e97126267e8c13ad4204ea6ba9b6 - Patch
References () https://git.kernel.org/stable/c/bf7bba75b91539e93615f560893a599c1e1c98bf - () https://git.kernel.org/stable/c/bf7bba75b91539e93615f560893a599c1e1c98bf - Patch
References () https://git.kernel.org/stable/c/c3059d58f79fdfb2201249c2741514e34562b547 - () https://git.kernel.org/stable/c/c3059d58f79fdfb2201249c2741514e34562b547 - Patch
References () https://git.kernel.org/stable/c/f0f3d09f53534ea385d55ced408f2b67059b16e4 - () https://git.kernel.org/stable/c/f0f3d09f53534ea385d55ced408f2b67059b16e4 - Patch
References () https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html - () https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html - Third Party Advisory
References () https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html - () https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html - Third Party Advisory
CPE cpe:2.3:o:linux:linux_kernel:6.15:rc7:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.15:rc5:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.15:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.15:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.15:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:*
CWE CWE-415
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8
First Time Linux
Debian
Debian debian Linux
Linux linux Kernel

03 Nov 2025, 18:16

Type Values Removed Values Added
Summary
  • (es) 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.
References
  • () https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html -
  • () https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html -

18 Jun 2025, 10:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-06-18 10:15

Updated : 2025-12-17 17:03


NVD link : CVE-2025-38079

Mitre link : CVE-2025-38079

CVE.ORG link : CVE-2025-38079


JSON object : View

Products Affected

debian

  • debian_linux

linux

  • linux_kernel
CWE
CWE-415

Double Free