CVE-2026-74718
JSON

Not scored

devlink: fix net namespace reference leak in reload

Severity
Not scored
Exploit likelihood
0.17% (higher than 6% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

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

Product or packageVersionsReported by
Linux Linuxfrom 2edd92570441dd33246210042dc167319a5cf7e3 before 7b6552e53426ea0539c667bbc5a524fdf7feae6f, from 2edd92570441dd33246210042dc167319a5cf7e3 before bf0797b92be591ac71d7c0f610e695caca3c72c9, from 2edd92570441dd33246210042dc167319a5cf7e3 before 7b02c6d2a3cd2cd669f5c16685779f84328ae60c, from 2edd92570441dd33246210042dc167319a5cf7e3 before eda60c85b4f4c7d66b7141a5fe020b1a7f395341, from 2edd92570441dd33246210042dc167319a5cf7e3 before 1c4dac9bf1d2ac31da63b794bdec697777cbd0fd, 6.3
Not affected: before 6.3, from 6.6.152 up to 6.6.*, from 6.12.104 up to 6.12.*, from 6.18.45 up to 6.18.*, from 7.1.9 up to 7.1.*, from 7.2 up to *
CVE List

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: devlink: corrige la fuga de referencia del espacio de nombres de red en la recarga devlink_nl_reload_doit() llama a devlink_netns_get(), que devuelve un net con una referencia retenida. Cuando el espacio de nombres solicitado difiere del actual y la acción de recarga no es DRIVER_REINIT, la función devuelve -EOPNOTSUPP sin liberar la referencia. Añade el put_net() que falta en esta ruta de error.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-74718 changed 2026-08-22CVE Terms of Use
NVDCVE-2026-74718 changed 2026-10-14Public domain