crypto: algif_hash - fix double free in hash_accept
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.4.294, 5.10.238, 5.15.185, 6.1.141, 6.6.93, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From fe869cdb89c95d060c77eea20204d6c91f233b53 · fixed in 5bff312b59b3f2a54ff504e4f4e47272b64f3633; From fe869cdb89c95d060c77eea20204d6c91f233b53 · fixed in bf7bba75b91539e93615f560893a599c1e1c98bf; From fe869cdb89c95d060c77eea20204d6c91f233b53 · fixed in c3059d58f79fdfb2201249c2741514e34562b547; From fe869cdb89c95d060c77eea20204d6c91f233b53 · fixed in f0f3d09f53534ea385d55ced408f2b67059b16e4; From fe869cdb89c95d060c77eea20204d6c91f233b53 · fixed in 134daaba93193df9e988524b5cd2f52d15eb1993; From fe869cdb89c95d060c77eea20204d6c91f233b53 · fixed in 2f45a8d64fb4ed4830a4b3273834ecd6ca504896; From fe869cdb89c95d060c77eea20204d6c91f233b53 · fixed in 0346f4b742345d1c733c977f3a7aef5a6419a967; From fe869cdb89c95d060c77eea20204d6c91f233b53 · fixed in b2df03ed4052e97126267e8c13ad4204ea6ba9b6
- Linux Linux
2.6.38
- KernelLinux
From 2.6.38 · fixed in 5.4.294; From 5.5.0 · fixed in 5.10.238; From 5.11.0 · fixed in 5.15.185; From 5.16.0 · fixed in 6.1.141; From 6.2.0 · fixed in 6.6.93; From 6.7.0 · fixed in 6.12.31; From 6.13.0 · fixed in 6.14.9
References 8
git.kernel.org
- stable/c/5bff312b59b3f2a54ff504e4f4e47272b64f3633
- stable/c/bf7bba75b91539e93615f560893a599c1e1c98bf
- stable/c/c3059d58f79fdfb2201249c2741514e34562b547
- stable/c/f0f3d09f53534ea385d55ced408f2b67059b16e4
- stable/c/134daaba93193df9e988524b5cd2f52d15eb1993
- stable/c/2f45a8d64fb4ed4830a4b3273834ecd6ca504896
- stable/c/0346f4b742345d1c733c977f3a7aef5a6419a967
- stable/c/b2df03ed4052e97126267e8c13ad4204ea6ba9b6