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 085EE364045 for ; Sat, 15 Aug 2026 06:15:20 +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=1786774521; cv=none; b=i7IfVv4hbfzYHjDmeUvGvKYhN1UmFtyEAfGRgneFmUICilRgQbSLHiPirbJ3Exb7i+lCDaiymTGLxgRu8tR/5UfNmNuTpjjQOuz9anhAg7ipwjmjaLKdeFx9ry6rIZAVedGjUj7PtdDy65pUa8nEc03tdYXRMJynJGU49r6xZSM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774521; c=relaxed/simple; bh=Vl/qCHAI3G8Nx5wnCwbR5MtuIDgPLDtGz2On1Sh7JOg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=SA6ysKTcz9aCTpbmYMux6kP5Suzc554iWCw9ngYALSj33dsarKYP0OrKjs4f3eO1FgdGNq+2gODFhu7ORBfCv719SaThYvj0JAfbx3U3BEnOazgv4NPKw0QDJFP+zgHef7ACcdz1NuKPr6APYEx86ul/a5TJFjOak66ZT1vND3Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=dO28W2NJ; 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="dO28W2NJ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 43A201F000E9; Sat, 15 Aug 2026 06:15:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786774519; bh=mmswpIYfq8yVJ0Ef+RZ/dra5O+49h44ECd/ulC8IDWQ=; h=From:To:Cc:Subject:Date:Reply-To; b=dO28W2NJkoAH0cdXwAf+bgYsI2Bv05S90jsVXtVB00xRh/J24itVlZer6Kxyrxwos lGlwz6msph2LFeAzIql5bHAIkW+xl5tfhUHe9hlJQjdrJAk1BqSkgcnkmedD4kUz2n /6F1uy4+oVqpMsQMy+Mmm/oLqoo1JHojhF21hIBs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72183: landlock: Fix LANDLOCK_SCOPE_SIGNAL bypass on the SIGIO path Date: Sat, 15 Aug 2026 15:04:22 +0900 Message-ID: <2026081540-CVE-2026-72183-232e@gregkh> X-Mailer: git-send-email 2.55.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=5075; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=qJsfXKeUMabbGE7iMY4qUikeq1DW1KoSkWmFPjbBjw4=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDEe0OX/Xmd1PEPIxePhLWmPNhHOztp7oe/KI6WTNl dIWvsafHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARqcsMC5bM+LWn+u9SHbuk YsY9LvM2LHne080wVzpIgC/wQ+WRIyV1NYqbtE5XnQ/qBAA= 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: landlock: Fix LANDLOCK_SCOPE_SIGNAL bypass on the SIGIO path LANDLOCK_SCOPE_SIGNAL must prevent a sandboxed process from signaling processes outside its Landlock domain. It can be bypassed through the asynchronous SIGIO delivery path. A sandboxed process that owns any file or socket can arm it with fcntl(fd, F_SETOWN, -pgid), fcntl(fd, F_SETSIG, SIGKILL) and O_ASYNC, so that an I/O event makes the kernel deliver the chosen signal to the whole process group. As the head of its process group's task list (the default position right after fork()) that group can also hold the non-sandboxed process that launched it, e.g. a supervisor or a security monitor. The sandbox can thus kill or signal the processes LANDLOCK_SCOPE_SIGNAL is meant to protect from it. The scope is enforced in hook_file_send_sigiotask() against the Landlock domain recorded at F_SETOWN time, not the live domain of the sender. control_current_fowner() decides whether to record that domain and skips recording it when the fowner target is in the caller's thread group, which is safe only for a single-task target (PIDTYPE_PID, PIDTYPE_TGID). For a process group (PIDTYPE_PGID) pid_task() returns only one member; recording is skipped whenever that member shares the caller's thread group, and hook_file_send_sigiotask() then lets the signal fan out to the whole group unchecked. Record the domain for every non single-process target so the scope is enforced against each group member at delivery time. That recording is necessary but not sufficient on its own: the kernel signals a process group through its members' thread-group leaders, and the leader of the registrant's own process can carry a different Landlock domain than the sibling thread that armed the owner. domain_is_scoped() would then deny that leader, even though commit 18eb75f3af40 ("landlock: Always allow signals between threads of the same process") requires same-process delivery to be allowed. hook_task_kill() avoids this by evaluating same_thread_group() live, per recipient; the SIGIO path instead delegates the whole decision to a single registration-time check, which a process-group fan-out cannot honor. So also record the registrant's thread group next to its domain and exempt it at delivery: hook_file_send_sigiotask() allows the signal whenever the recipient belongs to the registrant's own process, restoring the same-process guarantee while keeping out-of-domain group members blocked. The direct kill() path (hook_task_kill) already evaluates the live domain and is unaffected. [mic: Check pid_type earlier and improve comment, fix commit message, fix comment formatting] The Linux kernel CVE team has assigned CVE-2026-72183 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12.24 with commit 332facfa80751b80006c2f95b13c6d208ab0aee1 and fixed in 6.12.101 with commit 7a92e9fd1d496a610b40e0c4253fd54e7496f5ab Issue introduced in 6.15 with commit 18eb75f3af40be1f0fc2025d4ff821711222a2fd and fixed in 6.18.40 with commit 1f18aac2637220b5847d073447498e81ddca10b2 Issue introduced in 6.15 with commit 18eb75f3af40be1f0fc2025d4ff821711222a2fd and fixed in 7.1.5 with commit 04916f7dc6d37cd478b06c86398c34a6963ac8c9 Issue introduced in 6.15 with commit 18eb75f3af40be1f0fc2025d4ff821711222a2fd and fixed in 7.2-rc1 with commit 4b80320ca7ed03d6e683f95b6066565dc97b9f92 Issue introduced in 6.13.12 with commit 6861348d863c0eaa4af67492d640a9644a829c59 Issue introduced in 6.14.3 with commit 0906a9685d7057aea982e970da3e1cf3e5aca68b 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-72183 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: security/landlock/fs.c security/landlock/fs.h security/landlock/task.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/7a92e9fd1d496a610b40e0c4253fd54e7496f5ab https://git.kernel.org/stable/c/1f18aac2637220b5847d073447498e81ddca10b2 https://git.kernel.org/stable/c/04916f7dc6d37cd478b06c86398c34a6963ac8c9 https://git.kernel.org/stable/c/4b80320ca7ed03d6e683f95b6066565dc97b9f92