
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-48644 is a vulnerability in the Linux kernel's network scheduling (taprio) component, discovered and disclosed on April 28, 2024. The vulnerability affects the taprio qdisc (queuing discipline) implementation when handling offload operations. The issue stems from an API design decision where qdisc->destroy() gets called even if qdisc->init() never succeeded (Kernel Git).
The vulnerability occurs in the taprio qdisc implementation where it starts with q->flags = TAPRIO_FLAGS_INVALID in taprio_init(), then replaces q->flags with TCA_TAPRIO_ATTR_FLAGS parsed from netlink. The issue arises in taprio_destroy() when calling taprio_disable_offload(), which checks FULL_OFFLOAD_IS_ENABLED(q->flags). Since TAPRIO_FLAGS_INVALID is set to U32_MAX, the FULL_OFFLOAD_IS_ENABLED() macro incorrectly returns true on invalid flags, leading to potential kernel crashes (Kernel Git).
When exploited, this vulnerability can cause a kernel crash if user space forces an error between setting q->flags = TAPRIO_FLAGS_INVALID and the calling of taprio_enable_offload(). This occurs because drivers do not expect the offload to be disabled when it was never enabled (Kernel Git).
The vulnerability can be triggered by attaching taprio as a non-root qdisc, specifically as a child of an mqprio root qdisc. This can lead to a kernel paging request error at virtual address fffffffffffffff8, resulting in an internal error (Oops: 96000004) (Kernel Git).
The issue has been fixed by implementing a tracking mechanism for offload operations. The fix adds a 'bool offloaded' field between 'int clockid' and 'atomic64_t picos_per_byte' in the taprio_sched structure, ensuring that offload is only disabled if it was actually enabled (Kernel Git).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."