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 875D737F32B for ; Sat, 15 Aug 2026 06:31:56 +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=1786775517; cv=none; b=gEcvTguVPJI47nAO7ROXRH7g55oveB87AOk94077FY1hO5HHm0O0g9scna23KmteUezjdP4j+wnIyqjtYoFuha3rJgt2ce1PzIjgyNp/b9BFGo5+Mlm1nIcLPchXYC8N1zFDQW6xjq5pkKgayFtLQsowN53DJid12l6S181/vrU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775517; c=relaxed/simple; bh=j4GL/IHfC378viY8kLHoQXJZ0XSU33p+3uNBxhM0Nlk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=nqtFNLD0FVVogglz3qDI76hw2foidezaSiapjyNWM05G3AwgXv7pGZbDtMwVEwC4z05HNr97j5drHKLMlSzuPGpvAKmRtp20m52FMaK1qzJ7PkRG+Y+aE+e5ppe4oBmDzjdyll6zo0oJoxbZrl98ZnkmUl1bRMoLPDd2uEx1mgg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=bbA6nb0/; 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="bbA6nb0/" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D952C1F000E9; Sat, 15 Aug 2026 06:31:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786775516; bh=z25axaf6tgL9ZtSpG2OLu3hsg22VfvFb2cVKjJ6Csdw=; h=From:To:Cc:Subject:Date:Reply-To; b=bbA6nb0/WP3EZvT1H1CKm4NrWP6vRzpNm3XToouZT7WDX1aFILN8h9YWVwwsJ/Zkc Ug0lQM6aUlu3pyE07iO6gjSdaDaI65fktAqUeGuVeWMHJmunT7Z43QrlXq25P2AiRw LEjxWpYgtDOqnXmbqOKQ2/VZB1r3PoFlh/SJdgHw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-74264: net: watchdog: fix refcount tracking races Date: Sat, 15 Aug 2026 15:09:51 +0900 Message-ID: <2026081543-CVE-2026-74264-e6bb@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=4913; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=3f2oW9ps0PeEJBf6XgACkwA1e6FpqOjlDZNpknzEvOM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNjMwyyodmKG4x+nzNv5Np64ojZ39L3n1kc9kw+qx0x wNNQXuNjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIvkCGBWflTiS+8ba568F0 NMZ//T7NY/re/Azz8zR/vn9nF7CA543oJ/Gsj+6Wq3wtAQ== 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: watchdog: fix refcount tracking races Blamed commit converted the untracked dev_hold()/dev_put() calls in the watchdog code to use the tracked dev_hold_track()/dev_put_track() (which were later renamed/interfaced to netdev_hold() and netdev_put()). By introducing dev->watchdog_dev_tracker to store the reference tracking information without adding synchronization between netdev_watchdog_up() and dev_watchdog(), it enabled the race condition where this pointer could be overwritten or freed concurrently, leading to the list corruption crash syzbot reported: list_del corruption, ffff888114a18c00->next is NULL kernel BUG at lib/list_debug.c:52 ! Oops: invalid opcode: 0000 [#1] SMP KASAN PTI CPU: 1 UID: 0 PID: 91 Comm: kworker/u8:5 Not tainted syzkaller #0 PREEMPT(lazy) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026 Workqueue: events_unbound linkwatch_event RIP: 0010:__list_del_entry_valid_or_report.cold+0x22/0x2a lib/list_debug.c:52 Call Trace: __list_del_entry_valid include/linux/list.h:132 [inline] __list_del_entry include/linux/list.h:246 [inline] list_move_tail include/linux/list.h:341 [inline] ref_tracker_free+0x1a7/0x6c0 lib/ref_tracker.c:329 netdev_tracker_free include/linux/netdevice.h:4491 [inline] netdev_put include/linux/netdevice.h:4508 [inline] netdev_put include/linux/netdevice.h:4504 [inline] netdev_watchdog_down net/sched/sch_generic.c:600 [inline] dev_deactivate_many+0x28c/0xfe0 net/sched/sch_generic.c:1363 dev_deactivate+0x109/0x1d0 net/sched/sch_generic.c:1397 linkwatch_do_dev net/core/link_watch.c:184 [inline] linkwatch_do_dev+0xd3/0x120 net/core/link_watch.c:166 __linkwatch_run_queue+0x3a5/0x810 net/core/link_watch.c:240 linkwatch_event+0x8f/0xc0 net/core/link_watch.c:314 process_one_work+0xa0e/0x1980 kernel/workqueue.c:3314 process_scheduled_works kernel/workqueue.c:3397 [inline] worker_thread+0x5ef/0xe50 kernel/workqueue.c:3478 kthread+0x370/0x450 kernel/kthread.c:436 ret_from_fork+0x69a/0xc80 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 This patch has three coordinated parts: 1) Add dev->watchdog_lock and dev->watchdog_ref_held to serialize watchdog operations. 2) Remove netdev_watchdog_up() call from netif_carrier_on(): This ensures netdev_watchdog_up() is only called from process/BH context (via linkwatch workqueue dev_activate()), allowing us to use spin_lock_bh() for synchronization. 3) Synchronize watchdog up and watchdog timer: Protect netdev_watchdog_up() with tx_global_lock and watchdog_lock. Only allocate a new tracker in netdev_watchdog_up() if one is not already present. In dev_watchdog(), ensure we don't release the tracker if the timer was rescheduled either by dev_watchdog() itself or concurrently by netdev_watchdog_up(). The Linux kernel CVE team has assigned CVE-2026-74264 to this issue. Affected and fixed versions =========================== Issue introduced in 5.17 with commit f12bf6f3f942b37de65eeea8be25903587fec930 and fixed in 6.18.40 with commit 446fe8ce699ce0a4d702f7b0fcdb50de340b9260 Issue introduced in 5.17 with commit f12bf6f3f942b37de65eeea8be25903587fec930 and fixed in 7.1.5 with commit 7ce2b00ff058ec4cafc9b447e1f0a6d6f49275d9 Issue introduced in 5.17 with commit f12bf6f3f942b37de65eeea8be25903587fec930 and fixed in 7.2-rc1 with commit 8eed5519e496b7a07f441a0f579cb228a33189f7 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-74264 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: include/linux/netdevice.h net/core/dev.c net/sched/sch_generic.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/446fe8ce699ce0a4d702f7b0fcdb50de340b9260 https://git.kernel.org/stable/c/7ce2b00ff058ec4cafc9b447e1f0a6d6f49275d9 https://git.kernel.org/stable/c/8eed5519e496b7a07f441a0f579cb228a33189f7