CVE-2024-56637 netfilter: ipset: Hold module reference while requesting a module

High 7.3 Published Updated

A race condition in the Linux kernel ipset module allows unprivileged users to trigger a kernel crash by unloading the module during a backend request.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2024-56637?

CVE-2024-56637 is a high-severity vulnerability in Linux kernel, published on 27 Dec 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

In the Linux kernel, the following vulnerability has been resolved:

netfilter: ipset: Hold module reference while requesting a module

User space may unload ip_set.ko while it is itself requesting a set type backend module, leading to a kernel crash. The race condition may be provoked by inserting an mdelay() right after the nfnl_unlock() call.

Weakness: CWE-362

Which versions are affected by CVE-2024-56637?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-56637?

Apply the vendor's patch.

Is CVE-2024-56637 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-56637, DEBIAN-CVE-2024-56637, GHSA-cw79-fj97-mpr9, UBUNTU-CVE-2024-56637.

Is CVE-2024-56637 in your software?

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

Check your SBOMs for free