# CVE-2024-26625: llc: call sock\_orphan() at release time

> 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.34% (percentile 19, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2024-03-06T06:45:33.311Z
- **Modified:** 2026-08-05T11:26:21.512Z

## Who should check

- Anyone running Linux \>= 43815482370c510c569fd18edb57afcb0fa8cab6, \< 6b950c712a9a05cdda4aea7fcb2848766576c11b; \>= 43815482370c510c569fd18edb57afcb0fa8cab6, \< 64babb17e8150771c58575d8f93a35c5296b499f; \>= 43815482370c510c569fd18edb57afcb0fa8cab6, \< d0b5b1f12429df3cd9751ab8b2f53729b77733b7; \>= 43815482370c510c569fd18edb57afcb0fa8cab6, \< dbc1b89981f9c5360277071d33d7f04a43ffda4a; \>= 43815482370c510c569fd18edb57afcb0fa8cab6, \< 9c333d9891f34cea8af1b229dc754552304c8eee; \>= 43815482370c510c569fd18edb57afcb0fa8cab6, \< 3151051b787f7cd7e3329ea0016eb9113c248812; \>= 43815482370c510c569fd18edb57afcb0fa8cab6, \< 8e51f084b5716653f19e291ed5f026791d4b3ed4; \>= 43815482370c510c569fd18edb57afcb0fa8cab6, \< aa2b2eb3934859904c287bf5434647ba72e14c1c
- Anyone running Linux 2.6.35

## Description

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

llc: call sock\_orphan() at release time

syzbot reported an interesting trace \[1\] caused by a stale sk-\>sk\_wq
pointer in a closed llc socket.

In commit ff7b11aa481f ("net: socket: set sock-\>sk to NULL after
calling proto\_ops::release()") Eric Biggers hinted that some protocols
are missing a sock\_orphan(), we need to perform a full audit.

In net-next, I plan to clear sock-\>sk from sock\_orphan() and
amend Eric patch to add a warning.

\[1\]
 BUG: KASAN: slab-use-after-free in list\_empty include/linux/list.h:373 \[inline\]
 BUG: KASAN: slab-use-after-free in waitqueue\_active include/linux/wait.h:127 \[inline\]
 BUG: KASAN: slab-use-after-free in sock\_def\_write\_space\_wfree net/core/sock.c:3384 \[inline\]
 BUG: KASAN: slab-use-after-free in sock\_wfree+0x9a8/0x9d0 net/core/sock.c:2468
Read of size 8 at addr ffff88802f4fc880 by task ksoftirqd/1/27

CPU: 1 PID: 27 Comm: ksoftirqd/1 Not tainted 6.8.0-rc1-syzkaller-00049-g6098d87eaf31 \#0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Call Trace:
 \<TASK\>
  \_\_dump\_stack lib/dump\_stack.c:88 \[inline\]
  dump\_stack\_lvl+0xd9/0x1b0 lib/dump\_stack.c:106
  print\_address\_description mm/kasan/report.c:377 \[inline\]
  print\_report+0xc4/0x620 mm/kasan/report.c:488
  kasan\_report+0xda/0x110 mm/kasan/report.c:601
  list\_empty include/linux/list.h:373 \[inline\]
  waitqueue\_active include/linux/wait.h:127 \[inline\]
  sock\_def\_write\_space\_wfree net/core/sock.c:3384 \[inline\]
  sock\_wfree+0x9a8/0x9d0 net/core/sock.c:2468
  skb\_release\_head\_state+0xa3/0x2b0 net/core/skbuff.c:1080
  skb\_release\_all net/core/skbuff.c:1092 \[inline\]
  napi\_consume\_skb+0x119/0x2b0 net/core/skbuff.c:1404
  e1000\_unmap\_and\_free\_tx\_resource+0x144/0x200 drivers/net/ethernet/intel/e1000/e1000\_main.c:1970
  e1000\_clean\_tx\_irq drivers/net/ethernet/intel/e1000/e1000\_main.c:3860 \[inline\]
  e1000\_clean+0x4a1/0x26e0 drivers/net/ethernet/intel/e1000/e1000\_main.c:3801
  \_\_napi\_poll.constprop.0+0xb4/0x540 net/core/dev.c:6576
  napi\_poll net/core/dev.c:6645 \[inline\]
  net\_rx\_action+0x956/0xe90 net/core/dev.c:6778
  \_\_do\_softirq+0x21a/0x8de kernel/softirq.c:553
  run\_ksoftirqd kernel/softirq.c:921 \[inline\]
  run\_ksoftirqd+0x31/0x60 kernel/softirq.c:913
  smpboot\_thread\_fn+0x660/0xa10 kernel/smpboot.c:164
  kthread+0x2c6/0x3a0 kernel/kthread.c:388
  ret\_from\_fork+0x45/0x80 arch/x86/kernel/process.c:147
  ret\_from\_fork\_asm+0x11/0x20 arch/x86/entry/entry\_64.S:242
 \</TASK\>

Allocated by task 5167:
  kasan\_save\_stack+0x33/0x50 mm/kasan/common.c:47
  kasan\_save\_track+0x14/0x30 mm/kasan/common.c:68
  unpoison\_slab\_object mm/kasan/common.c:314 \[inline\]
  \_\_kasan\_slab\_alloc+0x81/0x90 mm/kasan/common.c:340
  kasan\_slab\_alloc include/linux/kasan.h:201 \[inline\]
  slab\_post\_alloc\_hook mm/slub.c:3813 \[inline\]
  slab\_alloc\_node mm/slub.c:3860 \[inline\]
  kmem\_cache\_alloc\_lru+0x142/0x6f0 mm/slub.c:3879
  alloc\_inode\_sb include/linux/fs.h:3019 \[inline\]
  sock\_alloc\_inode+0x25/0x1c0 net/socket.c:308
  alloc\_inode+0x5d/0x220 fs/inode.c:260
  new\_inode\_pseudo+0x16/0x80 fs/inode.c:1005
  sock\_alloc+0x40/0x270 net/socket.c:634
  \_\_sock\_create+0xbc/0x800 net/socket.c:1535
  sock\_create net/socket.c:1622 \[inline\]
  \_\_sys\_socket\_create net/socket.c:1659 \[inline\]
  \_\_sys\_socket+0x14c/0x260 net/socket.c:1706
  \_\_do\_sys\_socket net/socket.c:1720 \[inline\]
  \_\_se\_sys\_socket net/socket.c:1718 \[inline\]
  \_\_x64\_sys\_socket+0x72/0xb0 net/socket.c:1718
  do\_syscall\_x64 arch/x86/entry/common.c:52 \[inline\]
  do\_syscall\_64+0xd3/0x250 arch/x86/entry/common.c:83
 entry\_SYSCALL\_64\_after\_hwframe+0x63/0x6b

Freed by task 0:
  kasan\_save\_stack+0x33/0x50 mm/kasan/common.c:47
  kasan\_save\_track+0x14/0x30 mm/kasan/common.c:68
  kasan\_save\_free\_info+0x3f/0x60 mm/kasan/generic.c:640
  poison\_slab\_object mm/kasan/common.c:241 \[inline\]
  \_\_kasan\_slab\_free+0x121/0x1b0 mm/kasan/common.c:257
  kasan\_slab\_free include/linux/kasan.h:184 \[inline\]
  slab\_free\_hook mm/slub.c:2121 \[inlin
---truncated---

## Affected and fixed versions

- Linux: \>= 43815482370c510c569fd18edb57afcb0fa8cab6, \< 6b950c712a9a05cdda4aea7fcb2848766576c11b; \>= 43815482370c510c569fd18edb57afcb0fa8cab6, \< 64babb17e8150771c58575d8f93a35c5296b499f; \>= 43815482370c510c569fd18edb57afcb0fa8cab6, \< d0b5b1f12429df3cd9751ab8b2f53729b77733b7; \>= 43815482370c510c569fd18edb57afcb0fa8cab6, \< dbc1b89981f9c5360277071d33d7f04a43ffda4a; \>= 43815482370c510c569fd18edb57afcb0fa8cab6, \< 9c333d9891f34cea8af1b229dc754552304c8eee; \>= 43815482370c510c569fd18edb57afcb0fa8cab6, \< 3151051b787f7cd7e3329ea0016eb9113c248812; \>= 43815482370c510c569fd18edb57afcb0fa8cab6, \< 8e51f084b5716653f19e291ed5f026791d4b3ed4; \>= 43815482370c510c569fd18edb57afcb0fa8cab6, \< aa2b2eb3934859904c287bf5434647ba72e14c1c (cvelist)
- Linux: 2.6.35 (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-26625. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-26625.md
Affected: Linux >= 43815482370c510c569fd18edb57afcb0fa8cab6, < 6b950c712a9a05cdda4aea7fcb2848766576c11b; >= 43815482370c510c569fd18edb57afcb0fa8cab6, < 64babb17e8150771c58575d8f93a35c5296b499f; >= 43815482370c510c569fd18edb57afcb0fa8cab6, < d0b5b1f12429df3cd9751ab8b2f53729b77733b7; >= 43815482370c510c569fd18…
Fixed in: Linux 6b950c712a9a05cdda4aea7fcb2848766576c11b, Linux 64babb17e8150771c58575d8f93a35c5296b499f, Linux 9c333d9891f34cea8af1b229dc754552304c8eee, Linux 3151051b787f7cd7e3329ea0016eb9113c248812, Linux 8e51f084b5716653f19e291ed5f026791d4b3ed4

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

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

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

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

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

Linux \>= 43815482370c510c569fd18edb57afcb0fa8cab6, \< 6b950c712a9a05cdda4aea7fcb2848766576c11b; \>= 43815482370c510c569fd18edb57afcb0fa8cab6, \< 64babb17e8150771c58575d8f93a35c5296b499f; \>= 43815482370c510c569fd18edb57afcb0fa8cab6, \< d0b5b1f12429df3cd9751ab8b2f53729b77733b7; \>= 43815482370c510c569fd18edb57afcb0fa8cab6, \< dbc1b89981f9c5360277071d33d7f04a43ffda4a; \>= 43815482370c510c569fd18edb57afcb0fa8cab6, \< 9c333d9891f34cea8af1b229dc754552304c8eee; \>= 43815482370c510c569fd18edb57afcb0fa8cab6, \< 3151051b787f7cd7e3329ea0016eb9113c248812; \>= 43815482370c510c569fd18edb57afcb0fa8cab6, \< 8e51f084b5716653f19e291ed5f026791d4b3ed4; \>= 43815482370c510c569fd18edb57afcb0fa8cab6, \< aa2b2eb3934859904c287bf5434647ba72e14c1c; Linux 2.6.35.

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

Yes. Fixed in Linux 6b950c712a9a05cdda4aea7fcb2848766576c11b, Linux 64babb17e8150771c58575d8f93a35c5296b499f, Linux 9c333d9891f34cea8af1b229dc754552304c8eee, Linux 3151051b787f7cd7e3329ea0016eb9113c248812, Linux 8e51f084b5716653f19e291ed5f026791d4b3ed4. No fix listed yet: follow the vendor advisory.

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

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/6b950c712a9a05cdda4aea7fcb2848766576c11b>
- patch: <https://git.kernel.org/stable/c/64babb17e8150771c58575d8f93a35c5296b499f>
- patch: <https://git.kernel.org/stable/c/d0b5b1f12429df3cd9751ab8b2f53729b77733b7>
- patch: <https://git.kernel.org/stable/c/dbc1b89981f9c5360277071d33d7f04a43ffda4a>
- patch: <https://git.kernel.org/stable/c/9c333d9891f34cea8af1b229dc754552304c8eee>
- patch: <https://git.kernel.org/stable/c/3151051b787f7cd7e3329ea0016eb9113c248812>
- patch: <https://git.kernel.org/stable/c/8e51f084b5716653f19e291ed5f026791d4b3ed4>
- patch: <https://git.kernel.org/stable/c/aa2b2eb3934859904c287bf5434647ba72e14c1c>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.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-26625>

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