Menu

Star on GitHub · 3.3k

CVE-2024-56655

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: do not defer rule destruction via call_rcu nf_tables_chain_destroy can sleep, it can't be used from call_…

Published Dec 27, 2024EPSS 0.22%

Overview

CVE-2024-56655 is a high-severity vulnerability. It was published on December 27, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

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

netfilter: nf_tables: do not defer rule destruction via call_rcu

nf_tables_chain_destroy can sleep, it can't be used from call_rcu

callbacks.

Moreover, nf_tables_rule_release() is only safe for error unwinding,

while transaction mutex is held and the to-be-desroyed rule was not

exposed to either dataplane or dumps, as it deactives+frees without

the required synchronize_rcu() in-between.

nft_rule_expr_deactivate() callbacks will change ->use counters

of other chains/sets, see e.g. nft_lookup .deactivate callback, these

must be serialized via transaction mutex.

Also add a few lockdep asserts to make this more explicit.

Calling synchronize_rcu() isn't ideal, but fixing this without is hard

and way more intrusive. As-is, we can get:

WARNING: .. net/netfilter/nf_tables_api.c:5515 nft_set_destroy+0x..

Workqueue: events nf_tables_trans_destroy_work

RIP: 0010:nft_set_destroy+0x3fe/0x5c0

Call Trace:

<TASK>

nf_tables_t

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2024-56655?

CVE-2024-56655 is a high-severity vulnerability. It was published on December 27, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2024-56655?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-56655?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-56655?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-56655 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2024

View all
LiveWatch live →