1. Home
  2. Vulnerabilities
  3. CVE-2025-38079

CVE-2025-38079

crypto: algif_hash - fix double free in hash_accept

Published 18 Jun 2025 · modified 15 Oct 2026 · Sources: NVD, CNA (vendor or assigner), CERT-FR, EPSS (FIRST)

Low 35/100

Summary

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.

Affected products and versions

Linux (9 line(s))
Linux
ProductVersionsFixed inSource
Linux 2.6.38 — CNA (vendor or assigner)
Linux kernel from 2.6.38 (included) to 5.4.294 (excluded) — NVD
Linux kernel from 5.5 (included) to 5.10.238 (excluded) — NVD
Linux kernel from 5.11 (included) to 5.15.185 (excluded) — NVD
Linux kernel from 5.16 (included) to 6.1.141 (excluded) — NVD
Linux kernel from 6.2 (included) to 6.6.93 (excluded) — NVD
Linux kernel from 6.7 (included) to 6.12.31 (excluded) — NVD
Linux kernel from 6.13 (included) to 6.14.9 (excluded) — NVD
Linux kernel 6.15 — NVD
Debian (1 line(s))
Debian
ProductVersionsFixed inSource
Debian linux 11.0 — NVD

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)
  2. — CERT-FR advisory (certfr:CERTFR-2026-AVI-1286)

CERT-FR advisories

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
NVD
Weakness (CWE)
NVD
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1, NVD)
Weakness
CWE-415 · Corruption mémoire

How this data is obtained and calculated