# CVE-2024-50155: netdevsim: use cond\_resched() in nsim\_dev\_trap\_report\_work()

> 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)
- **Published:** 2024-11-07T09:31:31.848Z
- **Modified:** 2026-06-17T08:03:44.110Z

## Who should check

- Anyone running Linux \>= 0193e0660cc6689c794794b471492923cfd7bfbc, \< 24973f4b64f93232a48fe78029385de762a2418d; \>= 6eecddd9c3c8d6e3a097531cdc6d500335b35e46, \< 681ce79ab6fba2f8d1c5ea60239f0086baebd0d3; \>= ba5e1272142d051dcc57ca1d3225ad8a089f9858, \< 32f054f93937b548c61b3bf57d8f4aefc50f3b16; \>= ba5e1272142d051dcc57ca1d3225ad8a089f9858, \< a1494d532e28598bde7a5544892ef9c7dbfafa93; d91964cdada76740811b7c621239f9c407820dbc; \>= 6.1.78, \< 6.1.115; \>= 6.6.17, \< 6.6.59; \>= 6.7.5, \< 6.8
- Anyone running Linux 6.8

## Description

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

netdevsim: use cond\_resched() in nsim\_dev\_trap\_report\_work()

I am still seeing many syzbot reports hinting that syzbot
might fool nsim\_dev\_trap\_report\_work() with hundreds of ports \[1\]

Lets use cond\_resched(), and system\_unbound\_wq
instead of implicit system\_wq.

\[1\]
INFO: task syz-executor:20633 blocked for more than 143 seconds.
      Not tainted 6.12.0-rc2-syzkaller-00205-g1d227fcc7222 \#0
"echo 0 \> /proc/sys/kernel/hung\_task\_timeout\_secs" disables this message.
task:syz-executor    state:D stack:25856 pid:20633 tgid:20633 ppid:1      flags:0x00004006
...
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 16760 Comm: kworker/1:0 Not tainted 6.12.0-rc2-syzkaller-00205-g1d227fcc7222 \#0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: events nsim\_dev\_trap\_report\_work
 RIP: 0010:\_\_sanitizer\_cov\_trace\_pc+0x0/0x70 kernel/kcov.c:210
Code: 89 fb e8 23 00 00 00 48 8b 3d 04 fb 9c 0c 48 89 de 5b e9 c3 c7 5d 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 0c 25 c0 d7 03 00 65 8b 15 60 f0
RSP: 0018:ffffc90000a187e8 EFLAGS: 00000246
RAX: 0000000000000100 RBX: ffffc90000a188e0 RCX: ffff888027d3bc00
RDX: ffff888027d3bc00 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff88804a2e6000 R08: ffffffff8a4bc495 R09: ffffffff89da3577
R10: 0000000000000004 R11: ffffffff8a4bc2b0 R12: dffffc0000000000
R13: ffff88806573b503 R14: dffffc0000000000 R15: ffff8880663cca00
FS:  0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc90a747f98 CR3: 000000000e734000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 000000000000002b DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
 \<NMI\>
 \</NMI\>
 \<TASK\>
  \_\_local\_bh\_enable\_ip+0x1bb/0x200 kernel/softirq.c:382
  spin\_unlock\_bh include/linux/spinlock.h:396 \[inline\]
  nsim\_dev\_trap\_report drivers/net/netdevsim/dev.c:820 \[inline\]
  nsim\_dev\_trap\_report\_work+0x75d/0xaa0 drivers/net/netdevsim/dev.c:850
  process\_one\_work kernel/workqueue.c:3229 \[inline\]
  process\_scheduled\_works+0xa63/0x1850 kernel/workqueue.c:3310
  worker\_thread+0x870/0xd30 kernel/workqueue.c:3391
  kthread+0x2f0/0x390 kernel/kthread.c:389
  ret\_from\_fork+0x4b/0x80 arch/x86/kernel/process.c:147
  ret\_from\_fork\_asm+0x1a/0x30 arch/x86/entry/entry\_64.S:244
 \</TASK\>

## Affected and fixed versions

- Linux: \>= 0193e0660cc6689c794794b471492923cfd7bfbc, \< 24973f4b64f93232a48fe78029385de762a2418d; \>= 6eecddd9c3c8d6e3a097531cdc6d500335b35e46, \< 681ce79ab6fba2f8d1c5ea60239f0086baebd0d3; \>= ba5e1272142d051dcc57ca1d3225ad8a089f9858, \< 32f054f93937b548c61b3bf57d8f4aefc50f3b16; \>= ba5e1272142d051dcc57ca1d3225ad8a089f9858, \< a1494d532e28598bde7a5544892ef9c7dbfafa93; d91964cdada76740811b7c621239f9c407820dbc; \>= 6.1.78, \< 6.1.115; \>= 6.6.17, \< 6.6.59; \>= 6.7.5, \< 6.8 (cvelist)
- Linux: 6.8 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2024-50155.md
Affected: Linux >= 0193e0660cc6689c794794b471492923cfd7bfbc, < 24973f4b64f93232a48fe78029385de762a2418d; >= 6eecddd9c3c8d6e3a097531cdc6d500335b35e46, < 681ce79ab6fba2f8d1c5ea60239f0086baebd0d3; >= ba5e1272142d051dcc57ca1d3225ad8a089f9858, < 32f054f93937b548c61b3bf57d8f4aefc50f3b16; >= ba5e1272142d051dcc57ca1…
Fixed in: Linux 24973f4b64f93232a48fe78029385de762a2418d, Linux 681ce79ab6fba2f8d1c5ea60239f0086baebd0d3, Linux 32f054f93937b548c61b3bf57d8f4aefc50f3b16, Linux 6.1.115, Linux 6.6.59, Linux 6.8

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

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

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

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

Linux \>= 0193e0660cc6689c794794b471492923cfd7bfbc, \< 24973f4b64f93232a48fe78029385de762a2418d; \>= 6eecddd9c3c8d6e3a097531cdc6d500335b35e46, \< 681ce79ab6fba2f8d1c5ea60239f0086baebd0d3; \>= ba5e1272142d051dcc57ca1d3225ad8a089f9858, \< 32f054f93937b548c61b3bf57d8f4aefc50f3b16; \>= ba5e1272142d051dcc57ca1d3225ad8a089f9858, \< a1494d532e28598bde7a5544892ef9c7dbfafa93; d91964cdada76740811b7c621239f9c407820dbc; \>= 6.1.78, \< 6.1.115; \>= 6.6.17, \< 6.6.59; \>= 6.7.5, \< 6.8; Linux 6.8.

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

Yes. Fixed in Linux 24973f4b64f93232a48fe78029385de762a2418d, Linux 681ce79ab6fba2f8d1c5ea60239f0086baebd0d3, Linux 32f054f93937b548c61b3bf57d8f4aefc50f3b16, Linux 6.1.115, Linux 6.6.59, Linux 6.8. Upgrade Linux to 6.8 or later.

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

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/24973f4b64f93232a48fe78029385de762a2418d>
- patch: <https://git.kernel.org/stable/c/681ce79ab6fba2f8d1c5ea60239f0086baebd0d3>
- patch: <https://git.kernel.org/stable/c/32f054f93937b548c61b3bf57d8f4aefc50f3b16>
- patch: <https://git.kernel.org/stable/c/a1494d532e28598bde7a5544892ef9c7dbfafa93>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.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-50155>

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