CVE-2024-56783 netfilter: nft_socket: remove WARN_ON_ONCE on maximum cgroup level
A reachable WARN_ON_ONCE in the Linux kernel netfilter module allows local users to trigger kernel warnings, potentially causing system instability or 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-56783?
CVE-2024-56783 is a medium-severity denial of service vulnerability in Linux kernel, published on 8 Jan 2025. 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:
netfilter: nft_socket: remove WARN_ON_ONCE on maximum cgroup level
cgroup maximum depth is INT_MAX by default, there is a cgroup toggle to restrict this maximum depth to a more reasonable value not to harm performance. Remove unnecessary WARN_ON_ONCE which is reachable from userspace.
Weakness: CWE-617
Which versions are affected by CVE-2024-56783?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-56783?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2024-56783 being exploited?
There is no known exploitation of CVE-2024-56783 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-55343, BELL-CVE-2024-56783, DEBIAN-CVE-2024-56783, GHSA-9vgr-6gpq-2rj5, UBUNTU-CVE-2024-56783.