CVE-2022-48914
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-48914 affects the Linux kernel's Xen netfront driver. The vulnerability was discovered when xennetdestroyqueues() failed to properly handle queue deletion due to a timing issue with realnumtx_queues being zeroed during device unregistration. This issue affects Linux kernel versions from 4.19.226 through 5.16.13 (NVD).

Technical details

The vulnerability occurs because xennetdestroyqueues() relies on info->netdev->realnumtxqueues to delete queues. After commit d7dac083414eb, unregisternetdev() indirectly sets realnumtxqueues to 0. This creates a race condition where xennetdestroyqueues() called from xennetremove() cannot properly clean up because it's called after unregister_netdev(). The CVSS v3.1 base score is 5.5 (Medium) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

When exploited, this vulnerability results in a NULL pointer dereference when attempting to free queues that are still linked in NAPI, ultimately causing a kernel crash. This creates a denial of service condition affecting system stability (Kernel Patch).

Mitigation and workarounds

The issue has been fixed by moving the xennetdestroyqueues() call to xennetuninit(), ensuring queues are destroyed when realnumtxqueues is still available. This fix ensures proper cleanup regardless of how unregister_netdev() is called. Users should update to patched kernel versions that include this fix (Kernel Patch).

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