# CVE-2024-26750: af\_unix: Drop oob\_skb ref before purging queue in GC.

> 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.31% (percentile 16, 2026-11-28)
- **Published:** 2024-04-04T08:20:14.494Z
- **Modified:** 2026-06-17T07:18:15.013Z

## Who should check

- Anyone running Linux \>= 36f7371de977f805750748e80279be7e370df85c, \< 6c480d0f131862645d172ca9e25dc152b1a5c3a6; \>= 2a3d40b4025fcfe51b04924979f1653993b17669, \< c4c795b21dd23d9514ae1c6646c3fb2c78b5be60; \>= 69e0f04460f4037e01e29f0d9675544f62aafca3, \< e9eac260369d0cf57ea53df95427125725507a0d; \>= cb8890318dde26fc89c6ea67d6e9070ab50b6e91, \< 43ba9e331559a30000c862eea313248707afa787; \>= 25236c91b5ab4a26a56ba2e79b8060cf4e047839, \< aa82ac51d63328714645c827775d64dbfd9941f3
- Anyone running Linux \>= 5.15.149, \< 5.15.151

## Description

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

af\_unix: Drop oob\_skb ref before purging queue in GC.

syzbot reported another task hung in \_\_unix\_gc().  \[0\]

The current while loop assumes that all of the left candidates
have oob\_skb and calling kfree\_skb(oob\_skb) releases the remaining
candidates.

However, I missed a case that oob\_skb has self-referencing fd and
another fd and the latter sk is placed before the former in the
candidate list.  Then, the while loop never proceeds, resulting
the task hung.

\_\_unix\_gc() has the same loop just before purging the collected skb,
so we can call kfree\_skb(oob\_skb) there and let \_\_skb\_queue\_purge()
release all inflight sockets.

\[0\]:
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 2784 Comm: kworker/u4:8 Not tainted 6.8.0-rc4-syzkaller-01028-g71b605d32017 \#0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
Workqueue: events\_unbound \_\_unix\_gc
RIP: 0010:\_\_sanitizer\_cov\_trace\_pc+0x0/0x70 kernel/kcov.c:200
Code: 89 fb e8 23 00 00 00 48 8b 3d 84 f5 1a 0c 48 89 de 5b e9 43 26 57 00 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 \<f3\> 0f 1e fa 48 8b 04 24 65 48 8b 0d 90 52 70 7e 65 8b 15 91 52 70
RSP: 0018:ffffc9000a17fa78 EFLAGS: 00000287
RAX: ffffffff8a0a6108 RBX: ffff88802b6c2640 RCX: ffff88802c0b3b80
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000
RBP: ffffc9000a17fbf0 R08: ffffffff89383f1d R09: 1ffff1100ee5ff84
R10: dffffc0000000000 R11: ffffed100ee5ff85 R12: 1ffff110056d84ee
R13: ffffc9000a17fae0 R14: 0000000000000000 R15: ffffffff8f47b840
FS:  0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffef5687ff8 CR3: 0000000029b34000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 \<NMI\>
 \</NMI\>
 \<TASK\>
 \_\_unix\_gc+0xe69/0xf40 net/unix/garbage.c:343
 process\_one\_work kernel/workqueue.c:2633 \[inline\]
 process\_scheduled\_works+0x913/0x1420 kernel/workqueue.c:2706
 worker\_thread+0xa5f/0x1000 kernel/workqueue.c:2787
 kthread+0x2ef/0x390 kernel/kthread.c:388
 ret\_from\_fork+0x4b/0x80 arch/x86/kernel/process.c:147
 ret\_from\_fork\_asm+0x1b/0x30 arch/x86/entry/entry\_64.S:242
 \</TASK\>

## Affected and fixed versions

- Linux: \>= 36f7371de977f805750748e80279be7e370df85c, \< 6c480d0f131862645d172ca9e25dc152b1a5c3a6; \>= 2a3d40b4025fcfe51b04924979f1653993b17669, \< c4c795b21dd23d9514ae1c6646c3fb2c78b5be60; \>= 69e0f04460f4037e01e29f0d9675544f62aafca3, \< e9eac260369d0cf57ea53df95427125725507a0d; \>= cb8890318dde26fc89c6ea67d6e9070ab50b6e91, \< 43ba9e331559a30000c862eea313248707afa787; \>= 25236c91b5ab4a26a56ba2e79b8060cf4e047839, \< aa82ac51d63328714645c827775d64dbfd9941f3 (cvelist)
- Linux: \>= 5.15.149, \< 5.15.151 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2024-26750.md
Affected: Linux >= 36f7371de977f805750748e80279be7e370df85c, < 6c480d0f131862645d172ca9e25dc152b1a5c3a6; >= 2a3d40b4025fcfe51b04924979f1653993b17669, < c4c795b21dd23d9514ae1c6646c3fb2c78b5be60; >= 69e0f04460f4037e01e29f0d9675544f62aafca3, < e9eac260369d0cf57ea53df95427125725507a0d; >= cb8890318dde26fc89c6ea6…
Fixed in: Linux 6c480d0f131862645d172ca9e25dc152b1a5c3a6, Linux 43ba9e331559a30000c862eea313248707afa787, Linux 5.15.151

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

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

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

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

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

Linux \>= 36f7371de977f805750748e80279be7e370df85c, \< 6c480d0f131862645d172ca9e25dc152b1a5c3a6; \>= 2a3d40b4025fcfe51b04924979f1653993b17669, \< c4c795b21dd23d9514ae1c6646c3fb2c78b5be60; \>= 69e0f04460f4037e01e29f0d9675544f62aafca3, \< e9eac260369d0cf57ea53df95427125725507a0d; \>= cb8890318dde26fc89c6ea67d6e9070ab50b6e91, \< 43ba9e331559a30000c862eea313248707afa787; \>= 25236c91b5ab4a26a56ba2e79b8060cf4e047839, \< aa82ac51d63328714645c827775d64dbfd9941f3; Linux \>= 5.15.149, \< 5.15.151.

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

Yes. Fixed in Linux 6c480d0f131862645d172ca9e25dc152b1a5c3a6, Linux 43ba9e331559a30000c862eea313248707afa787, Linux 5.15.151. Upgrade Linux to 5.15.151 or later.

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

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/6c480d0f131862645d172ca9e25dc152b1a5c3a6>
- patch: <https://git.kernel.org/stable/c/c4c795b21dd23d9514ae1c6646c3fb2c78b5be60>
- patch: <https://git.kernel.org/stable/c/e9eac260369d0cf57ea53df95427125725507a0d>
- patch: <https://git.kernel.org/stable/c/43ba9e331559a30000c862eea313248707afa787>
- patch: <https://git.kernel.org/stable/c/aa82ac51d63328714645c827775d64dbfd9941f3>

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

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