From mboxrd@z Thu Jan 1 00:00:00 1970 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 87B123D669B for ; Mon, 10 Aug 2026 12:14:42 +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=1786364083; cv=none; b=oP8DXgQxi/NWGANLbcxoNh5g+dLo6t7gSmZ+tJ6NyrFAD7gmqJRCdvzAKBXBHrAYRs92b3eTKoGzicHgJYPNqqg8cO+dHne7SkMYDtXnJJ1+YB/YgZpP3hCa/X+wh0LwHRU9h5uWj14QIE9NzGP/e7j8UZ18Pml7FnuI9VuB7h4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786364083; c=relaxed/simple; bh=NNfQG3MQqWL8JHWtjUKk7Gj6W1gEDFS17ILNWCDC1N0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=U7awuqb4FEwltfult3rcG4YIBklFYxtSWAY/VsRPsTG97mDm1AIgpOqHB5nCzoRXi1/prFzNDWP/rO9kniupb13TxgdwepjZA0SNsDiZWwumH64IoJrvmvvN26BpXEJbKJpNfqJSt19HIlGSt6vDB17pUy5yO3QH8uPu0cbsWJk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=LO07H8yJ; 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="LO07H8yJ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 011081F000E9; Mon, 10 Aug 2026 12:14:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786364082; bh=xBvArh9eSuoiu1zf6CkarV2CRJajrPLQ27lHgZpS2Cc=; h=From:To:Cc:Subject:Date:Reply-To; b=LO07H8yJKQ5Va8LX3lWB9nzDTEMnXDamjQyIz3hYlM79GKiJlxLFGu2noMquZjmyV lK9C7ydUccjINOd8YNAXWMAcrXmMRMDm8NqHwLZ3SWgJsYaZzRznt6/R9stFanfKQm rX4Uw2nVyIor/XDhrpi+EiupfwqB6oIoSRkNwOxc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-68397: net/iucv: take a reference on the socket found in afiucv_hs_rcv() Date: Mon, 10 Aug 2026 14:01:54 +0200 Message-ID: <2026081047-CVE-2026-68397-3de9@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=3070; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=k5ylnwLZQLhy86F27bJgJQwvNK5KtB9qVj/2581nuX8=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmVe3bbde2LsLSwd2e71Kjfv3NtlNd3jxhLeSXmJIe2f YmXLZk7YlkYBJkYZMUUWb5s4zm6v+KQopeh7WmYOaxMIEMYuDgFYCL/yhjm5813CT07da/z/3WP VxcXsIZZuAQ4Myxom65z8ZNk58N8wTcH+XtTyuczJLIAAA== 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/iucv: take a reference on the socket found in afiucv_hs_rcv() afiucv_hs_rcv() looks up the destination socket under iucv_sk_list.lock, drops the lock, and then passes the socket to the afiucv_hs_callback_*() handlers without holding a reference. AF_IUCV sockets are not RCU-protected and are freed synchronously by iucv_sock_kill() -> sock_put(), so a concurrent close can free the socket in the window between read_unlock() and the handler, which then dereferences freed memory (for example sk->sk_data_ready() in afiucv_hs_callback_syn()). Take a reference with sock_hold() while the socket is still on the list and release it with sock_put() once the handler has run. The Linux kernel CVE team has assigned CVE-2026-68397 to this issue. Affected and fixed versions =========================== Issue introduced in 3.2 with commit 3881ac441f642d56503818123446f7298442236b and fixed in 6.6.148 with commit 4dc0e63abf8bc7ba8892e617c1fb8b204361e022 Issue introduced in 3.2 with commit 3881ac441f642d56503818123446f7298442236b and fixed in 6.12.101 with commit 1801cb20a5025a787d6853e19c38db138344b4b4 Issue introduced in 3.2 with commit 3881ac441f642d56503818123446f7298442236b and fixed in 6.18.42 with commit c75a950e77356e526672cba4584080c6c8b793b6 Issue introduced in 3.2 with commit 3881ac441f642d56503818123446f7298442236b and fixed in 7.1.6 with commit 5595ea59cdf29182cf6a270cacc1426c57b603de Issue introduced in 3.2 with commit 3881ac441f642d56503818123446f7298442236b and fixed in 7.2-rc4 with commit 4fa349156043dc119721d067329714179f501749 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-68397 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/iucv/af_iucv.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/4dc0e63abf8bc7ba8892e617c1fb8b204361e022 https://git.kernel.org/stable/c/1801cb20a5025a787d6853e19c38db138344b4b4 https://git.kernel.org/stable/c/c75a950e77356e526672cba4584080c6c8b793b6 https://git.kernel.org/stable/c/5595ea59cdf29182cf6a270cacc1426c57b603de https://git.kernel.org/stable/c/4fa349156043dc119721d067329714179f501749