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 0D9C4376A03 for ; Sat, 15 Aug 2026 06:26: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=1786775203; cv=none; b=ZjDp0U6qMjVRkzAlBK71ppKjfzcYfvg2CfLFA7Jg+tE1JO9KqE/dJszXHJvTktK6LhRvR62zYijrJGG5aCHBm7/2L4yop8fY40einmQLkQ5nmwWFepQTAOBTOItYJxSg1xh6Be+83qDdpjOqaA0YZH8A0I+1Uec+P9QPh6tH91s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775203; c=relaxed/simple; bh=N2MZaBDDwtcTd4COJT/fgyOLAc6/RlzOdXWBPhCUpbs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=VeLHvDaw+81FGzqbNbYKwj5a3NBf211tW//hrooV18Bv82fEaY8but5jWUoYXoYf5kf8+Mdi/E/ZLMV/hqH/+GB4pdwp8SQV7S0YVjNfJ7bGdSugEAt30GZrtb0Q7Lp6NMs2FE1/YtAaMOqaUuCNfNiaxPOOPQfyjjqcBsTe7hk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ZsQR62px; 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="ZsQR62px" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 618911F000E9; Sat, 15 Aug 2026 06:26:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786775201; bh=yYeUeObIsHIBH0iISJgvqpPyo9Ko8x+BcVpF2i87hxI=; h=From:To:Cc:Subject:Date:Reply-To; b=ZsQR62pxFW4GKy7W0g1Gi+Jj9npdTmjBXS8NWEaKsBMtRjoQJp1YS11wz9ME0lYBG MOzqcLgs1WX0IC1D4deTwhEEZBGA9Xbyma+NBu4wsRryUA2VaYQbDFRb2J03mFUJit A6alkEXG+s05jIPBX6xebcx/aaT9hKfXqlZab78w= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72405: net: udp_tunnel: prevent double queueing in udp_tunnel_nic_device_sync Date: Sat, 15 Aug 2026 15:08:04 +0900 Message-ID: <2026081522-CVE-2026-72405-5a5c@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=2945; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=0K5iAp5xbsKdnkOlZCY/kkeCCtksgbQ3omhjSnRYV8w=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDO907pp3zw/6e8//Qph9gGDNjkVCid03tmmekbr6s 3qnI19wRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExkIR/DPKPoz3M53fYL7vcR PnH1jUJxXWV2GMP8ks16GlMP5J+VX7zn+jsG0SX22aujAA== 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: udp_tunnel: prevent double queueing in udp_tunnel_nic_device_sync Yue Sun reported a use-after-free and debugobjects warning in udp_tunnel_nic_device_sync_work() during concurrent device operations. The workqueue core clears the internal pending bit before invoking the worker. At that point, a concurrent thread can queue the work again. When the already running worker eventually clears the work_pending flag to 0, it mistakenly clears the flag for the newly queued instance. udp_tunnel_nic_unregister() then observes work_pending as 0 and frees the structure while the second work item is still active in the queue, leading to UAF. Fix this by returning early in udp_tunnel_nic_device_sync() if work_pending is already set, preventing redundant work queueing. The Linux kernel CVE team has assigned CVE-2026-72405 to this issue. Affected and fixed versions =========================== Issue introduced in 5.9 with commit cc4e3835eff474aa274d6e1d18f69d9d296d3b76 and fixed in 6.12.97 with commit cee6688e5731c0591643521716d1a1a5c1a98bf8 Issue introduced in 5.9 with commit cc4e3835eff474aa274d6e1d18f69d9d296d3b76 and fixed in 6.18.40 with commit 9075efb9b2c1d9d7a8285c937b64aa93ca0c41b7 Issue introduced in 5.9 with commit cc4e3835eff474aa274d6e1d18f69d9d296d3b76 and fixed in 7.1.5 with commit 54292b167466cdf42176b7b6f01da66c184deb12 Issue introduced in 5.9 with commit cc4e3835eff474aa274d6e1d18f69d9d296d3b76 and fixed in 7.2-rc1 with commit ecf69d4b43370c587e48d4d70289dbdb7e039d4d 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-72405 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/ipv4/udp_tunnel_nic.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/cee6688e5731c0591643521716d1a1a5c1a98bf8 https://git.kernel.org/stable/c/9075efb9b2c1d9d7a8285c937b64aa93ca0c41b7 https://git.kernel.org/stable/c/54292b167466cdf42176b7b6f01da66c184deb12 https://git.kernel.org/stable/c/ecf69d4b43370c587e48d4d70289dbdb7e039d4d