# CVE-2024-56655: netfilter: nf\_tables: do not defer rule destruction via call\_rcu

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.32% (percentile 17, 2026-11-28)
- **Published:** 2024-12-27T15:06:19.033Z
- **Modified:** 2026-08-05T11:45:53.066Z

## Who should check

- Anyone running Linux \>= 9eee6097ffb26cdd2adb988c0d378fa0d650c737, \< 5146c27b2780aac59876a887a5f4e793b8949862; \>= 558f503f707f481bbf40efa74a938b8021df841d, \< 2991dc357a28b61c13ed1f7b59e9251e2b4562fb; \>= a394c160d57f4b083bd904a22802f6fb7f5b3cea, \< b8d8f53e1858178882b881b8c09f94ef0e83bf76; \>= e6c32a64d61184c2bdf89442b3d31ef530afba34, \< b0f013bebf94fe7ae75e5a53be2f2bd1cc1841e3; \>= bfd05c68e4c6320304e9f371ffa356b6e4b9cc53, \< 27f0574253f6c24c8ee4e3f0a685b75ed3a256ed; \>= c03d278fdf35e73dd0ec543b9b556876b9d9a8dc, \< 7cf0bd232b565d9852cb25fd094f77254773e048; \>= c03d278fdf35e73dd0ec543b9b556876b9d9a8dc, \< b04df3da1b5c6f6dc7cdccc37941740c078c4043; cb401e5799e0acacb405f2128097e9c4ccf82f8a; \>= 6.6.61, \< 6.6.67; \>= 6.11.8, \< 6.12
- Anyone running Linux 6.12

## 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\_trans\_destroy\_work+0x6b7/0xad0
 process\_one\_work+0x64a/0xce0
 worker\_thread+0x613/0x10d0

In case the synchronize\_rcu becomes an issue, we can explore alternatives.

One way would be to allocate nft\_trans\_rule objects + one nft\_trans\_chain
object, deactivate the rules + the chain and then defer the freeing to the
nft destroy workqueue.  We'd still need to keep the synchronize\_rcu path as
a fallback to handle -ENOMEM corner cases though.

## Affected and fixed versions

- Linux: \>= 9eee6097ffb26cdd2adb988c0d378fa0d650c737, \< 5146c27b2780aac59876a887a5f4e793b8949862; \>= 558f503f707f481bbf40efa74a938b8021df841d, \< 2991dc357a28b61c13ed1f7b59e9251e2b4562fb; \>= a394c160d57f4b083bd904a22802f6fb7f5b3cea, \< b8d8f53e1858178882b881b8c09f94ef0e83bf76; \>= e6c32a64d61184c2bdf89442b3d31ef530afba34, \< b0f013bebf94fe7ae75e5a53be2f2bd1cc1841e3; \>= bfd05c68e4c6320304e9f371ffa356b6e4b9cc53, \< 27f0574253f6c24c8ee4e3f0a685b75ed3a256ed; \>= c03d278fdf35e73dd0ec543b9b556876b9d9a8dc, \< 7cf0bd232b565d9852cb25fd094f77254773e048; \>= c03d278fdf35e73dd0ec543b9b556876b9d9a8dc, \< b04df3da1b5c6f6dc7cdccc37941740c078c4043; cb401e5799e0acacb405f2128097e9c4ccf82f8a; \>= 6.6.61, \< 6.6.67; \>= 6.11.8, \< 6.12 (cvelist)
- Linux: 6.12 (cvelist)

## Mitigation

- Upgrade Linux to 6.12 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-56655. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-56655.md
Affected: Linux >= 9eee6097ffb26cdd2adb988c0d378fa0d650c737, < 5146c27b2780aac59876a887a5f4e793b8949862; >= 558f503f707f481bbf40efa74a938b8021df841d, < 2991dc357a28b61c13ed1f7b59e9251e2b4562fb; >= a394c160d57f4b083bd904a22802f6fb7f5b3cea, < b8d8f53e1858178882b881b8c09f94ef0e83bf76; >= e6c32a64d61184c2bdf8944…
Fixed in: Linux 5146c27b2780aac59876a887a5f4e793b8949862, Linux 2991dc357a28b61c13ed1f7b59e9251e2b4562fb, Linux 27f0574253f6c24c8ee4e3f0a685b75ed3a256ed, Linux 7cf0bd232b565d9852cb25fd094f77254773e048, Linux 6.6.67, Linux 6.12

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-56655 being exploited?

There is no confirmed exploitation: CVE-2024-56655 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2024-56655?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-56655?

Linux \>= 9eee6097ffb26cdd2adb988c0d378fa0d650c737, \< 5146c27b2780aac59876a887a5f4e793b8949862; \>= 558f503f707f481bbf40efa74a938b8021df841d, \< 2991dc357a28b61c13ed1f7b59e9251e2b4562fb; \>= a394c160d57f4b083bd904a22802f6fb7f5b3cea, \< b8d8f53e1858178882b881b8c09f94ef0e83bf76; \>= e6c32a64d61184c2bdf89442b3d31ef530afba34, \< b0f013bebf94fe7ae75e5a53be2f2bd1cc1841e3; \>= bfd05c68e4c6320304e9f371ffa356b6e4b9cc53, \< 27f0574253f6c24c8ee4e3f0a685b75ed3a256ed; \>= c03d278fdf35e73dd0ec543b9b556876b9d9a8dc, \< 7cf0bd232b565d9852cb25fd094f77254773e048; \>= c03d278fdf35e73dd0ec543b9b556876b9d9a8dc, \< b04df3da1b5c6f6dc7cdccc37941740c078c4043; cb401e5799e0acacb405f2128097e9c4ccf82f8a; \>= 6.6.61, \< 6.6.67; \>= 6.11.8, \< 6.12; Linux 6.12.

### Is there a fix for CVE-2024-56655?

Yes. Fixed in Linux 5146c27b2780aac59876a887a5f4e793b8949862, Linux 2991dc357a28b61c13ed1f7b59e9251e2b4562fb, Linux 27f0574253f6c24c8ee4e3f0a685b75ed3a256ed, Linux 7cf0bd232b565d9852cb25fd094f77254773e048, Linux 6.6.67, Linux 6.12. Upgrade Linux to 6.12 or later.

### How do I check if I'm affected by CVE-2024-56655?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/27f0574253f6c24c8ee4e3f0a685b75ed3a256ed>
- patch: <https://git.kernel.org/stable/c/7cf0bd232b565d9852cb25fd094f77254773e048>
- patch: <https://git.kernel.org/stable/c/b04df3da1b5c6f6dc7cdccc37941740c078c4043>
- other: <https://git.kernel.org/stable/c/5146c27b2780aac59876a887a5f4e793b8949862>
- other: <https://git.kernel.org/stable/c/2991dc357a28b61c13ed1f7b59e9251e2b4562fb>
- other: <https://git.kernel.org/stable/c/b8d8f53e1858178882b881b8c09f94ef0e83bf76>
- other: <https://git.kernel.org/stable/c/b0f013bebf94fe7ae75e5a53be2f2bd1cc1841e3>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-56655>

HTML: <https://flawdb.com/CVE-2024-56655> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-56655>
