iproute2 before 5.1.0 has a use-after-free in get_netnsid_from_name in ip/ipnetns.c. NOTE: security relevance may be limited to certain uses of setuid that, although not a default, are sometimes a configuration option offered to end users. Even when setuid is used, other factors (such as C library configuration) may block exploitability.
Fix
Patch, vendor advisory and mitigation references on NVD 2
- https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=9bf2c538a0eb10d66e2365a655bf6c52f5ba3d10 Patch, Third Party Advisory
- https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=9bf2c538a0eb10d66e2365a655bf6c52f5ba3d10 Patch, Third Party Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 4.4 · iproute2_project, canonicalNVD modified 2026-10-14 08:17
Affected (CPE criteria) 2
cpe:2.3:a:iproute2_project:iproute2:*:*:*:*:*:*:*:*cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
References 9
- https://bugzilla.suse.com/show_bug.cgi?id=1171452 Issue Tracking, Third Party Advisory
- https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=9bf2c538a0eb10d66e2365a655bf6c52f5ba3d10 Patch, Third Party Advisory
- https://security.gentoo.org/glsa/202008-06 Third Party Advisory
- https://usn.ubuntu.com/4357-1/ Third Party Advisory
- https://bugzilla.suse.com/show_bug.cgi?id=1171452 Issue Tracking, Third Party Advisory
- https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=9bf2c538a0eb10d66e2365a655bf6c52f5ba3d10 Patch, Third Party Advisory
- https://security.gentoo.org/glsa/202008-06 Third Party Advisory
- https://usn.ubuntu.com/4357-1/ Third Party Advisory
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html