CVE-2024-26634 net: fix removing a namespace with conflicting altnames

Medium 5.5 Published Updated

A bug in Linux kernel networking causes a crash when removing a network namespace with conflicting interface altnames, leading to denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-26634?

CVE-2024-26634 is a medium-severity vulnerability in Linux kernel, published on 18 Mar 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Which versions are affected by CVE-2024-26634?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-26634?

Apply the vendor's patch.

Is CVE-2024-26634 being exploited?

There is no known exploitation of CVE-2024-26634 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-26634, DEBIAN-CVE-2024-26634, GHSA-7rx6-7rmx-f3hf, UBUNTU-CVE-2024-26634.

Is CVE-2024-26634 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free