{"id":"CVE-2025-38079","aliases":["CVE-2025-38079"],"related":[],"kind":"vulnerability","state":"published","title":"crypto: algif_hash - fix double free in hash_accept","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: algif_hash - fix double free in hash_accept\n\nIf accept(2) is called on socket type algif_hash with\nMSG_MORE flag set and crypto_ahash_import fails,\nsk2 is freed. However, it is also freed in af_alg_release,\nleading to slab-use-after-free error.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: algif_hash - fix double free in hash_accept\n\nIf accept(2) is called on socket type algif_hash with\nMSG_MORE flag set and crypto_ahash_import fails,\nsk2 is freed. However, it is also freed in af_alg_release,\nleading to slab-use-after-free error.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-06-18T09:33:53.251Z","modified":"2026-10-15T01:06:29.165Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-415"],"affected":[{"ranges":[{"type":"git","introduced":"fe869cdb89c95d060c77eea20204d6c91f233b53","fixed":"5bff312b59b3f2a54ff504e4f4e47272b64f3633","status":"affected"},{"type":"git","introduced":"fe869cdb89c95d060c77eea20204d6c91f233b53","fixed":"bf7bba75b91539e93615f560893a599c1e1c98bf","status":"affected"},{"type":"git","introduced":"fe869cdb89c95d060c77eea20204d6c91f233b53","fixed":"c3059d58f79fdfb2201249c2741514e34562b547","status":"affected"},{"type":"git","introduced":"fe869cdb89c95d060c77eea20204d6c91f233b53","fixed":"f0f3d09f53534ea385d55ced408f2b67059b16e4","status":"affected"},{"type":"git","introduced":"fe869cdb89c95d060c77eea20204d6c91f233b53","fixed":"134daaba93193df9e988524b5cd2f52d15eb1993","status":"affected"},{"type":"git","introduced":"fe869cdb89c95d060c77eea20204d6c91f233b53","fixed":"2f45a8d64fb4ed4830a4b3273834ecd6ca504896","status":"affected"},{"type":"git","introduced":"fe869cdb89c95d060c77eea20204d6c91f233b53","fixed":"0346f4b742345d1c733c977f3a7aef5a6419a967","status":"affected"},{"type":"git","introduced":"fe869cdb89c95d060c77eea20204d6c91f233b53","fixed":"b2df03ed4052e97126267e8c13ad4204ea6ba9b6","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.38","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.38","status":"unaffected"},{"type":"semver","introduced":"5.4.294","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.238","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.185","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.141","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.93","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.31","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.14.9","lastAffected":"6.14.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.15","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"2.6.38","fixed":"5.4.294"},{"status":"affected","introduced":"5.5","fixed":"5.10.238"},{"status":"affected","introduced":"5.11","fixed":"5.15.185"},{"status":"affected","introduced":"5.16","fixed":"6.1.141"},{"status":"affected","introduced":"6.2","fixed":"6.6.93"},{"status":"affected","introduced":"6.7","fixed":"6.12.31"},{"status":"affected","introduced":"6.13","fixed":"6.14.9"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/5bff312b59b3f2a54ff504e4f4e47272b64f3633","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bf7bba75b91539e93615f560893a599c1e1c98bf","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c3059d58f79fdfb2201249c2741514e34562b547","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f0f3d09f53534ea385d55ced408f2b67059b16e4","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/134daaba93193df9e988524b5cd2f52d15eb1993","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2f45a8d64fb4ed4830a4b3273834ecd6ca504896","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0346f4b742345d1c733c977f3a7aef5a6419a967","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b2df03ed4052e97126267e8c13ad4204ea6ba9b6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-082556.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-06-10T20:41:20.938Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-38079","url":"https://www.cve.org/CVERecord?id=CVE-2025-38079","licence":"CVE Terms of Use","modified":"2026-10-15T01:06:29.165Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-38079","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38079","licence":"Public domain","modified":"2026-07-30T06:22:48.573Z"}],"updatedAt":"2026-11-25T22:58:59.375Z","epss":{"score":0.00225,"percentile":0.13992,"date":"2026-12-01T12:00:22.000Z"}}