# CVE-2024-44935: sctp: Fix null-ptr-deref in reuseport\_add\_sock().

> 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.32% (percentile 18, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-08-26T10:11:27.384Z
- **Modified:** 2026-10-15T01:18:49.673Z

## Who should check

- Anyone running Linux \>= 6ba84574026792ce33a40c7da721dea36d0f3973, \< c9b3fc4f157867e858734e31022ebee8a24f0de7; \>= 6ba84574026792ce33a40c7da721dea36d0f3973, \< 52319d9d2f522ed939af31af70f8c3a0f0f67e6c; \>= 6ba84574026792ce33a40c7da721dea36d0f3973, \< 54b303d8f9702b8ab618c5032fae886b16356928; \>= 6ba84574026792ce33a40c7da721dea36d0f3973, \< 05e4a0fa248240efd99a539853e844f0f0a9e6a5; \>= 6ba84574026792ce33a40c7da721dea36d0f3973, \< 1407be30fc17eff918a98e0a990c0e988f11dc84; \>= 6ba84574026792ce33a40c7da721dea36d0f3973, \< e809a84c802377ef61525a298a1ec1728759b913; \>= 6ba84574026792ce33a40c7da721dea36d0f3973, \< 9ab0faa7f9ffe31296dbb9bbe6f76c72c14eea18
- Anyone running Linux 5.0

## Description

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

sctp: Fix null-ptr-deref in reuseport\_add\_sock().

syzbot reported a null-ptr-deref while accessing sk2-\>sk\_reuseport\_cb in
reuseport\_add\_sock(). \[0\]

The repro first creates a listener with SO\_REUSEPORT.  Then, it creates
another listener on the same port and concurrently closes the first
listener.

The second listen() calls reuseport\_add\_sock() with the first listener as
sk2, where sk2-\>sk\_reuseport\_cb is not expected to be cleared concurrently,
but the close() does clear it by reuseport\_detach\_sock().

The problem is SCTP does not properly synchronise reuseport\_alloc(),
reuseport\_add\_sock(), and reuseport\_detach\_sock().

The caller of reuseport\_alloc() and reuseport\_{add,detach}\_sock() must
provide synchronisation for sockets that are classified into the same
reuseport group.

Otherwise, such sockets form multiple identical reuseport groups, and
all groups except one would be silently dead.

  1. Two sockets call listen() concurrently
  2. No socket in the same group found in sctp\_ep\_hashtable\[\]
  3. Two sockets call reuseport\_alloc() and form two reuseport groups
  4. Only one group hit first in \_\_sctp\_rcv\_lookup\_endpoint() receives
      incoming packets

Also, the reported null-ptr-deref could occur.

TCP/UDP guarantees that would not happen by holding the hash bucket lock.

Let's apply the locking strategy to \_\_sctp\_hash\_endpoint() and
\_\_sctp\_unhash\_endpoint().

\[0\]:
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000002: 0000 \[\#1\] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range \[0x0000000000000010-0x0000000000000017\]
CPU: 1 UID: 0 PID: 10230 Comm: syz-executor119 Not tainted 6.10.0-syzkaller-12585-g301927d2d2eb \#0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
RIP: 0010:reuseport\_add\_sock+0x27e/0x5e0 net/core/sock\_reuseport.c:350
Code: 00 0f b7 5d 00 bf 01 00 00 00 89 de e8 1b a4 ff f7 83 fb 01 0f 85 a3 01 00 00 e8 6d a0 ff f7 49 8d 7e 12 48 89 f8 48 c1 e8 03 \<42\> 0f b6 04 28 84 c0 0f 85 4b 02 00 00 41 0f b7 5e 12 49 8d 7e 14
RSP: 0018:ffffc9000b947c98 EFLAGS: 00010202
RAX: 0000000000000002 RBX: ffff8880252ddf98 RCX: ffff888079478000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000012
RBP: 0000000000000001 R08: ffffffff8993e18d R09: 1ffffffff1fef385
R10: dffffc0000000000 R11: fffffbfff1fef386 R12: ffff8880252ddac0
R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000
FS:  00007f24e45b96c0(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffcced5f7b8 CR3: 00000000241be000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 \<TASK\>
 \_\_sctp\_hash\_endpoint net/sctp/input.c:762 \[inline\]
 sctp\_hash\_endpoint+0x52a/0x600 net/sctp/input.c:790
 sctp\_listen\_start net/sctp/socket.c:8570 \[inline\]
 sctp\_inet\_listen+0x767/0xa20 net/sctp/socket.c:8625
 \_\_sys\_listen\_socket net/socket.c:1883 \[inline\]
 \_\_sys\_listen+0x1b7/0x230 net/socket.c:1894
 \_\_do\_sys\_listen net/socket.c:1902 \[inline\]
 \_\_se\_sys\_listen net/socket.c:1900 \[inline\]
 \_\_x64\_sys\_listen+0x5a/0x70 net/socket.c:1900
 do\_syscall\_x64 arch/x86/entry/common.c:52 \[inline\]
 do\_syscall\_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f
RIP: 0033:0x7f24e46039b9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 91 1a 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 \<48\> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f24e45b9228 EFLAGS: 00000246 ORIG\_RAX: 0000000000000032
RAX: ffffffffffffffda RBX: 00007f24e468e428 RCX: 00007f24e46039b9
RDX: 00007f24e46039b9 RSI: 0000000000000003 RDI: 0000000000000004
RBP: 00007f24e468e420 R08: 00007f24e45b96c0 R09: 00007f24e45b96c0
R10: 00007f24e45b96c0 R11: 0000000000000246 R12: 00007f24e468e42c
R13:
---truncated---

## Affected and fixed versions

- Linux: \>= 6ba84574026792ce33a40c7da721dea36d0f3973, \< c9b3fc4f157867e858734e31022ebee8a24f0de7; \>= 6ba84574026792ce33a40c7da721dea36d0f3973, \< 52319d9d2f522ed939af31af70f8c3a0f0f67e6c; \>= 6ba84574026792ce33a40c7da721dea36d0f3973, \< 54b303d8f9702b8ab618c5032fae886b16356928; \>= 6ba84574026792ce33a40c7da721dea36d0f3973, \< 05e4a0fa248240efd99a539853e844f0f0a9e6a5; \>= 6ba84574026792ce33a40c7da721dea36d0f3973, \< 1407be30fc17eff918a98e0a990c0e988f11dc84; \>= 6ba84574026792ce33a40c7da721dea36d0f3973, \< e809a84c802377ef61525a298a1ec1728759b913; \>= 6ba84574026792ce33a40c7da721dea36d0f3973, \< 9ab0faa7f9ffe31296dbb9bbe6f76c72c14eea18 (cvelist)
- Linux: 5.0 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2024-44935.md
Affected: Linux >= 6ba84574026792ce33a40c7da721dea36d0f3973, < c9b3fc4f157867e858734e31022ebee8a24f0de7; >= 6ba84574026792ce33a40c7da721dea36d0f3973, < 52319d9d2f522ed939af31af70f8c3a0f0f67e6c; >= 6ba84574026792ce33a40c7da721dea36d0f3973, < 54b303d8f9702b8ab618c5032fae886b16356928; >= 6ba84574026792ce33a40c7…
Fixed in: Linux 52319d9d2f522ed939af31af70f8c3a0f0f67e6c, Linux 54b303d8f9702b8ab618c5032fae886b16356928, Linux 05e4a0fa248240efd99a539853e844f0f0a9e6a5, Linux 1407be30fc17eff918a98e0a990c0e988f11dc84, Linux 9ab0faa7f9ffe31296dbb9bbe6f76c72c14eea18

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

There is no confirmed exploitation: CVE-2024-44935 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-26).

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

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

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

Linux \>= 6ba84574026792ce33a40c7da721dea36d0f3973, \< c9b3fc4f157867e858734e31022ebee8a24f0de7; \>= 6ba84574026792ce33a40c7da721dea36d0f3973, \< 52319d9d2f522ed939af31af70f8c3a0f0f67e6c; \>= 6ba84574026792ce33a40c7da721dea36d0f3973, \< 54b303d8f9702b8ab618c5032fae886b16356928; \>= 6ba84574026792ce33a40c7da721dea36d0f3973, \< 05e4a0fa248240efd99a539853e844f0f0a9e6a5; \>= 6ba84574026792ce33a40c7da721dea36d0f3973, \< 1407be30fc17eff918a98e0a990c0e988f11dc84; \>= 6ba84574026792ce33a40c7da721dea36d0f3973, \< e809a84c802377ef61525a298a1ec1728759b913; \>= 6ba84574026792ce33a40c7da721dea36d0f3973, \< 9ab0faa7f9ffe31296dbb9bbe6f76c72c14eea18; Linux 5.0.

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

Yes. Fixed in Linux 52319d9d2f522ed939af31af70f8c3a0f0f67e6c, Linux 54b303d8f9702b8ab618c5032fae886b16356928, Linux 05e4a0fa248240efd99a539853e844f0f0a9e6a5, Linux 1407be30fc17eff918a98e0a990c0e988f11dc84, Linux 9ab0faa7f9ffe31296dbb9bbe6f76c72c14eea18. Upgrade Linux to 9ab0faa7f9ffe31296dbb9bbe6f76c72c14eea18 or later.

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

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/c9b3fc4f157867e858734e31022ebee8a24f0de7>
- patch: <https://git.kernel.org/stable/c/52319d9d2f522ed939af31af70f8c3a0f0f67e6c>
- patch: <https://git.kernel.org/stable/c/54b303d8f9702b8ab618c5032fae886b16356928>
- patch: <https://git.kernel.org/stable/c/05e4a0fa248240efd99a539853e844f0f0a9e6a5>
- patch: <https://git.kernel.org/stable/c/1407be30fc17eff918a98e0a990c0e988f11dc84>
- patch: <https://git.kernel.org/stable/c/e809a84c802377ef61525a298a1ec1728759b913>
- patch: <https://git.kernel.org/stable/c/9ab0faa7f9ffe31296dbb9bbe6f76c72c14eea18>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- other: <https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-613116.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-355557.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-44935>

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