PT-2024-11177 · Linux · Linux Kernel
Maxim Mikityanskiy
+1
·
Published
2021-06-04
·
Updated
2025-01-07
·
CVE-2021-47125
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
A refcount leak issue has been identified in the Linux kernel, specifically in the htb parent to leaf offload function. The commit ae81feb7338c, which aimed to fix a NULL pointer dereference bug, was found to be incorrect. The htb graft helper function properly handles the case when new q is NULL, but skipping this call creates an inconsistency where dev queue->qdisc points to the old qdisc, while cl->parent->leaf.q points to the new one, which can be noop qdisc if new q is NULL. This inconsistency can lead to refcount leaks. The correct fix involves adding a NULL pointer check to protect qdisc refcount inc inside htb parent to leaf offload.
Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Linux Kernel