# CVE-2024-53124: net: fix data-races around sk-\>sk\_forward\_alloc

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

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; 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:** Remote, no login needed
- **EPSS:** 0.76% (percentile 52, 2026-11-26)
- **CWE:** CWE-362
- **Published:** 2024-12-02T13:44:54.257Z
- **Modified:** 2026-11-10T13:17:25.853Z

## Who should check

- Anyone running Linux \>= e994b2f0fb9229aeff5eea9541320bd7b2ca8714, \< 695fb0b9aecfd5dd5b2946ba8897ac2c1eef654d; \>= e994b2f0fb9229aeff5eea9541320bd7b2ca8714, \< fe2c0bd6d1e29ccefdc978b9a290571c93c27473; \>= e994b2f0fb9229aeff5eea9541320bd7b2ca8714, \< c3d052cae566ec2285f5999958a5deb415a0f59e; \>= e994b2f0fb9229aeff5eea9541320bd7b2ca8714, \< be7c61ea5f816168c38955eb4e898adc8b4b32fd; \>= e994b2f0fb9229aeff5eea9541320bd7b2ca8714, \< 3f51f8c9d28954cf380100883a02eed35a8277e9; \>= e994b2f0fb9229aeff5eea9541320bd7b2ca8714, \< d285eb9d0641c8344f2836081b4ccb7b3c5cc1b6; \>= e994b2f0fb9229aeff5eea9541320bd7b2ca8714, \< 073d89808c065ac4c672c0a613a71b27a80691cb
- Anyone running Linux 4.4

## Description

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

net: fix data-races around sk-\>sk\_forward\_alloc

Syzkaller reported this warning:
 ------------\[ cut here \]------------
 WARNING: CPU: 0 PID: 16 at net/ipv4/af\_inet.c:156 inet\_sock\_destruct+0x1c5/0x1e0
 Modules linked in:
 CPU: 0 UID: 0 PID: 16 Comm: ksoftirqd/0 Not tainted 6.12.0-rc5 \#26
 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.15.0-1 04/01/2014
 RIP: 0010:inet\_sock\_destruct+0x1c5/0x1e0
 Code: 24 12 4c 89 e2 5b 48 c7 c7 98 ec bb 82 41 5c e9 d1 18 17 ff 4c 89 e6 5b 48 c7 c7 d0 ec bb 82 41 5c e9 bf 18 17 ff 0f 0b eb 83 \<0f\> 0b eb 97 0f 0b eb 87 0f 0b e9 68 ff ff ff 66 66 2e 0f 1f 84 00
 RSP: 0018:ffffc9000008bd90 EFLAGS: 00010206
 RAX: 0000000000000300 RBX: ffff88810b172a90 RCX: 0000000000000007
 RDX: 0000000000000002 RSI: 0000000000000300 RDI: ffff88810b172a00
 RBP: ffff88810b172a00 R08: ffff888104273c00 R09: 0000000000100007
 R10: 0000000000020000 R11: 0000000000000006 R12: ffff88810b172a00
 R13: 0000000000000004 R14: 0000000000000000 R15: ffff888237c31f78
 FS:  0000000000000000(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000
 CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
 CR2: 00007ffc63fecac8 CR3: 000000000342e000 CR4: 00000000000006f0
 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
 Call Trace:
  \<TASK\>
  ? \_\_warn+0x88/0x130
  ? inet\_sock\_destruct+0x1c5/0x1e0
  ? report\_bug+0x18e/0x1a0
  ? handle\_bug+0x53/0x90
  ? exc\_invalid\_op+0x18/0x70
  ? asm\_exc\_invalid\_op+0x1a/0x20
  ? inet\_sock\_destruct+0x1c5/0x1e0
  \_\_sk\_destruct+0x2a/0x200
  rcu\_do\_batch+0x1aa/0x530
  ? rcu\_do\_batch+0x13b/0x530
  rcu\_core+0x159/0x2f0
  handle\_softirqs+0xd3/0x2b0
  ? \_\_pfx\_smpboot\_thread\_fn+0x10/0x10
  run\_ksoftirqd+0x25/0x30
  smpboot\_thread\_fn+0xdd/0x1d0
  kthread+0xd3/0x100
  ? \_\_pfx\_kthread+0x10/0x10
  ret\_from\_fork+0x34/0x50
  ? \_\_pfx\_kthread+0x10/0x10
  ret\_from\_fork\_asm+0x1a/0x30
  \</TASK\>
 ---\[ end trace 0000000000000000 \]---

Its possible that two threads call tcp\_v6\_do\_rcv()/sk\_forward\_alloc\_add()
concurrently when sk-\>sk\_state == TCP\_LISTEN with sk-\>sk\_lock unlocked,
which triggers a data-race around sk-\>sk\_forward\_alloc:
tcp\_v6\_rcv
    tcp\_v6\_do\_rcv
        skb\_clone\_and\_charge\_r
            sk\_rmem\_schedule
                \_\_sk\_mem\_schedule
                    sk\_forward\_alloc\_add()
            skb\_set\_owner\_r
                sk\_mem\_charge
                    sk\_forward\_alloc\_add()
        \_\_kfree\_skb
            skb\_release\_all
                skb\_release\_head\_state
                    sock\_rfree
                        sk\_mem\_uncharge
                            sk\_forward\_alloc\_add()
                            sk\_mem\_reclaim
                                // set local var reclaimable
                                \_\_sk\_mem\_reclaim
                                    sk\_forward\_alloc\_add()

In this syzkaller testcase, two threads call
tcp\_v6\_do\_rcv() with skb-\>truesize=768, the sk\_forward\_alloc changes like
this:
 (cpu 1)             \| (cpu 2)             \| sk\_forward\_alloc
 ...                 \| ...                 \| 0
 \_\_sk\_mem\_schedule() \|                     \| +4096 = 4096
                     \| \_\_sk\_mem\_schedule() \| +4096 = 8192
 sk\_mem\_charge()     \|                     \| -768  = 7424
                     \| sk\_mem\_charge()     \| -768  = 6656
 ...                 \|    ...              \|
 sk\_mem\_uncharge()   \|                     \| +768  = 7424
 reclaimable=7424    \|                     \|
                     \| sk\_mem\_uncharge()   \| +768  = 8192
                     \| reclaimable=8192    \|
 \_\_sk\_mem\_reclaim()  \|                     \| -4096 = 4096
                     \| \_\_sk\_mem\_reclaim()  \| -8192 = -4096 != 0

The skb\_clone\_and\_charge\_r() should not be called in tcp\_v6\_do\_rcv() when
sk-\>sk\_state is TCP\_LISTEN, it happens later in tcp\_v6\_syn\_recv\_sock().
Fix the same issue in dccp\_v6\_do\_rcv().

## Affected and fixed versions

- Linux: \>= e994b2f0fb9229aeff5eea9541320bd7b2ca8714, \< 695fb0b9aecfd5dd5b2946ba8897ac2c1eef654d; \>= e994b2f0fb9229aeff5eea9541320bd7b2ca8714, \< fe2c0bd6d1e29ccefdc978b9a290571c93c27473; \>= e994b2f0fb9229aeff5eea9541320bd7b2ca8714, \< c3d052cae566ec2285f5999958a5deb415a0f59e; \>= e994b2f0fb9229aeff5eea9541320bd7b2ca8714, \< be7c61ea5f816168c38955eb4e898adc8b4b32fd; \>= e994b2f0fb9229aeff5eea9541320bd7b2ca8714, \< 3f51f8c9d28954cf380100883a02eed35a8277e9; \>= e994b2f0fb9229aeff5eea9541320bd7b2ca8714, \< d285eb9d0641c8344f2836081b4ccb7b3c5cc1b6; \>= e994b2f0fb9229aeff5eea9541320bd7b2ca8714, \< 073d89808c065ac4c672c0a613a71b27a80691cb (cvelist)
- Linux: 4.4 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2024-53124.md
Affected: Linux >= e994b2f0fb9229aeff5eea9541320bd7b2ca8714, < 695fb0b9aecfd5dd5b2946ba8897ac2c1eef654d; >= e994b2f0fb9229aeff5eea9541320bd7b2ca8714, < fe2c0bd6d1e29ccefdc978b9a290571c93c27473; >= e994b2f0fb9229aeff5eea9541320bd7b2ca8714, < c3d052cae566ec2285f5999958a5deb415a0f59e; >= e994b2f0fb9229aeff5eea9…
Fixed in: Linux 695fb0b9aecfd5dd5b2946ba8897ac2c1eef654d, Linux 3f51f8c9d28954cf380100883a02eed35a8277e9, Linux 073d89808c065ac4c672c0a613a71b27a80691cb

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

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

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

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

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

Linux \>= e994b2f0fb9229aeff5eea9541320bd7b2ca8714, \< 695fb0b9aecfd5dd5b2946ba8897ac2c1eef654d; \>= e994b2f0fb9229aeff5eea9541320bd7b2ca8714, \< fe2c0bd6d1e29ccefdc978b9a290571c93c27473; \>= e994b2f0fb9229aeff5eea9541320bd7b2ca8714, \< c3d052cae566ec2285f5999958a5deb415a0f59e; \>= e994b2f0fb9229aeff5eea9541320bd7b2ca8714, \< be7c61ea5f816168c38955eb4e898adc8b4b32fd; \>= e994b2f0fb9229aeff5eea9541320bd7b2ca8714, \< 3f51f8c9d28954cf380100883a02eed35a8277e9; \>= e994b2f0fb9229aeff5eea9541320bd7b2ca8714, \< d285eb9d0641c8344f2836081b4ccb7b3c5cc1b6; \>= e994b2f0fb9229aeff5eea9541320bd7b2ca8714, \< 073d89808c065ac4c672c0a613a71b27a80691cb; Linux 4.4.

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

Yes. Fixed in Linux 695fb0b9aecfd5dd5b2946ba8897ac2c1eef654d, Linux 3f51f8c9d28954cf380100883a02eed35a8277e9, Linux 073d89808c065ac4c672c0a613a71b27a80691cb. Upgrade Linux to 073d89808c065ac4c672c0a613a71b27a80691cb or later.

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

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/d285eb9d0641c8344f2836081b4ccb7b3c5cc1b6>
- patch: <https://git.kernel.org/stable/c/073d89808c065ac4c672c0a613a71b27a80691cb>
- other: <https://git.kernel.org/stable/c/695fb0b9aecfd5dd5b2946ba8897ac2c1eef654d>
- other: <https://git.kernel.org/stable/c/fe2c0bd6d1e29ccefdc978b9a290571c93c27473>
- other: <https://git.kernel.org/stable/c/c3d052cae566ec2285f5999958a5deb415a0f59e>
- other: <https://git.kernel.org/stable/c/be7c61ea5f816168c38955eb4e898adc8b4b32fd>
- other: <https://git.kernel.org/stable/c/3f51f8c9d28954cf380100883a02eed35a8277e9>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-503939.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-457936.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-53124>

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