Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 72F173C9ED0 for ; Fri, 1 May 2026 14:21:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777645272; cv=none; b=gOWZ8Xv0MWbRVdI5BMSFoIisCqJ60foTIIVT7695HuUhQIxFD51nwziZiImc1TQeeiFoCEtTO7c3ImBqCp8AGmL1Y5NvXRcDnHNkmRQubzb/pfg7AzLLeEi/eNvUoGM3/Z6tRTP5W7SDsmWdNOHy/kHzss50wWWnrSIjGBXpW9Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777645272; c=relaxed/simple; bh=jN8pQ2aq2jgjh7BlBSkAp7eKP8nx1BCZR79e1EKOpdQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=s/G9rt/6LQ85A9Y9IXT0QlSY9XtjAM0yMgrcDWeGGXsd30l9mr7Gz6z82nTn/iIwWh8flU2V9fPirk4iKMzhTLwodBYH8WPNWlyIJxblE2uWFn3EYZPsBT4Tr8Gvku9OYc494+6v7Ib279cZnPQ5zAlZHbahS2JD218wQc1xa4I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=cvh6tyog; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="cvh6tyog" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CA5A2C2BCB4; Fri, 1 May 2026 14:21:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777645272; bh=jN8pQ2aq2jgjh7BlBSkAp7eKP8nx1BCZR79e1EKOpdQ=; h=From:To:Cc:Subject:Date:Reply-To:From; b=cvh6tyogz1hlnn/ZOzam2f4nKBP7r3E94HzBco7y0QC1pb85MkwEfQ9CIMNdRBKrS 9JrfqqvS2PEMCG7HX0hekLBRDE9B6WSgqyLBgeLzBaVho/WrY/nPvkR0QILRRvm4xd 5eRkSv1JZ+KvF/1GrH69bJiT59YPveai6UrykZzg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-43011: net/x25: Fix potential double free of skb Date: Fri, 1 May 2026 16:15:44 +0200 Message-ID: <2026050155-CVE-2026-43011-dc56@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=3811; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=uXmc4xY3lVfeokgJ6qGzePhRMNfHemcgxZQihRGOrp8=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlftsY/WKCcZR+scPnRxBmC2gcDTvyanLKrd57o5TBr9 zpBtwV1HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARUXOGBcdk4vivs6ku0w53 E9HZssDkxtuEHob5VQuWzqzmtbRbP7G7mMFwqa/Hmp73AA== 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/x25: Fix potential double free of skb When alloc_skb fails in x25_queue_rx_frame it calls kfree_skb(skb) at line 48 and returns 1 (error). This error propagates back through the call chain: x25_queue_rx_frame returns 1 | v x25_state3_machine receives the return value 1 and takes the else branch at line 278, setting queued=0 and returning 0 | v x25_process_rx_frame returns queued=0 | v x25_backlog_rcv at line 452 sees queued=0 and calls kfree_skb(skb) again This would free the same skb twice. Looking at x25_backlog_rcv: net/x25/x25_in.c:x25_backlog_rcv() { ... queued = x25_process_rx_frame(sk, skb); ... if (!queued) kfree_skb(skb); } The Linux kernel CVE team has assigned CVE-2026-43011 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 5.10.253 with commit 5d0aa038a90b30c9bedde0c41c1fdcd98ecb16e9 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 5.15.203 with commit 3f5e3005984645bf5bd129c6b13149879580b1fb Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.1.168 with commit f782dd382203b2a8c4552a628431b7de65a19a7b Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.6.134 with commit 143d4fa68ae9efb83b0c55b12cc7f0d03732a2b1 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.12.81 with commit 524371398d8463ea7e101fce2cbf3915645d1730 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.18.22 with commit fa1dbc93530b34fab0da9862426fe9c918c74dc0 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.19.12 with commit c87dd137c0dad07cc55f98181ff380b0c23d2878 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.0 with commit d10a26aa4d072320530e6968ef945c8c575edf61 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-43011 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/x25/x25_in.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/5d0aa038a90b30c9bedde0c41c1fdcd98ecb16e9 https://git.kernel.org/stable/c/3f5e3005984645bf5bd129c6b13149879580b1fb https://git.kernel.org/stable/c/f782dd382203b2a8c4552a628431b7de65a19a7b https://git.kernel.org/stable/c/143d4fa68ae9efb83b0c55b12cc7f0d03732a2b1 https://git.kernel.org/stable/c/524371398d8463ea7e101fce2cbf3915645d1730 https://git.kernel.org/stable/c/fa1dbc93530b34fab0da9862426fe9c918c74dc0 https://git.kernel.org/stable/c/c87dd137c0dad07cc55f98181ff380b0c23d2878 https://git.kernel.org/stable/c/d10a26aa4d072320530e6968ef945c8c575edf61