« List of all CVEs

CVE-2025-38079

crypto: algif_hash - fix double free in hash_accept

Published: 6/18/2025 Last updated: 6/11/2026 Reserved: 4/16/2025

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.

CNA assigner: Linux (416baaa9-dc9f-4396-8d5f-8c081fb06d67) Requested by: n/a

Opam packages affected (29)

albatross cdrom conf-bpftool conf-libbpf conf-linux-libc-dev core core_unix hvsock mirage-block-unix mm ocaml-probes ortools_solvers orun rawlink rawlink-eio rawlink-lwt restricted shell solo5 solo5-bindings-hvt solo5-bindings-spt solo5-cross-aarch64 solo5-kernel-ukvm tracy-client tuntap uring vhd-format vhd-format-lwt xapi-stdext-unix

Products affected (4)

Product Vendor Version
Linux Linux 16.3.4
Linux Linux 16.3.5
Linux Linux Versions earlier than 9.1.0.328(C185E1R1P9T8)
Linux Linux Versions earlier than 9.1.0.311(C185E3R3P1)

References (22)