net_sched: Add __rcu annotation to netdev->qdisc
Summary
GSD-2022-1000467: net_sched: add __rcu annotation to netdev->qdisc. Affects Kernel versions >= 470502de5bdb1ed0def643a4458593a40b8f6b66, < 9bb363ba014ff7d2823baf2a0cf7a91e39fb63f2. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The net_sched package is a component of the Linux Kernel that handles network traffic scheduling and queuing. It is responsible for managing the transmission and reception of packets on network interfaces. The netdev->qdisc data structure represents the queuing discipline associated with a network device. This vulnerability in net_sched involves the absence of the __rcu annotation on netdev->qdisc, which can lead to potential security issues.
Vulnerability Detail
The vulnerability in net_sched arises from the lack of the __rcu annotation on netdev->qdisc. This annotation is crucial for ensuring proper synchronization and memory management when accessing the queuing discipline associated with a network device. Without this annotation, there is a possibility of race conditions and memory corruption, which can be exploited by attackers to gain unauthorized access, execute arbitrary code, or cause denial-of-service conditions. The vulnerability was introduced in version v5.1 of the Linux Kernel and has been fixed in version v5.15.25.
How To Fix
No fixed version is published for this vulnerability.
To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.15.25 or later. This update includes the commit 9bb363ba014ff7d2823baf2a0cf7a91e39fb63f2, which adds the necessary __rcu annotation to netdev->qdisc. By applying this update, the vulnerability is mitigated, and the proper synchronization and memory management of the queuing discipline are ensured.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
There is no specific workaround mentioned for this vulnerability. The recommended approach is to update the Linux Kernel to the fixed version.
Conclusion
The net_sched vulnerability involving the absence of the __rcu annotation on netdev->qdisc can have severe security implications. It is crucial to update the Linux Kernel to version v5.15.25 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
net_sched is a component of the Linux Kernel responsible for network traffic scheduling and queuing.
netdev->qdisc is a data structure in net_sched that represents the queuing discipline associated with a network device.
This vulnerability can potentially lead to unauthorized access, arbitrary code execution, or denial-of-service conditions.
To fix this vulnerability, update the Linux Kernel to version v5.15.25 or later.
There is no specific workaround mentioned for this vulnerability. Updating the Linux Kernel is the recommended approach.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.
Follow Vulert in Google
Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.