CVE-2022-50652
BaseFortify
Publication date: 2025-12-09
Last updated on: 2025-12-09
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a bug in the Linux kernel's uio_dmem_genirq driver related to interrupt handling. A recent fix introduced a problem where if an interrupt is already disabled and a new disable request occurs, a spinlock is not properly unlocked. This can lead to a scheduling bug where the system attempts to sleep while in an atomic context, causing kernel errors and potential system instability.
How can this vulnerability impact me? :
The vulnerability can cause kernel bugs such as 'scheduling while atomic' errors, which may lead to system instability or crashes. This affects the reliability of systems using the affected Linux kernel driver, potentially disrupting normal operations.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by observing kernel logs for specific BUG messages related to scheduling while atomic, especially when interacting with /dev/uio0 device. For example, running commands that write to /dev/uio0 such as: printf '\x00\x00\x00\x00' > /dev/uio0 and then checking dmesg or kernel logs for BUG messages indicating scheduling while atomic errors can help detect the issue.
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation involves updating the Linux kernel to a version that includes the fix for the uio_dmem_genirq irqcontrol spinlock unlock issue. Since the vulnerability is due to a missing unlock in irq configuration, applying the patch or upgrading to a kernel version that contains commit b74351287d4b or later will resolve the issue.