CVE-2023-53558
BaseFortify
Publication date: 2025-10-04
Last updated on: 2026-03-21
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | From 6.2 (inc) to 6.4.7 (exc) |
| linux | linux_kernel | From 5.17 (inc) to 6.1.42 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability occurs in the Linux kernel where the function pr_info() is called while holding a spin lock (rtp->cbs_gbl_lock). Since pr_info() internally calls printk(), which may sleep, calling it with a spin lock held can cause a BUG due to invalid wait context. This can lead to kernel crashes or instability. The fix involved moving the pr_info() call so it is executed without the spin lock held.
How can this vulnerability impact me? :
This vulnerability can cause the Linux kernel to crash or become unstable due to improper locking and sleeping behavior. This can lead to system downtime, loss of data, or degraded system reliability.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by checking the system logs for BUG messages related to 'Invalid wait context' and the specific stack trace involving cblist_init_generic and pr_info() calls with spin locks. You can use the command 'dmesg | grep -i "BUG: Invalid wait context"' or 'journalctl -k | grep -i "cblist_init_generic"' to find relevant kernel log entries indicating this issue.
What immediate steps should I take to mitigate this vulnerability?
The immediate step to mitigate this vulnerability is to update the Linux kernel to a version where the patch has been applied that moves the pr_info() call outside of the spin lock. This prevents the BUG from occurring. Until the update is applied, monitoring logs for the issue and avoiding workloads that trigger this code path may help reduce impact.