# CVE-2024-42321: net: flow\_dissector: use DEBUG\_NET\_WARN\_ON\_ONCE

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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.30% (percentile 16, 2026-11-28)
- **Published:** 2024-08-17T09:09:33.505Z
- **Modified:** 2026-06-17T07:49:15.390Z

## Who should check

- Anyone running Linux \>= 9b52e3f267a6835efd50ed9002d530666d16a411, \< eb03d9826aa646577342a952d658d4598381c035; \>= 9b52e3f267a6835efd50ed9002d530666d16a411, \< 4afbac11f2f629d1e62817c4e210bdfaa7521107; \>= 9b52e3f267a6835efd50ed9002d530666d16a411, \< c5d21aabf1b31a79f228508af33aee83456bc1b0; \>= 9b52e3f267a6835efd50ed9002d530666d16a411, \< 120f1c857a73e52132e473dee89b340440cb692b
- Anyone running Linux 5.2

## Description

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

net: flow\_dissector: use DEBUG\_NET\_WARN\_ON\_ONCE

The following splat is easy to reproduce upstream as well as in -stable
kernels. Florian Westphal provided the following commit:

  d1dab4f71d37 ("net: add and use \_\_skb\_get\_hash\_symmetric\_net")

but this complementary fix has been also suggested by Willem de Bruijn
and it can be easily backported to -stable kernel which consists in
using DEBUG\_NET\_WARN\_ON\_ONCE instead to silence the following splat
given \_\_skb\_get\_hash() is used by the nftables tracing infrastructure to
to identify packets in traces.

\[69133.561393\] ------------\[ cut here \]------------
\[69133.561404\] WARNING: CPU: 0 PID: 43576 at net/core/flow\_dissector.c:1104 \_\_skb\_flow\_dissect+0x134f/
\[...\]
\[69133.561944\] CPU: 0 PID: 43576 Comm: socat Not tainted 6.10.0-rc7+ \#379
\[69133.561959\] RIP: 0010:\_\_skb\_flow\_dissect+0x134f/0x2ad0
\[69133.561970\] Code: 83 f9 04 0f 84 b3 00 00 00 45 85 c9 0f 84 aa 00 00 00 41 83 f9 02 0f 84 81 fc ff
ff 44 0f b7 b4 24 80 00 00 00 e9 8b f9 ff ff \<0f\> 0b e9 20 f3 ff ff 41 f6 c6 20 0f 84 e4 ef ff ff 48 8d 7b 12 e8
\[69133.561979\] RSP: 0018:ffffc90000006fc0 EFLAGS: 00010246
\[69133.561988\] RAX: 0000000000000000 RBX: ffffffff82f33e20 RCX: ffffffff81ab7e19
\[69133.561994\] RDX: dffffc0000000000 RSI: ffffc90000007388 RDI: ffff888103a1b418
\[69133.562001\] RBP: ffffc90000007310 R08: 0000000000000000 R09: 0000000000000000
\[69133.562007\] R10: ffffc90000007388 R11: ffffffff810cface R12: ffff888103a1b400
\[69133.562013\] R13: 0000000000000000 R14: ffffffff82f33e2a R15: ffffffff82f33e28
\[69133.562020\] FS:  00007f40f7131740(0000) GS:ffff888390800000(0000) knlGS:0000000000000000
\[69133.562027\] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
\[69133.562033\] CR2: 00007f40f7346ee0 CR3: 000000015d200001 CR4: 00000000001706f0
\[69133.562040\] Call Trace:
\[69133.562044\]  \<IRQ\>
\[69133.562049\]  ? \_\_warn+0x9f/0x1a0
\[ 1211.841384\]  ? \_\_skb\_flow\_dissect+0x107e/0x2860
\[...\]
\[ 1211.841496\]  ? bpf\_flow\_dissect+0x160/0x160
\[ 1211.841753\]  \_\_skb\_get\_hash+0x97/0x280
\[ 1211.841765\]  ? \_\_skb\_get\_hash\_symmetric+0x230/0x230
\[ 1211.841776\]  ? mod\_find+0xbf/0xe0
\[ 1211.841786\]  ? get\_stack\_info\_noinstr+0x12/0xe0
\[ 1211.841798\]  ? bpf\_ksym\_find+0x56/0xe0
\[ 1211.841807\]  ? \_\_rcu\_read\_unlock+0x2a/0x70
\[ 1211.841819\]  nft\_trace\_init+0x1b9/0x1c0 \[nf\_tables\]
\[ 1211.841895\]  ? nft\_trace\_notify+0x830/0x830 \[nf\_tables\]
\[ 1211.841964\]  ? get\_stack\_info+0x2b/0x80
\[ 1211.841975\]  ? nft\_do\_chain\_arp+0x80/0x80 \[nf\_tables\]
\[ 1211.842044\]  nft\_do\_chain+0x79c/0x850 \[nf\_tables\]

## Affected and fixed versions

- Linux: \>= 9b52e3f267a6835efd50ed9002d530666d16a411, \< eb03d9826aa646577342a952d658d4598381c035; \>= 9b52e3f267a6835efd50ed9002d530666d16a411, \< 4afbac11f2f629d1e62817c4e210bdfaa7521107; \>= 9b52e3f267a6835efd50ed9002d530666d16a411, \< c5d21aabf1b31a79f228508af33aee83456bc1b0; \>= 9b52e3f267a6835efd50ed9002d530666d16a411, \< 120f1c857a73e52132e473dee89b340440cb692b (cvelist)
- Linux: 5.2 (cvelist)

## Mitigation

- Upgrade Linux to 120f1c857a73e52132e473dee89b340440cb692b 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-42321. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-42321.md
Affected: Linux >= 9b52e3f267a6835efd50ed9002d530666d16a411, < eb03d9826aa646577342a952d658d4598381c035; >= 9b52e3f267a6835efd50ed9002d530666d16a411, < 4afbac11f2f629d1e62817c4e210bdfaa7521107; >= 9b52e3f267a6835efd50ed9002d530666d16a411, < c5d21aabf1b31a79f228508af33aee83456bc1b0; >= 9b52e3f267a6835efd50ed9…
Fixed in: Linux 4afbac11f2f629d1e62817c4e210bdfaa7521107, Linux 120f1c857a73e52132e473dee89b340440cb692b

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-42321 being exploited?

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

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

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 9b52e3f267a6835efd50ed9002d530666d16a411, \< eb03d9826aa646577342a952d658d4598381c035; \>= 9b52e3f267a6835efd50ed9002d530666d16a411, \< 4afbac11f2f629d1e62817c4e210bdfaa7521107; \>= 9b52e3f267a6835efd50ed9002d530666d16a411, \< c5d21aabf1b31a79f228508af33aee83456bc1b0; \>= 9b52e3f267a6835efd50ed9002d530666d16a411, \< 120f1c857a73e52132e473dee89b340440cb692b; Linux 5.2.

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

Yes. Fixed in Linux 4afbac11f2f629d1e62817c4e210bdfaa7521107, Linux 120f1c857a73e52132e473dee89b340440cb692b. Upgrade Linux to 120f1c857a73e52132e473dee89b340440cb692b or later.

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

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/eb03d9826aa646577342a952d658d4598381c035>
- patch: <https://git.kernel.org/stable/c/4afbac11f2f629d1e62817c4e210bdfaa7521107>
- patch: <https://git.kernel.org/stable/c/c5d21aabf1b31a79f228508af33aee83456bc1b0>
- patch: <https://git.kernel.org/stable/c/120f1c857a73e52132e473dee89b340440cb692b>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## 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-42321>

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