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 6A6BB3C9438 for ; Mon, 10 Aug 2026 12:03:02 +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=1786363384; cv=none; b=iNsD/3/nbEKjzel1yl7orIicarF1pAAHJWQgZ/OtuTU79966iChGuWRmCdC52ZGbOkrapKJa4lhOZbpQrNSyxy39cT1GwWO6SbocCSUI4APqwZxXnNMCVHwiKOCjDjEJO575O5jra9YTi4JXWdMTsvBv91wxKTv+WaCXeLlf5eE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786363384; c=relaxed/simple; bh=BIEYpw9tLZTc3K9U+mRo1GYHIxJOCECwU/UGYsmsO5Q=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=VCiiZsCsQafL1xCgBVdAedn8jdNzfW8YUzSfuIgLBUIDlMyGkEXV0ryZhGeWDGlb+A80ajQYXaGoYYOPD+Gjs+iz+I53AYQz8FaUjDQ+kYaCFndefBkpWz71l9pz83xoln+K+k1TpxAURxSCjEvBy+Ke8g2cssWEyksf20ePfsA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=X4jl3nYS; 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="X4jl3nYS" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8849F1F000E9; Mon, 10 Aug 2026 12:03:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786363382; bh=jfiLYPdymJUuApREUOZwycdWQcLJtagbVSz5yJ8FjFc=; h=From:To:Cc:Subject:Date:Reply-To; b=X4jl3nYSa0LTZdH47txoeFRr4l2lFuTTGdcFcRvvscQj2JUGN3XyFCNzlRMpHOSNt BbtA42bZwi2/xvoc2LK1LgumrABNxeiW0zuJP13Aup6DM3jchJKBqimGbvq5hEK9h5 ENOjBHfQnydpO79+f/iK1oCVLswYi4mEzh26zf/w= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-68140: net/iucv: fix use-after-free of a severed iucv_path Date: Mon, 10 Aug 2026 13:57:37 +0200 Message-ID: <2026081059-CVE-2026-68140-f4e1@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=3084; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=R07wyzzEWgk0tsqWwQBIxWJukDqKZ22gCPJW2JNCoPg=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmVe3oCVQRuns6TZrSccFXiUWzSqrss1jdWq6y82H4u/ NdXuxlzO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAip7MY5led3TppdcSTH1Pe zXFgL/n9+Vj3k7UM85OKX7O9ed7Dpv1HkqW3P6L1RkaVBQA= 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: fix use-after-free of a severed iucv_path af_iucv queues not-yet-received message notifications on iucv->message_q, each holding a raw pointer to the connection's iucv_path. When the peer severs the connection, iucv_sever_path() frees that path with iucv_path_free() but leaves the notifications queued. A later recvmsg() drains message_q via iucv_process_message_q() and hands the stale path to message_receive() -- a use-after-free of the freed iucv_path. Drop the queued notifications when the path is severed; once the path is gone they can no longer be received. This also frees the notifications leaked when a socket is closed with messages still queued. The Linux kernel CVE team has assigned CVE-2026-68140 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.24 with commit f0703c80e5156406ad947cb67fe277725b48080f and fixed in 6.6.148 with commit 23658b350b4107e8292045c2044983fd426fa15d Issue introduced in 2.6.24 with commit f0703c80e5156406ad947cb67fe277725b48080f and fixed in 6.12.101 with commit a5bbaddf69853117f28173c3f5c8fc14c6b2ec82 Issue introduced in 2.6.24 with commit f0703c80e5156406ad947cb67fe277725b48080f and fixed in 6.18.42 with commit 900cd6d8119b7f3ae5c4bf82f922ff5957df43db Issue introduced in 2.6.24 with commit f0703c80e5156406ad947cb67fe277725b48080f and fixed in 7.1.6 with commit f579582c03ed526281a8450159baf1d35099a85f Issue introduced in 2.6.24 with commit f0703c80e5156406ad947cb67fe277725b48080f and fixed in 7.2-rc5 with commit be7cc4656eb1f54029610e82d1f0fdd3f9b5ec0a 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-68140 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/23658b350b4107e8292045c2044983fd426fa15d https://git.kernel.org/stable/c/a5bbaddf69853117f28173c3f5c8fc14c6b2ec82 https://git.kernel.org/stable/c/900cd6d8119b7f3ae5c4bf82f922ff5957df43db https://git.kernel.org/stable/c/f579582c03ed526281a8450159baf1d35099a85f https://git.kernel.org/stable/c/be7cc4656eb1f54029610e82d1f0fdd3f9b5ec0a