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 0C0423CCFD4 for ; Mon, 13 Apr 2026 13:33:52 +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=1776087233; cv=none; b=NCpGB8Mq67Al9yuOV3gaSuCeEPH/5h6ZKHCq08rsR2IcNB81WUuHdVYhwgq1RoOW3S/5cKJNmmSr0WD+8aznKXhEvUV7x6AJ/Mpm7Xee5YLLCh1HaGsQsNSvPzPgPqqfgFTdffQdTk5eQbXdGofK8NLwpgKid5gnfAgKsh3nrU4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776087233; c=relaxed/simple; bh=TVGi7xkLLjBNW7epRhqrWx5fiQwDe67BVLWVfImo3fg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=BlG6xkicByY+sOyqkEflxQmmDVkH+gkqHiz2GHWc+eHGt34Qrfjet20/6EkgMaw6AULNSFoGiAfZmzj6VFzh8NRx8+QQa/0jfbcbYw7HjQKHbDpMHVYROPbSQMuFwypQ5zs5QNhzbHrPG4L2ASHa93DxvSykW7WQ4RbO/OkNOX4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=HDEdRyHP; 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="HDEdRyHP" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5CCC8C2BCAF; Mon, 13 Apr 2026 13:33:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1776087232; bh=TVGi7xkLLjBNW7epRhqrWx5fiQwDe67BVLWVfImo3fg=; h=From:To:Cc:Subject:Date:Reply-To:From; b=HDEdRyHPIimDrCDIlhgqTjw2viPZSlNu8F3GRY3NttJekncEcMrnNZFZAhbvnmoW6 YhP3hgKiOXbPd24389hZ8rtj5AJMy9kgbkLu6IjeQeT1m6jBbh2n0kWLTztKm/stjP qWskyOi61w6x3a0Ph+i2pZ7dhDhh+wGfkPJIzjnU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31417: net/x25: Fix overflow when accumulating packets Date: Mon, 13 Apr 2026 15:21:12 +0200 Message-ID: <2026041310-CVE-2026-31417-d47b@gregkh> X-Mailer: git-send-email 2.53.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=2859; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=PD72IVCJiegM5lrLyqrFnosqk/Za3l2MUv+p6KxqwPY=; b=owGbwMvMwCRo6H6F97bub03G02pJDJl33h53Oqtn7VESkTApesu9R7c53dOS5vwrFbjif8HGa NKJvcFsHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARPTeGBcvqJ36LCknXnHg1 Jr7fdkZej32cH8P8Osay/48Fbl7zyWZc4dJ9L09mh38sAA== 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 overflow when accumulating packets Add a check to ensure that `x25_sock.fraglen` does not overflow. The `fraglen` also needs to be resetted when purging `fragment_queue` in `x25_clear_queues()`. The Linux kernel CVE team has assigned CVE-2026-31417 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.1.168 with commit 6e568835ea54a3e1d08e310e34f95d434e739477 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.6.134 with commit 1734bd85c5e0a7a801295b729efb56b009cb8fc3 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.12.81 with commit 4e2d1bcef78d21247fe8fef13bc7ed95885df2b5 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.18.22 with commit 8c92969c197b91c134be27dc3afb64ab468853a9 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.19.12 with commit f953f11ccf4afe6feb635c08145f4240d9a6b544 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.0 with commit a1822cb524e89b4cd2cf0b82e484a2335496a6d9 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-31417 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 net/x25/x25_subr.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/6e568835ea54a3e1d08e310e34f95d434e739477 https://git.kernel.org/stable/c/1734bd85c5e0a7a801295b729efb56b009cb8fc3 https://git.kernel.org/stable/c/4e2d1bcef78d21247fe8fef13bc7ed95885df2b5 https://git.kernel.org/stable/c/8c92969c197b91c134be27dc3afb64ab468853a9 https://git.kernel.org/stable/c/f953f11ccf4afe6feb635c08145f4240d9a6b544 https://git.kernel.org/stable/c/a1822cb524e89b4cd2cf0b82e484a2335496a6d9