Description
In the Linux kernel, the following vulnerability has been resolved:
net: qrtr: replace qrtr_tx_flow radix_tree with xarray to fix memory leak
__radix_tree_create() allocates and links intermediate nodes into the tree one by one. If a subsequent allocation fails, the already-linked nodes remain in the tree with no corresponding leaf entry. These orphaned internal nodes are never reclaimed because radix_tree_for_each_slot() only visits slots containing leaf values.
The radix_tree API is deprecated in favor of xarray. As suggested by Matthew Wilcox, migrate qrtr_tx_flow from radix_tree to xarray instead of fixing the radix_tree itself [1]. xarray properly handles cleanup of internal nodes — xa_destroy() frees all internal xarray nodes when the qrtr_node is released, preventing the leak.
[1] https://lore.kernel.org/all/20260225071623.41275-1-jiayuan.chen@linux.dev/T/
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 5fdeb0d372ab33b4175043a2a4a1730239a217f1, < f2dd9aaf6e2861337f5835f877a5b2becaf4b015; >= 5fdeb0d372ab33b4175043a2a4a1730239a217f1, < 4b75ff0aedd6ade1018ad4a3a9d8336794e36e42; >= 5fdeb0d372ab33b4175043a2a4a1730239a217f1, < ff134cc43972d7ddceff8cfd36cf6b9eaafc00b3; >= 5fdeb0d372ab33b4175043a2a4a1730239a217f1, < 0fda873092b541bb5a9b87d728a2429f863f8cfa; >= 5fdeb0d372ab33b4175043a2a4a1730239a217f1, < 69402908e277dd164bf8d7c8fd0513c0fac28e9e; >= 5fdeb0d372ab33b4175043a2a4a1730239a217f1, < f2664bc4f0f356f17c2094587a2b3665e3867e44; >= 5fdeb0d372ab33b4175043a2a4a1730239a217f1, < 5d2249eefaca59908fe3c264b8eca526424dcfbe; >= 5fdeb0d372ab33b4175043a2a4a1730239a217f1, < 2428083101f6883f979cceffa76cd8440751ffe6 |
| Linux | Linux | 5.6 |
References
- https://git.kernel.org/stable/c/0fda873092b541bb5a9b87d728a2429f863f8cfaPatch
- https://git.kernel.org/stable/c/2428083101f6883f979cceffa76cd8440751ffe6Patch
- https://git.kernel.org/stable/c/4b75ff0aedd6ade1018ad4a3a9d8336794e36e42Patch
- https://git.kernel.org/stable/c/5d2249eefaca59908fe3c264b8eca526424dcfbePatch
- https://git.kernel.org/stable/c/69402908e277dd164bf8d7c8fd0513c0fac28e9ePatch
- https://git.kernel.org/stable/c/f2664bc4f0f356f17c2094587a2b3665e3867e44Patch
- https://git.kernel.org/stable/c/f2dd9aaf6e2861337f5835f877a5b2becaf4b015Patch
- https://git.kernel.org/stable/c/ff134cc43972d7ddceff8cfd36cf6b9eaafc00b3Patch
Timeline
- Published
- May 1, 2026
- Last modified
- Nov 11, 2026
- NVD status
- Analyzed