Skip to main content
Network Thinking Solutions Logo

CVE-2024-40904

Linux kernel: USB: class: cdc-wdm: Fix CPU lockup caused by excessive log messages

All CVEs
CVE-2024-40904Published 7/12/2024

Linux kernel: USB: class: cdc-wdm: Fix CPU lockup caused by excessive log messages

Vendor advisory
CVSS5.5Medium

Overview

In the Linux kernel, the following vulnerability has been resolved: USB: class: cdc-wdm: Fix CPU lockup caused by excessive log messages The syzbot fuzzer found that the interrupt-URB completion callback in the cdc-wdm driver was taking too long, and the driver's immediate resubmission of interrupt URBs with -EPROTO status combined with the dummy-hcd emulation to cause a CPU lockup: cdc_wdm 1-1:1.0: nonzero urb status received: -71 cdc_wdm 1-1:1.0: wdm_int_callback - 0 bytes watchdog: BUG: soft lockup - CPU#0 stuck for 26s! [syz-executor782:6625] CPU#0 Utilization every 4s during lockup: #1: 98% system, 0% softirq, 3% hardirq, 0% idle #2: 98% system, 0% softirq, 3% hardirq, 0% idle #3: 98% system, 0% softirq, 3% hardirq, 0% idle #4: 98% system, 0% softirq, 3% hardirq, 0% idle #5: 98% system, 1% softirq, 3% hardirq, 0% idle Modules linked in: irq event stamp: 73096 hardirqs last enabled at (73095): [<ffff80008037bc00>] console_emit_next_record kernel/printk/printk.c:2935 [inline] hardirqs last enabled at (73095): [<ffff80008037bc00>] console_flush_all+0x650/0xb74 kernel/printk/printk.c:2994 hardirqs last disabled at (73096): [<ffff80008af10b00>] __el1_irq arch/arm64/kernel/entry-common.c:533 [inline] hardirqs last disabled at (73096): [<ffff80008af10b00>] el1_interrupt+0x24/0x68 arch/arm64/kernel/entry-common.c:551 softirqs last enabled at (73048): [<ffff8000801ea530>] softirq_handle_end kernel/softirq.c:400 [inline] softirqs last enabled at (73048): [<ffff8000801ea530>] handle_softirqs+0xa60/0xc34 kernel/softirq.c:582 softirqs last disabled at (73043): [<ffff800080020de8>] __do_softirq+0x14/0x20 kernel/softirq.c:588 CPU: 0 PID: 6625 Comm: syz-executor782 Tainted: G W 6.10.0-rc2-syzkaller-g8867bbd4a056 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Testing showed that the problem did not occur if the two error messages -- the first two lines above -- were removed; apparently adding material to the kernel log takes a surprisingly large amount of time. In any case, the best approach for preventing these lockups and to avoid spamming the log with thousands of error messages per second is to ratelimit the two dev_err() calls. Therefore we replace them with dev_err_ratelimited().

Published
7/12/2024
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 2.6.28, < 4.19.317

Verify advisory

Source
linux kernel
linux
≥ 4.20, < 5.4.279

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.221

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.162

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.95

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.35

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.9.6

Verify advisory

Source
linux kernel
linux
6.10

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ 9908a32e94de2141463e104c9924279ed3509447, < 217d1f44fff560b3995a685a60aa66e55a7f0f56

Verify advisory

Source
Linux
Linux
≥ 9908a32e94de2141463e104c9924279ed3509447, < 05b2cd6d33f700597e6f081b53c668a226a96d28

Verify advisory

Source
Linux
Linux
≥ 9908a32e94de2141463e104c9924279ed3509447, < c0747d76eb05542b5d49f67069b64ef5ff732c6c

Verify advisory

Source
Linux
Linux
≥ 9908a32e94de2141463e104c9924279ed3509447, < 53250b54c92fe087fd4b0c48f85529efe1ebd879

Verify advisory

Source
Linux
Linux
≥ 9908a32e94de2141463e104c9924279ed3509447, < 02a4c0499fc3a02e992b4c69a9809912af372d94

Verify advisory

Source
Linux
Linux
≥ 9908a32e94de2141463e104c9924279ed3509447, < 72a3fe36cf9f0d030865e571f45a40f9c1e07e8a

Verify advisory

Source
Linux
Linux
≥ 9908a32e94de2141463e104c9924279ed3509447, < 82075aff7ffccb1e72b0ac8aa349e473624d857c

Verify advisory

Source
Linux
Linux
≥ 9908a32e94de2141463e104c9924279ed3509447, < 22f00812862564b314784167a89f27b444f82a46

Verify advisory

Source
Linux
Linux
2.6.28

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.