devlink: fix net namespace reference leak in reload
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel eda60c85b4f4c7d66b7141a5fe020b1a7f395341, Kernel 1c4dac9bf1d2ac31da63b794bdec697777cbd0fd, Kernel 7b02c6d2a3cd2cd669f5c16685779f84328ae60c and 6 more.
In the Linux kernel, the following vulnerability has been resolved: devlink: fix net namespace reference leak in reload devlink_nl_reload_doit() calls devlink_netns_get(), which returns a net with a held reference. When the requested namespace differs from the current one and the reload action is not DRIVER_REINIT, the function returns -EOPNOTSUPP without releasing the reference. Add the missing put_net() on this error path.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=2edd92570441dd33246210042dc167319a5cf7e3 <eda60c85b4f4c7d66b7141a5fe020b1a7f395341, >=2edd92570441dd33246210042dc167319a5cf7e3 <1c4dac9bf1d2ac31da63b794bdec697777cbd0fd, >=2edd92570441dd33246210042dc167319a5cf7e3 <7b02c6d2a3cd2cd669f5c16685779f84328ae60c, >=2edd92570441dd33246210042dc167319a5cf7e3 <7b6552e53426ea0539c667bbc5a524fdf7feae6f, >=2edd92570441dd33246210042dc167319a5cf7e3 <bf0797b92be591ac71d7c0f610e695caca3c72c9, =6.3 | eda60c85b4f4c7d66b7141a5fe020b1a7f395341, 1c4dac9bf1d2ac31da63b794bdec697777cbd0fd, 7b02c6d2a3cd2cd669f5c16685779f84328ae60c, 7b6552e53426ea0539c667bbc5a524fdf7feae6f, bf0797b92be591ac71d7c0f610e695caca3c72c9 |
| linux-kernel: Kernel | >=6.19.0 <7.1.9, >=6.3.0 <6.6.152, >=6.7.0 <6.12.104, >=6.13.0 <6.18.45 | 7.1.9, 6.6.152, 6.12.104, 6.18.45 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket