CVE-2023-4921
Linux Kernel vulnerability analysis and mitigation

Overview

A use-after-free vulnerability was discovered in the Linux kernel's net/sched: schqfq component (CVE-2023-4921). The vulnerability was reported by security researcher 'valis' and affects Linux kernel versions from 3.8 up to versions before 6.6. The issue was disclosed in September 2023 and occurs when the plug qdisc is used as a class of the qfq qdisc, where sending network packets can trigger a use-after-free condition in qfqdequeue() (Kernel Commit).

Technical details

The vulnerability stems from incorrect handling in the Quick Fair Queueing (QFQ) scheduler implementation. Specifically, the issue arises due to the incorrect .peek handler of schplug and lack of error checking in aggdequeue(). The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (HIGH) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, indicating local access requirements with low complexity and privilege requirements (NVD).

Impact

The vulnerability can be exploited to achieve local privilege escalation. When successfully exploited, it can lead to denial of service (crash or memory corruption) or potentially privilege escalation for users with CAPNETADMIN capability in any user or network namespace (Debian LTS).

Mitigation and workarounds

The vulnerability has been fixed in Linux kernel commit 8fc134fee27f2263988ae38920bc03da416b03d8. The fix involves changing the schplug's .peek handler to qdiscpeekdequeued() and adding proper error checking in the aggdequeue() function. Users are recommended to upgrade their systems to kernel versions containing this fix (Kernel Commit).

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