CVE-2022-49193
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-49193 affects the Linux kernel's ice driver, specifically related to a 'scheduling while atomic' bug in the aux critical error interrupt handling. The vulnerability was discovered and resolved in 2022, affecting the icemiscintr() function in the Intel ice network driver (Kernel Git).

Technical details

The vulnerability occurs in the icemiscintr() function when processing aux critical error interrupts. The issue arises from a call ladder where icemiscintr() (in hardirq context) calls icesendeventtoaux(), which attempts to acquire a mutex through device_lock(), leading to a scheduling while atomic violation. The bug manifests as a kernel BUG splat with the message 'BUG: scheduling while atomic: swapper/15/0/0x00010000' (Kernel Git).

Impact

When triggered, this vulnerability causes a kernel BUG splat, potentially leading to system instability or crashes. The issue occurs in the interrupt handling path of the Intel ice network driver, which could affect network operations on systems using this driver (Kernel Git).

Mitigation and workarounds

The issue has been fixed by adding a new PF state bit (ICEAUXERRPENDING) to indicate aux critical error occurrence and handling it in iceservice_task() in process context instead of interrupt context. The fix involves deferring the event handling to a safer context, preventing the scheduling while atomic violation (Kernel Git).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management