CVE-2026-74677
net: usb: ipheth: fix carrier_work UAF on disconnect
Check your servers for CVE-2026-74677
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-74677 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
net: usb: ipheth: fix carrier_work UAF on disconnect
ipheth_sndbulk_callback() re-arms the carrier-check work on any non-zero URB status:
else schedule_delayed_work(&dev->carrier_work, 0);
Nothing ties that to the interface being up, so the work can be armed again after ipheth_close() has already drained it, and stay armed until the netdev whose private area embeds it is freed.
On unplug with a TX URB in flight, ipheth_disconnect() drains the work through unregister_netdev() -> ipheth_close() -> cancel_delayed_work_sync() and only then calls ipheth_kill_urbs(). usb_kill_urb() completes the in-flight TX URB with -ENOENT, so ipheth_sndbulk_callback() runs after the drain and re-arms carrier_work.
The same completion also re-arms the work if the interface is only brought down while a TX URB is in flight, and ipheth_carrier_check_work() then keeps re-queueing itself once a second. unregister_netdev() does not call ipheth_close() for an already-down interface, so nothing drains it on the later unplug either.
In both cases free_netdev() frees the netdev while carrier_work is still pending, and ipheth_carrier_check_work() dereferences freed memory.
Tie the work to the interface state instead of chasing the completion: disable it in ipheth_close() and enable it in ipheth_open(), so a schedule_delayed_work() from the URB completion is a no-op whenever the interface is not up. disable_delayed_work_sync() also waits for a running instance, so it fully replaces the cancel_delayed_work_sync() it takes the place of. The work starts out disabled in ipheth_probe() so the enable/disable counts balance from the first open.
Reproduced under KASAN on linux-next (next-20260731) with dummy_hcd and raw-gadget standing in for the device, driving the second path above (the interface is already down, so unregister_netdev() does not call ipheth_close()): 15 of 15 unpatched boots report a slab-use-after-free in __run_timers(), freed by ipheth_disconnect() and re-armed from ipheth_sndbulk_callback() via queue_delayed_work_on(). The same trigger on a kernel differing only by this patch reports 0 of 15, and the carrier check still functions across open/close cycles.
The reproducer needs an attached USB device that stops draining bulk OUT, plus a link down and unplug, driven as root. It is not a privilege boundary crossing and no exploit primitive was developed.
Found by 0sec (https://0sec.ai).
Exploitation
EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.37% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from bb1b40c7cb863f0800a6410c7dcb86cf3f28d3b1, before d07133fe1befae9a1e4c4c5e46ef0b73d2992020 affected from bb1b40c7cb863f0800a6410c7dcb86cf3f28d3b1, before 2c7496124e94c7f9c3daa5c5b1fb563ca9d62c45 affected from bb1b40c7cb863f0800a6410c7dcb86cf3f28d3b1, before 48303f3ae0fa6e102f3fc7dbf1688cc179131962 affected from bb1b40c7cb863f0800a6410c7dcb86cf3f28d3b1, before fde39b8a521780391fb4e5bda2c0aa4928947f12 affected 4f2df9fd07698bece3321fbf9e4b6dbcb9babccc affected ea7d6be58c2e6c1f426b48994bb22b2393c90963 affected f5bca75dc46701f4c0d1dcbaae401233ae7ff06b affected from 4.4.180, before 4.5 affected from 4.9.173, before 4.10 affected from 4.14.116, before 4.15
Other versions: unaffected
|
| Linux |
affected 4.15 unaffected before 4.15 unaffected from 6.12.104 up to and including 6.12.* unaffected from 6.18.45 up to and including 6.18.* unaffected from 7.1.9 up to and including 7.1.* unaffected 7.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-74677 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-74677
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-74677
trivy image --scanners vuln IMAGE | grep CVE-2026-74677
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/d07133fe1befae9a1e4c4c5e46ef0b73d2992020 git.kernel.org
- https://git.kernel.org/stable/c/2c7496124e94c7f9c3daa5c5b1fb563ca9d62c45 git.kernel.org
- https://git.kernel.org/stable/c/48303f3ae0fa6e102f3fc7dbf1688cc179131962 git.kernel.org
- https://git.kernel.org/stable/c/fde39b8a521780391fb4e5bda2c0aa4928947f12 git.kernel.org
Source: the record CVE-2026-74677 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse