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 A08533C9427 for ; Wed, 8 Apr 2026 13:06:25 +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=1775653585; cv=none; b=eoGuw5im7hQUXJaD4YjR41D4d80nmnm16bHeCZh3XEvXhvTYtPSkmzHrS1qm7aPm/zaIVtt0SEDkM60pPSNWWcKwtUssm1J0sKAqfNUkLwLLsLqy1QHgWTlrwMxsvox+hmQnJQtNP7M+TWQv6/R8LcF/d+4aCc4gW8Rg9/j06BY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775653585; c=relaxed/simple; bh=Uh7s7dScp0qusI2EMJZb42SLNo3CVWHeGzLZHwda9Fo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=GOgOB+lpbvZlGvPIBhUh+crjrl36oezqljxp31IWLxtklLHlJzh5jSUZC3vBR8GQgpDDZCEjrSbEW9kcfBI36jdr6BwbdTbqZKcVExSv9cFh8uor4n4OC/ogdb/3Ex6OsOFRivFVEHjh10pYlFpuPIOBVPpya2NdtAbU0pKBf2E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ezC2MhLT; 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="ezC2MhLT" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1FE74C19421; Wed, 8 Apr 2026 13:06:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1775653585; bh=Uh7s7dScp0qusI2EMJZb42SLNo3CVWHeGzLZHwda9Fo=; h=From:To:Cc:Subject:Date:Reply-To:From; b=ezC2MhLTYKlNM5SRlyUpbLEhjJ5RsAn3hTpPHOy19n6aVfQmgYc9DXC5kKXVEiYP4 edTITDFLGVn+7WHJaBzf3Oy6qmkFOaDyfVP010bynd/VHsw34pan5vedIbCm9oelKX fmL7fIRCIJSdIGjP5zmOWEtJSPwiku53426ooTu4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31411: net: atm: fix crash due to unvalidated vcc pointer in sigd_send() Date: Wed, 8 Apr 2026 15:06:21 +0200 Message-ID: <2026040820-CVE-2026-31411-7ef9@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=4741; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=+rOskFYNZ+w7/keXjrhWSFnqaUyGZuO+7qHuXxfFEWg=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnXgs78OjBhQ/MpsdMTpS8x/ktvvvCp7GnSNw2elnXxc 5wNir5e6YhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJqPoxzNOdUP0jLfGUp2VH 74mqJW73b8vUvmZYsDK5SdTj81q2z00M09/OsF4eq2uuBgA= 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: atm: fix crash due to unvalidated vcc pointer in sigd_send() Reproducer available at [1]. The ATM send path (sendmsg -> vcc_sendmsg -> sigd_send) reads the vcc pointer from msg->vcc and uses it directly without any validation. This pointer comes from userspace via sendmsg() and can be arbitrarily forged: int fd = socket(AF_ATMSVC, SOCK_DGRAM, 0); ioctl(fd, ATMSIGD_CTRL); // become ATM signaling daemon struct msghdr msg = { .msg_iov = &iov, ... }; *(unsigned long *)(buf + 4) = 0xdeadbeef; // fake vcc pointer sendmsg(fd, &msg, 0); // kernel dereferences 0xdeadbeef In normal operation, the kernel sends the vcc pointer to the signaling daemon via sigd_enq() when processing operations like connect(), bind(), or listen(). The daemon is expected to return the same pointer when responding. However, a malicious daemon can send arbitrary pointer values. Fix this by introducing find_get_vcc() which validates the pointer by searching through vcc_hash (similar to how sigd_close() iterates over all VCCs), and acquires a reference via sock_hold() if found. Since struct atm_vcc embeds struct sock as its first member, they share the same lifetime. Therefore using sock_hold/sock_put is sufficient to keep the vcc alive while it is being used. Note that there may be a race with sigd_close() which could mark the vcc with various flags (e.g., ATM_VF_RELEASED) after find_get_vcc() returns. However, sock_hold() guarantees the memory remains valid, so this race only affects the logical state, not memory safety. [1]: https://gist.github.com/mrpre/1ba5949c45529c511152e2f4c755b0f3 The Linux kernel CVE team has assigned CVE-2026-31411 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 5.10.252 with commit c96549d07dfdd51aadf0722cfb40711574424840 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 5.15.202 with commit 1c8bda3df028d5e54134077dcd09f46ca8cfceb5 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.1.165 with commit 3e1a8b00095246a9a2b46b57f6d471c6d3c00ed2 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.6.128 with commit e3f80666c2739296c3b69a127300455c43aa1067 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.12.75 with commit 21c303fec138c002f90ed33bce60e807d53072bb Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.18.14 with commit 69d3f9ee5489e6e8b66defcfa226e91d82393297 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.19.4 with commit 440c9a5fc477a8ee259d8bf669531250b8398651 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.0-rc1 with commit ae88a5d2f29b69819dc7b04086734439d074a643 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-31411 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/atm/signaling.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/c96549d07dfdd51aadf0722cfb40711574424840 https://git.kernel.org/stable/c/1c8bda3df028d5e54134077dcd09f46ca8cfceb5 https://git.kernel.org/stable/c/3e1a8b00095246a9a2b46b57f6d471c6d3c00ed2 https://git.kernel.org/stable/c/e3f80666c2739296c3b69a127300455c43aa1067 https://git.kernel.org/stable/c/21c303fec138c002f90ed33bce60e807d53072bb https://git.kernel.org/stable/c/69d3f9ee5489e6e8b66defcfa226e91d82393297 https://git.kernel.org/stable/c/440c9a5fc477a8ee259d8bf669531250b8398651 https://git.kernel.org/stable/c/ae88a5d2f29b69819dc7b04086734439d074a643