Bug 2373383 (CVE-2025-38079) - CVE-2025-38079 kernel: crypto: algif_hash - fix double free in hash_accept
Summary: CVE-2025-38079 kernel: crypto: algif_hash - fix double free in hash_accept
Keywords:
Status: NEW
Alias: CVE-2025-38079
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-06-18 10:04 UTC by OSIDB Bzimport
Modified: 2025-06-20 15:09 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-06-18 10:04:48 UTC
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.

Comment 1 Avinash Hanwate 2025-06-20 15:00:24 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025061841-CVE-2025-38079-7fa5@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.