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 138543C10A6 for ; Wed, 26 Aug 2026 14:38:01 +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=1787755083; cv=none; b=QTc1xtewQAQnpZkOmi1LR8QawgiRAJE/HU9drH4vgg7td/0jhWMN/n9pHZoNFfi86OMxn9TL4U6DRRfA+SB8gfLacHJ3TKc4k6qokT6yZhawci5hVQcEZ/OdBLPrmjpTvzDTmHXQcp5iwMARg8IjbcYRRLmKc7QnOhj1FpNCUEA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787755083; c=relaxed/simple; bh=iahvOgxgepgytPz6yVrvG5K4EabMAEqK8IBheCs9RjU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=O4L43fl5VUQ7mAxis+SQBZJJh0pZYah3NdcQgJhMLdxP9Y3VnTbDOKMZ1g10tiCwoQorE28WhwAb7fuA9VVBMyYsNjPpZM+MkZzoJfm9PAUSnbFFIulm+OiRsALzqvcn3zIutVTH3U6ojaZjVY5qyUyX3so/VRdWXSSXEpxPJhc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=fmjwHKZE; 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="fmjwHKZE" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 29F291F000E9; Wed, 26 Aug 2026 14:38:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1787755081; bh=AW5TQ4mxGHZrFl6sSogoJvhqM0XqdXQrWup8heTcjhU=; h=From:To:Cc:Subject:Date:Reply-To; b=fmjwHKZERQ/IKMX4N7I35Fp6argvSTsoVC+lv7ZNU2UPNyDhWxANttQsm3gPJ8yee 5RBJrqKDy448DmIxirZ0w1rVaYgGwdTDmV09FeLmVw2PzCpxMXZDTdCiQYVn0qKBV1 kydFofZmw0nG6jp+ZomT3O44pfyfB/Dh9PXJ/1YU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80519: ovpn: finish crypto callback cleanup before peer release Date: Wed, 26 Aug 2026 16:37:15 +0200 Message-ID: <2026082600-CVE-2026-80519-45ff@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=2695; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=a2BzPjG3afSERer3l8TfHcs46Ou6wwJVZv261+A2Chg=; b=owGbwMvMwCRo6H6F97bub03G02pJDFl9v3i+yxVe3RG7aX7W+t9/OT39T4dtd0yaNmmvwZkDT 7oje0z+dMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEDh1gWHBJ+Mk2mc01jsv2 TH7SqRx2TuVjlhPDfL8LVa8eXOue47v4wpWLb/7MPXrfUxkA 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: ovpn: finish crypto callback cleanup before peer release Crypto completion callbacks hold both key-slot and peer references. The peer reference pins the netdev, and dropping the last peer reference can let netdev unregistration and module removal make progress. Do not release that peer reference before the callback has finished its own cleanup. If ovpn_crypto_key_slot_put runs after ovpn_peer_put, it can schedule an RCU callback backed by module text after ovpn_cleanup rcu_barrier has already run. The TX error path also freed the remaining skb after ovpn_peer_put, leaving callback cleanup outside the peer/netdev lifetime window. Release the key slot and free any remaining skb first, then drop the peer reference as the last callback action. The Linux kernel CVE team has assigned CVE-2026-80519 to this issue. Affected and fixed versions =========================== Issue introduced in 6.16 with commit 8534731dbf2d52a539b94defd06d2a8d3514aacb and fixed in 6.18.46 with commit a3a676495c6419e0cca04d6a67227604e92a3d5a Issue introduced in 6.16 with commit 8534731dbf2d52a539b94defd06d2a8d3514aacb and fixed in 7.1.10 with commit 4b0de8be288f5fbec5d8ee64ed4e8b14bf19b517 Issue introduced in 6.16 with commit 8534731dbf2d52a539b94defd06d2a8d3514aacb and fixed in 7.2 with commit 9e163917a86c6adfbe150e13f4c73653a54616de 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-80519 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: drivers/net/ovpn/io.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/a3a676495c6419e0cca04d6a67227604e92a3d5a https://git.kernel.org/stable/c/4b0de8be288f5fbec5d8ee64ed4e8b14bf19b517 https://git.kernel.org/stable/c/9e163917a86c6adfbe150e13f4c73653a54616de