CVE-2024-50155: netdevsim: use cond_resched() in nsim_dev_trap_report_work()

Published Nov 7, 2024
·
Updated

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

netdevsim: use condresched() in nsimdevtrapreportwork()

I am still seeing many syzbot reports hinting that syzbot might fool nsimdevtrapreportwork() with hundreds of ports [1]

Lets use condresched(), and systemunboundwq instead of implicit systemwq.

[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/hungtasktimeoutsecs" 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 nsimdevtrapreportwork RIP: 0010:sanitizercovtracepc+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> localbhenableip+0x1bb/0x200 kernel/softirq.c:382 spinunlockbh include/linux/spinlock.h:396 [inline] nsimdevtrapreport drivers/net/netdevsim/dev.c:820 [inline] nsimdevtrapreportwork+0x75d/0xaa0 drivers/net/netdevsim/dev.c:850 processonework kernel/workqueue.c:3229 [inline] processscheduledworks+0xa63/0x1850 kernel/workqueue.c:3310 workerthread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f0/0x390 kernel/kthread.c:389 retfromfork+0x4b/0x80 arch/x86/kernel/process.c:147 retfromforkasm+0x1a/0x30 arch/x86/entry/entry64.S:244 </TASK>

Affected Software

11 affected componentsFixes available
Linux Linux kernel>=6.1.78<6.1.115
Linux Linux kernel>=6.6.17<6.6.59
Linux Linux kernel>=6.8<6.11.6
Linux Linux kernel=6.7.5
Linux Linux kernel=6.12-rc1
Linux Linux kernel=6.12-rc2
Linux Linux kernel=6.12-rc3
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-1
debian/linux-6.1
6.1.129-1~deb11u1
Microsoft azl3 kernel 6.6.57.1-7
Microsoft azl3 kernel 6.6.64.2-1

Event History

Nov 7, 2024
CVE Published
via MITRE·09:31 AM
Data Sourced
via MITRE·09:31 AM
Description
Data Sourced
via NVD·10:15 AM
RemedyDescriptionSeverityAffected Software
Jan 29, 2025
Data Sourced
via Microsoft·08:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:00 AM
Affected Software
Updated
via Microsoft·08:00 AM
Affected Software
Updated
via Microsoft·08:00 AM
DescriptionSeverity
Apr 29, 2025
Data Sourced
via Ubuntu·01:06 AM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-50155?

CVE-2024-50155 has not been assigned a specific severity rating yet, but it involves a vulnerability in the Linux kernel that could facilitate denial-of-service attacks.

2

How do I fix CVE-2024-50155?

To fix CVE-2024-50155, you should upgrade to a patched version of the Linux kernel, such as 6.1.123-1, 6.1.128-1, or higher respective versions.

3

Which versions of the Linux kernel are affected by CVE-2024-50155?

CVE-2024-50155 affects Linux kernel versions from 6.1.78 up to, but not including, 6.1.115, as well as other specific versions within the 6.6 and 6.8 to 6.11 series.

4

What does CVE-2024-50155 vulnerability compromise?

CVE-2024-50155 may compromise the kernel's ability to handle netdevsim functions, potentially leading to performance issues or denial of service integrity.

5

Is there a workaround for CVE-2024-50155 if I cannot apply the patch immediately?

There is no specific workaround mentioned for CVE-2024-50155, so applying the latest patches is strongly recommended.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203