Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C9DA33438B5 for ; Wed, 27 May 2026 13:02:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779886970; cv=none; b=GbxLR4/dWR6f6oPRBXn2erVq7wMnY2A2ECeDLH8e6liwrQ3b9eEDEOcXe+wOOWcRa6Xk1hfWm2NtsQEkS/lP9CaVN91/F97yNJiz4yEv2Z5h6KMIZKkMh5VK56kAcA8rhs3agTGqeHd0vKR+5G5FhyQ3GqlGhGe6ugtwQ4+6c1w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779886970; c=relaxed/simple; bh=BuQ7uCL+Mpb0J+E/3fiJAvpaA02vzJdvP77i55e12m0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=W3Ke8VcAFycomvD6Nvuxa9ytkuKVXsnTvGyEhWwb6KW5V6mh2yS1m8TrACzMzP7kkIj1tUlrI/kDp05EYcwbgDVgbGHnlJhDKxrlwtGPuNh8NpiCAeUZ8hSVoUnlrfzvq2VWTj7uOiK8tF2ecj7YZOj5BQWrgrzDwz2NnsY7d34= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=QHlBdAvq; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="QHlBdAvq" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 17D881F000E9; Wed, 27 May 2026 13:02:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779886969; bh=UG3UnCo1S1o40qKCoPXzmHeZG1d5WTQeA1oZjodN5Ro=; h=From:To:Cc:Subject:Date:Reply-To; b=QHlBdAvq4HmputBQYe4sW/D7xY/8qTDZZVVPaG/24mSV50CJkFJZxoPZ8nd4KMVFM JUEXlJ4203BEqJqI1iA4lPXLE2RFWb/7qvR7QZ0T5uY+bsl9OEDBLAyxaFwQLBNsUC JV4icP9RLGYqFSxIa7XNeGX2h7Y5Rd3/KBkDwfP4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46038: net: qrtr: ns: Free the node during ctrl_cmd_bye() Date: Wed, 27 May 2026 14:59:29 +0200 Message-ID: <2026052750-CVE-2026-46038-ec0d@gregkh> X-Mailer: git-send-email 2.54.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2870; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=4coQ1hUpXCGL3rNjLihUWNTvdstMV8DEp/6wnlmBD4k=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlir7qW7F4gGHilXFTPZZV2Zy1H8C0Pu70XNr0IEDi9T vCjeZRdRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExkpRrD/PCJu00lHvkvjdIP vHq9djuz0I66Bob5ARNW5k3+eiuZX//QbY+OB8eO3M3TAQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: net: qrtr: ns: Free the node during ctrl_cmd_bye() A node sends the BYE packet when it is about to go down. So the nameserver should advertise the removal of the node to all remote and local observers and free the node finally. But currently, the nameserver doesn't free the node memory even after processing the BYE packet. This causes the node memory to leak. Hence, remove the node from Xarray list and free the node memory during both success and failure case of ctrl_cmd_bye(). The Linux kernel CVE team has assigned CVE-2026-46038 to this issue. Affected and fixed versions =========================== Issue introduced in 5.7 with commit 0c2204a4ad710d95d348ea006f14ba926e842ffd and fixed in 6.6.140 with commit ff78ed177a66763085e3214d6fbe13ca8f0b3f11 Issue introduced in 5.7 with commit 0c2204a4ad710d95d348ea006f14ba926e842ffd and fixed in 6.12.86 with commit 65932f5102bb5377db36c8a4f0c28179a1967a9a Issue introduced in 5.7 with commit 0c2204a4ad710d95d348ea006f14ba926e842ffd and fixed in 6.18.27 with commit 154fc7fe3f62c46891c3c4302f4b5b5391c932e6 Issue introduced in 5.7 with commit 0c2204a4ad710d95d348ea006f14ba926e842ffd and fixed in 7.0.4 with commit 076e4b162d6caba12c229e7f262df5b6881162b0 Issue introduced in 5.7 with commit 0c2204a4ad710d95d348ea006f14ba926e842ffd and fixed in 7.1-rc1 with commit 68efba36446a7774ea5b971257ade049272a07ac Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-46038 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: net/qrtr/ns.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/ff78ed177a66763085e3214d6fbe13ca8f0b3f11 https://git.kernel.org/stable/c/65932f5102bb5377db36c8a4f0c28179a1967a9a https://git.kernel.org/stable/c/154fc7fe3f62c46891c3c4302f4b5b5391c932e6 https://git.kernel.org/stable/c/076e4b162d6caba12c229e7f262df5b6881162b0 https://git.kernel.org/stable/c/68efba36446a7774ea5b971257ade049272a07ac