CVE-2025-38079
HIGH severity · CVSS 7.8 · Double free
7.8CVSS HIGH
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.
Impact & exploitability
Attack vectorLocal
Attack complexityLow
Privileges requiredLow
User interactionNone
Confidentiality impactHigh
Integrity impactHigh
Availability impactHigh
Exploit probability (EPSS)0%
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products we track (2)
Recommendation
Apply the vendor fix promptly. Open any affected product above for its exact safe version.
Official patch: https://git.kernel.org/stable/c/0346f4b742345d1c733c977f3a7aef5a6419a967 ↗
Additional information
- NVD record
- https://git.kernel.org/stable/c/0346f4b742345d1c733c977f3a7aef5a6419a967Patch
- https://git.kernel.org/stable/c/134daaba93193df9e988524b5cd2f52d15eb1993Patch
- https://git.kernel.org/stable/c/2f45a8d64fb4ed4830a4b3273834ecd6ca504896Patch
- https://git.kernel.org/stable/c/5bff312b59b3f2a54ff504e4f4e47272b64f3633Patch
- https://git.kernel.org/stable/c/b2df03ed4052e97126267e8c13ad4204ea6ba9b6Patch
- https://git.kernel.org/stable/c/bf7bba75b91539e93615f560893a599c1e1c98bfPatch
- https://git.kernel.org/stable/c/c3059d58f79fdfb2201249c2741514e34562b547Patch
- https://git.kernel.org/stable/c/f0f3d09f53534ea385d55ced408f2b67059b16e4Patch