Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
bf355b8d2c30a289232042cacc1cfaea4923936c to < afd5730969aec960a2fee4e5ee839a6014643976affectedbf355b8d2c30a289232042cacc1cfaea4923936c to < 4a3fcf53725b70010d1cf869a2ba549fed6b8fb3affectedbf355b8d2c30a289232042cacc1cfaea4923936c to < daf341e0a2318b813427d5a78788c86f4a7f02beaffectedbf355b8d2c30a289232042cacc1cfaea4923936c to < 61d31ac85b4572d11f8071855c0ccb4f32d76c0caffectedbf355b8d2c30a289232042cacc1cfaea4923936c to < 599a5654215092ac22bfc453f4fd3959c55ea821affectedbf355b8d2c30a289232042cacc1cfaea4923936c to < 0e44d6cbe8de983470c3d2f978649783384fdcb6affectedbf355b8d2c30a289232042cacc1cfaea4923936c to < f6a99ef4e056c20a138a95cc51332b2b96c8f383affectedbf355b8d2c30a289232042cacc1cfaea4923936c to < efb9f4f19f8e37fde43dfecebc80292d179f56c6affected
Linux Linux
Default version status: affected
4.10affected0 to < 4.10unaffected4.19.316 to ≤ 4.19.*unaffected5.4.278 to ≤ 5.4.*unaffected5.10.219 to ≤ 5.10.*unaffected5.15.161 to ≤ 5.15.*unaffected6.1.93 to ≤ 6.1.*unaffected6.6.33 to ≤ 6.6.*unaffected6.9.4 to ≤ 6.9.*unaffected6.10 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/afd5730969aec960a2fee4e5ee839a6014643976 ↗
- https://git.kernel.org/stable/c/4a3fcf53725b70010d1cf869a2ba549fed6b8fb3 ↗
- https://git.kernel.org/stable/c/daf341e0a2318b813427d5a78788c86f4a7f02be ↗
- https://git.kernel.org/stable/c/61d31ac85b4572d11f8071855c0ccb4f32d76c0c ↗
- https://git.kernel.org/stable/c/599a5654215092ac22bfc453f4fd3959c55ea821 ↗
- https://git.kernel.org/stable/c/0e44d6cbe8de983470c3d2f978649783384fdcb6 ↗
- https://git.kernel.org/stable/c/f6a99ef4e056c20a138a95cc51332b2b96c8f383 ↗
- https://git.kernel.org/stable/c/efb9f4f19f8e37fde43dfecebc80292d179f56c6 ↗
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html ↗
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html ↗
- https://cert-portal.siemens.com/productcert/html/ssa-613116.html ↗