net: fix removing a namespace with conflicting altnames
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
net: fix removing a namespace with conflicting altnames
Mark reports a BUG() when a net namespace is removed.
kernel BUG at net/core/dev.c:11520!
Physical interfaces moved outside of init_net get "refunded" to init_net when that namespace disappears. The main interface name may get overwritten in the process if it would have conflicted. We need to also discard all conflicting altnames. Recent fixes addressed ensuring that altnames get moved with the main interface, which surfaced this problem.
From the CVE record · Linux
The Linux kernel can hit a BUG() when a network namespace is removed and a physical interface being returned to the initial namespace has conflicting alternative names. This can cause a kernel failure; the input does not establish an attacker path, authentication requirements, or whether user interaction is needed.
Engineers running Linux kernels that move physical interfaces between network namespaces should check their kernel versions; affected versions were not provided.