7.8high
crypto: algif_hash - fix double free in hash_accept
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.22% (higher than 13% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from fe869cdb89c95d060c77eea20204d6c91f233b53 before 5bff312b59b3f2a54ff504e4f4e47272b64f3633, from fe869cdb89c95d060c77eea20204d6c91f233b53 before bf7bba75b91539e93615f560893a599c1e1c98bf, from fe869cdb89c95d060c77eea20204d6c91f233b53 before c3059d58f79fdfb2201249c2741514e34562b547, from fe869cdb89c95d060c77eea20204d6c91f233b53 before f0f3d09f53534ea385d55ced408f2b67059b16e4, from fe869cdb89c95d060c77eea20204d6c91f233b53 before 134daaba93193df9e988524b5cd2f52d15eb1993, from fe869cdb89c95d060c77eea20204d6c91f233b53 before 2f45a8d64fb4ed4830a4b3273834ecd6ca504896, from fe869cdb89c95d060c77eea20204d6c91f233b53 before 0346f4b742345d1c733c977f3a7aef5a6419a967, from fe869cdb89c95d060c77eea20204d6c91f233b53 before b2df03ed4052e97126267e8c13ad4204ea6ba9b6 and 1 more Not affected: before 2.6.38, from 5.4.294 up to 5.4.*, from 5.10.238 up to 5.10.*, from 5.15.185 up to 5.15.*, from 6.1.141 up to 6.1.*, from 6.6.93 up to 6.6.* | CVE List |
| linux linux_kernel | from 2.6.38 before 5.4.294, from 5.5 before 5.10.238, from 5.11 before 5.15.185, from 5.16 before 6.1.141, from 6.2 before 6.6.93, from 6.7 before 6.12.31, from 6.13 before 6.14.9, 6.15 | NVD |
| debian debian_linux | 11.0 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (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
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-38079 changed 2026-10-15 | CVE Terms of Use |
| NVD | CVE-2025-38079 changed 2026-07-30 | Public domain |