{"id":"CVE-2026-43041","summary":"net: qrtr: replace qrtr_tx_flow radix_tree with xarray to fix memory leak","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: qrtr: replace qrtr_tx_flow radix_tree with xarray to fix memory leak\n\n__radix_tree_create() allocates and links intermediate nodes into the\ntree one by one. If a subsequent allocation fails, the already-linked\nnodes remain in the tree with no corresponding leaf entry. These orphaned\ninternal nodes are never reclaimed because radix_tree_for_each_slot()\nonly visits slots containing leaf values.\n\nThe radix_tree API is deprecated in favor of xarray. As suggested by\nMatthew Wilcox, migrate qrtr_tx_flow from radix_tree to xarray instead\nof fixing the radix_tree itself [1]. xarray properly handles cleanup of\ninternal nodes — xa_destroy() frees all internal xarray nodes when the\nqrtr_node is released, preventing the leak.\n\n[1] https://lore.kernel.org/all/20260225071623.41275-1-jiayuan.chen@linux.dev/T/","modified":"2026-06-18T03:56:20.069061333Z","published":"2026-05-01T14:15:38.112Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43041.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0fda873092b541bb5a9b87d728a2429f863f8cfa"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2428083101f6883f979cceffa76cd8440751ffe6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4b75ff0aedd6ade1018ad4a3a9d8336794e36e42"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5d2249eefaca59908fe3c264b8eca526424dcfbe"},{"type":"WEB","url":"https://git.kernel.org/stable/c/69402908e277dd164bf8d7c8fd0513c0fac28e9e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f2664bc4f0f356f17c2094587a2b3665e3867e44"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f2dd9aaf6e2861337f5835f877a5b2becaf4b015"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ff134cc43972d7ddceff8cfd36cf6b9eaafc00b3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43041.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43041"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"5fdeb0d372ab33b4175043a2a4a1730239a217f1"},{"fixed":"f2dd9aaf6e2861337f5835f877a5b2becaf4b015"},{"fixed":"4b75ff0aedd6ade1018ad4a3a9d8336794e36e42"},{"fixed":"ff134cc43972d7ddceff8cfd36cf6b9eaafc00b3"},{"fixed":"0fda873092b541bb5a9b87d728a2429f863f8cfa"},{"fixed":"69402908e277dd164bf8d7c8fd0513c0fac28e9e"},{"fixed":"f2664bc4f0f356f17c2094587a2b3665e3867e44"},{"fixed":"5d2249eefaca59908fe3c264b8eca526424dcfbe"},{"fixed":"2428083101f6883f979cceffa76cd8440751ffe6"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-43041.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.6.0"},{"fixed":"5.10.253"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.203"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.168"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.134"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.81"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.22"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"6.19.12"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-43041.json"}}],"schema_version":"1.7.5"}