# CVE-2026-23192: linkwatch: use \_\_dev\_put() in callers to prevent UAF

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.23% (percentile 8, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2026-02-14T16:27:19.557Z
- **Modified:** 2026-08-05T12:20:34.811Z

## Who should check

- Anyone running Linux \>= 04efcee6ef8d0f01eef495db047e7216d6e6e38f, \< 2718ae6af7445ba2ee0abf6365ca43a9a3b16aeb; \>= 04efcee6ef8d0f01eef495db047e7216d6e6e38f, \< 83b67cc9be9223183caf91826d9c194d7fb128fa
- Anyone running Linux 6.15

## Description

In the Linux kernel, the following vulnerability has been resolved:

linkwatch: use \_\_dev\_put() in callers to prevent UAF

After linkwatch\_do\_dev() calls \_\_dev\_put() to release the linkwatch
reference, the device refcount may drop to 1. At this point,
netdev\_run\_todo() can proceed (since linkwatch\_sync\_dev() sees an
empty list and returns without blocking), wait for the refcount to
become 1 via netdev\_wait\_allrefs\_any(), and then free the device
via kobject\_put().

This creates a use-after-free when \_\_linkwatch\_run\_queue() tries to
call netdev\_unlock\_ops() on the already-freed device.

Note that adding netdev\_lock\_ops()/netdev\_unlock\_ops() pair in
netdev\_run\_todo() before kobject\_put() would not work, because
netdev\_lock\_ops() is conditional - it only locks when
netdev\_need\_ops\_lock() returns true. If the device doesn't require
ops\_lock, linkwatch won't hold any lock, and netdev\_run\_todo()
acquiring the lock won't provide synchronization.

Fix this by moving \_\_dev\_put() from linkwatch\_do\_dev() to its
callers. The device reference logically pairs with de-listing the
device, so it's reasonable for the caller that did the de-listing
to release it. This allows placing \_\_dev\_put() after all device
accesses are complete, preventing UAF.

The bug can be reproduced by adding mdelay(2000) after
linkwatch\_do\_dev() in \_\_linkwatch\_run\_queue(), then running:

  ip tuntap add mode tun name tun\_test
  ip link set tun\_test up
  ip link set tun\_test carrier off
  ip link set tun\_test carrier on
  sleep 0.5
  ip tuntap del mode tun name tun\_test

KASAN report:

 ==================================================================
 BUG: KASAN: use-after-free in netdev\_need\_ops\_lock include/net/netdev\_lock.h:33 \[inline\]
 BUG: KASAN: use-after-free in netdev\_unlock\_ops include/net/netdev\_lock.h:47 \[inline\]
 BUG: KASAN: use-after-free in \_\_linkwatch\_run\_queue+0x865/0x8a0 net/core/link\_watch.c:245
 Read of size 8 at addr ffff88804de5c008 by task kworker/u32:10/8123

 CPU: 0 UID: 0 PID: 8123 Comm: kworker/u32:10 Not tainted syzkaller \#0 PREEMPT(full)
 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
 Workqueue: events\_unbound linkwatch\_event
 Call Trace:
  \<TASK\>
  \_\_dump\_stack lib/dump\_stack.c:94 \[inline\]
  dump\_stack\_lvl+0x100/0x190 lib/dump\_stack.c:120
  print\_address\_description mm/kasan/report.c:378 \[inline\]
  print\_report+0x156/0x4c9 mm/kasan/report.c:482
  kasan\_report+0xdf/0x1a0 mm/kasan/report.c:595
  netdev\_need\_ops\_lock include/net/netdev\_lock.h:33 \[inline\]
  netdev\_unlock\_ops include/net/netdev\_lock.h:47 \[inline\]
  \_\_linkwatch\_run\_queue+0x865/0x8a0 net/core/link\_watch.c:245
  linkwatch\_event+0x8f/0xc0 net/core/link\_watch.c:304
  process\_one\_work+0x9c2/0x1840 kernel/workqueue.c:3257
  process\_scheduled\_works kernel/workqueue.c:3340 \[inline\]
  worker\_thread+0x5da/0xe40 kernel/workqueue.c:3421
  kthread+0x3b3/0x730 kernel/kthread.c:463
  ret\_from\_fork+0x754/0xaf0 arch/x86/kernel/process.c:158
  ret\_from\_fork\_asm+0x1a/0x30 arch/x86/entry/entry\_64.S:246
  \</TASK\>
 ==================================================================

## Affected and fixed versions

- Linux: \>= 04efcee6ef8d0f01eef495db047e7216d6e6e38f, \< 2718ae6af7445ba2ee0abf6365ca43a9a3b16aeb; \>= 04efcee6ef8d0f01eef495db047e7216d6e6e38f, \< 83b67cc9be9223183caf91826d9c194d7fb128fa (cvelist)
- Linux: 6.15 (cvelist)

## Mitigation

- Upgrade Linux to 83b67cc9be9223183caf91826d9c194d7fb128fa or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-23192. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-23192.md
Affected: Linux >= 04efcee6ef8d0f01eef495db047e7216d6e6e38f, < 2718ae6af7445ba2ee0abf6365ca43a9a3b16aeb; >= 04efcee6ef8d0f01eef495db047e7216d6e6e38f, < 83b67cc9be9223183caf91826d9c194d7fb128fa; Linux 6.15
Fixed in: Linux 2718ae6af7445ba2ee0abf6365ca43a9a3b16aeb, Linux 83b67cc9be9223183caf91826d9c194d7fb128fa

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-23192 being exploited?

There is no confirmed exploitation: CVE-2026-23192 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-23192?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-23192?

Linux \>= 04efcee6ef8d0f01eef495db047e7216d6e6e38f, \< 2718ae6af7445ba2ee0abf6365ca43a9a3b16aeb; \>= 04efcee6ef8d0f01eef495db047e7216d6e6e38f, \< 83b67cc9be9223183caf91826d9c194d7fb128fa; Linux 6.15.

### Is there a fix for CVE-2026-23192?

Yes. Fixed in Linux 2718ae6af7445ba2ee0abf6365ca43a9a3b16aeb, Linux 83b67cc9be9223183caf91826d9c194d7fb128fa. Upgrade Linux to 83b67cc9be9223183caf91826d9c194d7fb128fa or later.

### How do I check if I'm affected by CVE-2026-23192?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/2718ae6af7445ba2ee0abf6365ca43a9a3b16aeb>
- patch: <https://git.kernel.org/stable/c/83b67cc9be9223183caf91826d9c194d7fb128fa>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-23192>

HTML: <https://flawdb.com/CVE-2026-23192> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-23192>
