# CVE-2024-53139: sctp: fix possible UAF in sctp\_v6\_available()

> 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-26)
- **CWE:** CWE-416
- **Published:** 2024-12-04T14:20:44.169Z
- **Modified:** 2026-08-05T11:44:02.652Z

## Who should check

- Anyone running Linux \>= 6fe1e52490a91cb23f6b3aafc93e7c5beb99f862, \< ad975697211f4f2c4ce61c3ba524fd14d88ceab8; \>= 6fe1e52490a91cb23f6b3aafc93e7c5beb99f862, \< 05656a66592759242c74063616291b7274d11b2f; \>= 6fe1e52490a91cb23f6b3aafc93e7c5beb99f862, \< eb72e7fcc83987d5d5595b43222f23b295d5de7f
- Anyone running Linux 6.2

## Description

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

sctp: fix possible UAF in sctp\_v6\_available()

A lockdep report \[1\] with CONFIG\_PROVE\_RCU\_LIST=y hints
that sctp\_v6\_available() is calling dev\_get\_by\_index\_rcu()
and ipv6\_chk\_addr() without holding rcu.

\[1\]
 =============================
 WARNING: suspicious RCU usage
 6.12.0-rc5-virtme \#1216 Tainted: G        W
 -----------------------------
 net/core/dev.c:876 RCU-list traversed in non-reader section!!

other info that might help us debug this:

rcu\_scheduler\_active = 2, debug\_locks = 1
 1 lock held by sctp\_hello/31495:
 \#0: ffff9f1ebbdb7418 (sk\_lock-AF\_INET6){+.+.}-{0:0}, at: sctp\_bind (./arch/x86/include/asm/jump\_label.h:27 net/sctp/socket.c:315) sctp

stack backtrace:
 CPU: 7 UID: 0 PID: 31495 Comm: sctp\_hello Tainted: G        W          6.12.0-rc5-virtme \#1216
 Tainted: \[W\]=WARN
 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
 Call Trace:
  \<TASK\>
 dump\_stack\_lvl (lib/dump\_stack.c:123)
 lockdep\_rcu\_suspicious (kernel/locking/lockdep.c:6822)
 dev\_get\_by\_index\_rcu (net/core/dev.c:876 (discriminator 7))
 sctp\_v6\_available (net/sctp/ipv6.c:701) sctp
 sctp\_do\_bind (net/sctp/socket.c:400 (discriminator 1)) sctp
 sctp\_bind (net/sctp/socket.c:320) sctp
 inet6\_bind\_sk (net/ipv6/af\_inet6.c:465)
 ? security\_socket\_bind (security/security.c:4581 (discriminator 1))
 \_\_sys\_bind (net/socket.c:1848 net/socket.c:1869)
 ? do\_user\_addr\_fault (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:880 ./include/linux/mm.h:729 arch/x86/mm/fault.c:1340)
 ? do\_user\_addr\_fault (./arch/x86/include/asm/preempt.h:84 (discriminator 13) ./include/linux/rcupdate.h:98 (discriminator 13) ./include/linux/rcupdate.h:882 (discriminator 13) ./include/linux/mm.h:729 (discriminator 13) arch/x86/mm/fault.c:1340 (discriminator 13))
 \_\_x64\_sys\_bind (net/socket.c:1877 (discriminator 1) net/socket.c:1875 (discriminator 1) net/socket.c:1875 (discriminator 1))
 do\_syscall\_64 (arch/x86/entry/common.c:52 (discriminator 1) arch/x86/entry/common.c:83 (discriminator 1))
 entry\_SYSCALL\_64\_after\_hwframe (arch/x86/entry/entry\_64.S:130)
 RIP: 0033:0x7f59b934a1e7
 Code: 44 00 00 48 8b 15 39 8c 0c 00 f7 d8 64 89 02 b8 ff ff ff ff eb bd 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 b8 31 00 00 00 0f 05 \<48\> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 09 8c 0c 00 f7 d8 64 89 01 48
All code
========
   0:	44 00 00             	add    %r8b,(%rax)
   3:	48 8b 15 39 8c 0c 00 	mov    0xc8c39(%rip),%rdx        \# 0xc8c43
   a:	f7 d8                	neg    %eax
   c:	64 89 02             	mov    %eax,%fs:(%rdx)
   f:	b8 ff ff ff ff       	mov    $0xffffffff,%eax
  14:	eb bd                	jmp    0xffffffffffffffd3
  16:	66 2e 0f 1f 84 00 00 	cs nopw 0x0(%rax,%rax,1)
  1d:	00 00 00
  20:	0f 1f 00             	nopl   (%rax)
  23:	b8 31 00 00 00       	mov    $0x31,%eax
  28:	0f 05                	syscall
  2a:\*	48 3d 01 f0 ff ff    	cmp    $0xfffffffffffff001,%rax		\<-- trapping instruction
  30:	73 01                	jae    0x33
  32:	c3                   	ret
  33:	48 8b 0d 09 8c 0c 00 	mov    0xc8c09(%rip),%rcx        \# 0xc8c43
  3a:	f7 d8                	neg    %eax
  3c:	64 89 01             	mov    %eax,%fs:(%rcx)
  3f:	48                   	rex.W

Code starting with the faulting instruction
===========================================
   0:	48 3d 01 f0 ff ff    	cmp    $0xfffffffffffff001,%rax
   6:	73 01                	jae    0x9
   8:	c3                   	ret
   9:	48 8b 0d 09 8c 0c 00 	mov    0xc8c09(%rip),%rcx        \# 0xc8c19
  10:	f7 d8                	neg    %eax
  12:	64 89 01             	mov    %eax,%fs:(%rcx)
  15:	48                   	rex.W
 RSP: 002b:00007ffe2d0ad398 EFLAGS: 00000202 ORIG\_RAX: 0000000000000031
 RAX: ffffffffffffffda RBX: 00007ffe2d0ad3d0 RCX: 00007f59b934a1e7
 RDX: 000000000000001c RSI: 00007ffe2d0ad3d0 RDI: 0000000000000005
 RBP: 0000000000000005 R08: 1999999999999999 R09: 0000000000000000
 R10: 00007f59b9253298 R11: 000000000000
---truncated---

## Affected and fixed versions

- Linux: \>= 6fe1e52490a91cb23f6b3aafc93e7c5beb99f862, \< ad975697211f4f2c4ce61c3ba524fd14d88ceab8; \>= 6fe1e52490a91cb23f6b3aafc93e7c5beb99f862, \< 05656a66592759242c74063616291b7274d11b2f; \>= 6fe1e52490a91cb23f6b3aafc93e7c5beb99f862, \< eb72e7fcc83987d5d5595b43222f23b295d5de7f (cvelist)
- Linux: 6.2 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-53139.md
Affected: Linux >= 6fe1e52490a91cb23f6b3aafc93e7c5beb99f862, < ad975697211f4f2c4ce61c3ba524fd14d88ceab8; >= 6fe1e52490a91cb23f6b3aafc93e7c5beb99f862, < 05656a66592759242c74063616291b7274d11b2f; >= 6fe1e52490a91cb23f6b3aafc93e7c5beb99f862, < eb72e7fcc83987d5d5595b43222f23b295d5de7f; Linux 6.2
Fixed in: Linux 05656a66592759242c74063616291b7274d11b2f

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

There is no confirmed exploitation: CVE-2024-53139 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-53139?

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

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

Linux \>= 6fe1e52490a91cb23f6b3aafc93e7c5beb99f862, \< ad975697211f4f2c4ce61c3ba524fd14d88ceab8; \>= 6fe1e52490a91cb23f6b3aafc93e7c5beb99f862, \< 05656a66592759242c74063616291b7274d11b2f; \>= 6fe1e52490a91cb23f6b3aafc93e7c5beb99f862, \< eb72e7fcc83987d5d5595b43222f23b295d5de7f; Linux 6.2.

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

Yes. Fixed in Linux 05656a66592759242c74063616291b7274d11b2f. No fix listed yet: follow the vendor advisory.

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

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/ad975697211f4f2c4ce61c3ba524fd14d88ceab8>
- patch: <https://git.kernel.org/stable/c/05656a66592759242c74063616291b7274d11b2f>
- patch: <https://git.kernel.org/stable/c/eb72e7fcc83987d5d5595b43222f23b295d5de7f>

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

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