CVE-2023-53287
BaseFortify
Publication date: 2025-09-16
Last updated on: 2025-12-03
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | From 5.4 (inc) to 5.15.133 (exc) |
| linux | linux_kernel | From 5.16 (inc) to 6.1.55 (exc) |
| linux | linux_kernel | From 6.2 (inc) to 6.5.5 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-NVD-CWE-noinfo |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability in the Linux kernel's usb: cdns3 driver involves improper handling of the 'set active' operation inside a spin lock during the resume process. The device may be scheduled during resume, which cannot occur in atomic operations like those protected by spin locks. The fix moves the 'set active' call outside the spin lock to prevent the kernel from reporting a warning about a sleeping function being called from an invalid context.
How can this vulnerability impact me? :
The vulnerability can cause the Linux kernel to report warnings and potentially unstable behavior during device resume operations, specifically related to power management. This could lead to system instability or unexpected behavior when resuming USB devices using the cdns3 driver.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by monitoring the kernel logs for the specific warning message: 'BUG: sleeping function called from invalid context at drivers/base/power/runtime.c:1163'. You can use commands like 'dmesg | grep "BUG: sleeping function called from invalid context"' or 'journalctl -k | grep "BUG: sleeping function called from invalid context"' to identify if the issue is occurring on your system.
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, update the Linux kernel to a version where the issue is resolved, specifically where the cdns set active part is moved outside the spin lock in the usb: cdns3 driver. This prevents the kernel from calling sleeping functions in atomic context and avoids the reported BUG warning.