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 D1C4C3A7F58 for ; Sat, 4 Jul 2026 11:55:27 +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=1783166129; cv=none; b=c98JcpB+bdFsgQN2XEtO7nFWfdeHnZVz1/nICzWft5rZ9PI61Yy6feapqWWiMSDf0IgH7g0bLMTc1Rem6QJyUS0IqS04lkDt8Lsd4j302br+N7iSeGHeAJ1s8ENg5gHs8x/q6U5O7kT8c6sXlTdHX19Fkb7Om/IWCXfgm05XT9c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783166129; c=relaxed/simple; bh=Z7CMO8l8QeAVBpBHcZqDL35jn+wJBF1c2ESmlf9sais=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=nVVET2Ev6a3CStSuDZ2l+RgAUapbbOM0qGdZf7fx1Yl5R7fX7ibtfPboGm9YxZ8wp8foiddloEG3TEdfxCr8/tp3NigVuCRfSB8UF01EQPyURoDF/wqZ6KH+uktNtwGTz5cILQ7ocDvFMCcsRUavGXvT19JLEHxciy+M+XHhrmE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=HI2uIJT9; 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="HI2uIJT9" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CE6841F000E9; Sat, 4 Jul 2026 11:55:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1783166127; bh=4vAag3upitj2O2HmaEiea+SuA4ClN66m2tUrd7CNUIc=; h=From:To:Cc:Subject:Date:Reply-To; b=HI2uIJT9GerBkaeA3ginJUzUynoQqi7pfLjZHOGwMuNDqT/lgWEaDF6YxQx8CqMzo AJxRS1x24MyW45k9meUFQtqFCPDbltxi7GwG9dw6Haifwzw04FgVDv2/x+cYeLPF3b ADGPe16ctydxuQ1QAMRK4jJUZ05BDiLsj0mZ7kJo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53361: af_unix: Set gc_in_progress to true in unix_gc(). Date: Sat, 4 Jul 2026 13:55:37 +0200 Message-ID: <2026070436-CVE-2026-53361-f969@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=3422; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ug6ovcMf/GzdW2Kx4o4CMT8sBzJv9/fzqLj2Oe1b1Tc=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkeX3Z8bl3exXPt0PVPPVpp19ICT3d5Ld4VyMD1Os3w5 oySV6tlO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAibh8Y5vsq/96yk29Ksz9P ftTfVC/vvVnfvjPM4Zl2OXtjzpLjuzzFP04SlUsV1n58CAA= 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: af_unix: Set gc_in_progress to true in unix_gc(). Igor Ushakov reported that unix_gc() could run with gc_in_progress being false if the work is scheduled while running: Thread 1 Thread 2 Thread 3 -------- -------- -------- unix_schedule_gc() unix_schedule_gc() `- if (!gc_in_progress) `- if (!gc_in_progress) |- gc_in_progress = true | `- queue_work() | unix_gc() <----------------/ | | |- gc_in_progress = true ... `- queue_work() | | `- gc_in_progress = false | | unix_gc() <---------------------------------------------' | ... /* gc_in_progress == false */ | `- gc_in_progress = false unix_peek_fpl() relies on gc_in_progress not to confuse GC by MSG_PEEK. Let's set gc_in_progress to true in unix_gc(). The Linux kernel CVE team has assigned CVE-2026-53361 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6.93 with commit 328840c93bd6a4871dd10908d01b41eab83eb8e2 and fixed in 6.6.144 with commit 82c17e13d404f686e164590483fd6c1abaa675d0 Issue introduced in 6.9 with commit 8b90a9f819dc2a06baae4ec1a64d875e53b824ec and fixed in 6.12.95 with commit 591f1ac217428a6d2b32a8ac14aac0fab44f155a Issue introduced in 6.9 with commit 8b90a9f819dc2a06baae4ec1a64d875e53b824ec and fixed in 6.18.38 with commit 0cfa78c050662784fc8e3ab26dbfd1dc632b2082 Issue introduced in 6.9 with commit 8b90a9f819dc2a06baae4ec1a64d875e53b824ec and fixed in 7.1 with commit d82ba05263c69fa2437fe93e4e561cc40f4c03af Issue introduced in 6.1.141 with commit ceb8bd6c69c1680fd9b45e7f16d7170c9c7513a5 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-53361 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/unix/garbage.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/82c17e13d404f686e164590483fd6c1abaa675d0 https://git.kernel.org/stable/c/591f1ac217428a6d2b32a8ac14aac0fab44f155a https://git.kernel.org/stable/c/0cfa78c050662784fc8e3ab26dbfd1dc632b2082 https://git.kernel.org/stable/c/d82ba05263c69fa2437fe93e4e561cc40f4c03af