ipv6: sr: fix memleak in seg6_hmac_init_algo
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0e44d6cbe8de983470c3d2f978649783384fdcb6, Kernel 4a3fcf53725b70010d1cf869a2ba549fed6b8fb3, Kernel 599a5654215092ac22bfc453f4fd3959c55ea821 and 5 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =4.10, >=bf355b8d2c30a289232042cacc1cfaea4923936c <0e44d6cbe8de983470c3d2f978649783384fdcb6, >=bf355b8d2c30a289232042cacc1cfaea4923936c <4a3fcf53725b70010d1cf869a2ba549fed6b8fb3, >=bf355b8d2c30a289232042cacc1cfaea4923936c <599a5654215092ac22bfc453f4fd3959c55ea821, >=bf355b8d2c30a289232042cacc1cfaea4923936c <61d31ac85b4572d11f8071855c0ccb4f32d76c0c, >=bf355b8d2c30a289232042cacc1cfaea4923936c <afd5730969aec960a2fee4e5ee839a6014643976, >=bf355b8d2c30a289232042cacc1cfaea4923936c <daf341e0a2318b813427d5a78788c86f4a7f02be, >=bf355b8d2c30a289232042cacc1cfaea4923936c <efb9f4f19f8e37fde43dfecebc80292d179f56c6, >=bf355b8d2c30a289232042cacc1cfaea4923936c <f6a99ef4e056c20a138a95cc51332b2b96c8f383 | 0e44d6cbe8de983470c3d2f978649783384fdcb6, 4a3fcf53725b70010d1cf869a2ba549fed6b8fb3, 599a5654215092ac22bfc453f4fd3959c55ea821, 61d31ac85b4572d11f8071855c0ccb4f32d76c0c, afd5730969aec960a2fee4e5ee839a6014643976, daf341e0a2318b813427d5a78788c86f4a7f02be, efb9f4f19f8e37fde43dfecebc80292d179f56c6, f6a99ef4e056c20a138a95cc51332b2b96c8f383 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket