ipv6: sr: fix memleak in seg6_hmac_init_algo
- 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 4.19.316, 5.4.278, 5.10.219, 5.15.161, 6.1.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: partial
Summary
In the Linux kernel, the following vulnerability has been resolved: ipv6: sr: fix memleak in seg6_hmac_init_algo seg6_hmac_init_algo returns without cleaning up the previous allocations if one fails, so it's going to leak all that memory and the crypto tfms. Update seg6_hmac_exit to only free the memory when allocated, so we can reuse the code directly.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
From bf355b8d2c30a289232042cacc1cfaea4923936c · fixed in afd5730969aec960a2fee4e5ee839a6014643976; From bf355b8d2c30a289232042cacc1cfaea4923936c · fixed in 4a3fcf53725b70010d1cf869a2ba549fed6b8fb3; From bf355b8d2c30a289232042cacc1cfaea4923936c · fixed in daf341e0a2318b813427d5a78788c86f4a7f02be; From bf355b8d2c30a289232042cacc1cfaea4923936c · fixed in 61d31ac85b4572d11f8071855c0ccb4f32d76c0c; From bf355b8d2c30a289232042cacc1cfaea4923936c · fixed in 599a5654215092ac22bfc453f4fd3959c55ea821; From bf355b8d2c30a289232042cacc1cfaea4923936c · fixed in 0e44d6cbe8de983470c3d2f978649783384fdcb6; From bf355b8d2c30a289232042cacc1cfaea4923936c · fixed in f6a99ef4e056c20a138a95cc51332b2b96c8f383; From bf355b8d2c30a289232042cacc1cfaea4923936c · fixed in efb9f4f19f8e37fde43dfecebc80292d179f56c6
- Linux Linux
4.10
- KernelLinux
From 4.10.0 · fixed in 4.19.316; From 4.20.0 · fixed in 5.4.278; From 5.5.0 · fixed in 5.10.219; From 5.11.0 · fixed in 5.15.161; From 5.16.0 · fixed in 6.1.93; From 6.2.0 · fixed in 6.6.33; From 6.7.0 · fixed in 6.9.4
References 8
git.kernel.org
- stable/c/afd5730969aec960a2fee4e5ee839a6014643976
- stable/c/4a3fcf53725b70010d1cf869a2ba549fed6b8fb3
- stable/c/daf341e0a2318b813427d5a78788c86f4a7f02be
- stable/c/61d31ac85b4572d11f8071855c0ccb4f32d76c0c
- stable/c/599a5654215092ac22bfc453f4fd3959c55ea821
- stable/c/0e44d6cbe8de983470c3d2f978649783384fdcb6
- stable/c/f6a99ef4e056c20a138a95cc51332b2b96c8f383
- stable/c/efb9f4f19f8e37fde43dfecebc80292d179f56c6