Shellfeed logo Shellfeed

CVE-2026-74718 · UNKNOWN

Summary: devlink: fix net namespace reference leak in reload

Details

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 packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [2edd92570441dd33246210042dc167319a5cf7e3 – 7b6552e53426ea0539c667bbc5a524fdf7feae6f]
  • Linux Kernel [6.3.0 – 6.6.152] [6.7.0 – 6.12.104] [6.13.0 – 6.18.45] [6.19.0 – 7.1.9]

References