CVE-2026-74677 (GCVE-0-2026-74677)
Vulnerability from cvelistv5 – Published: 2026-08-22 15:32 – Updated: 2026-08-22 15:32
VLAI
EPSS
VEX
Title
net: usb: ipheth: fix carrier_work UAF on disconnect
Summary
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).
Severity
No CVSS data available.
Assigner
References
Impacted products
2 products
| Vendor | Product | Version | CPE status | |
|---|---|---|---|---|
| Linux | Linux |
Affected:
bb1b40c7cb863f0800a6410c7dcb86cf3f28d3b1 , < d07133fe1befae9a1e4c4c5e46ef0b73d2992020
(git)
Affected: bb1b40c7cb863f0800a6410c7dcb86cf3f28d3b1 , < 2c7496124e94c7f9c3daa5c5b1fb563ca9d62c45 (git) Affected: bb1b40c7cb863f0800a6410c7dcb86cf3f28d3b1 , < 48303f3ae0fa6e102f3fc7dbf1688cc179131962 (git) Affected: bb1b40c7cb863f0800a6410c7dcb86cf3f28d3b1 , < fde39b8a521780391fb4e5bda2c0aa4928947f12 (git) Affected: 4f2df9fd07698bece3321fbf9e4b6dbcb9babccc (git) Affected: ea7d6be58c2e6c1f426b48994bb22b2393c90963 (git) Affected: f5bca75dc46701f4c0d1dcbaae401233ae7ff06b (git) Affected: 4.4.180 , < 4.5 (semver) Affected: 4.9.173 , < 4.10 (semver) Affected: 4.14.116 , < 4.15 (semver) |
guessed | |
| Linux | Linux |
Affected:
4.15
Unaffected: 0 , < 4.15 (semver) Unaffected: 6.12.104 , ≤ 6.12.* (semver) Unaffected: 6.18.45 , ≤ 6.18.* (semver) Unaffected: 7.1.9 , ≤ 7.1.* (semver) Unaffected: 7.2 , ≤ * (original_commit_for_fix) |
guessed |
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/net/usb/ipheth.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "d07133fe1befae9a1e4c4c5e46ef0b73d2992020",
"status": "affected",
"version": "bb1b40c7cb863f0800a6410c7dcb86cf3f28d3b1",
"versionType": "git"
},
{
"lessThan": "2c7496124e94c7f9c3daa5c5b1fb563ca9d62c45",
"status": "affected",
"version": "bb1b40c7cb863f0800a6410c7dcb86cf3f28d3b1",
"versionType": "git"
},
{
"lessThan": "48303f3ae0fa6e102f3fc7dbf1688cc179131962",
"status": "affected",
"version": "bb1b40c7cb863f0800a6410c7dcb86cf3f28d3b1",
"versionType": "git"
},
{
"lessThan": "fde39b8a521780391fb4e5bda2c0aa4928947f12",
"status": "affected",
"version": "bb1b40c7cb863f0800a6410c7dcb86cf3f28d3b1",
"versionType": "git"
},
{
"status": "affected",
"version": "4f2df9fd07698bece3321fbf9e4b6dbcb9babccc",
"versionType": "git"
},
{
"status": "affected",
"version": "ea7d6be58c2e6c1f426b48994bb22b2393c90963",
"versionType": "git"
},
{
"status": "affected",
"version": "f5bca75dc46701f4c0d1dcbaae401233ae7ff06b",
"versionType": "git"
},
{
"lessThan": "4.5",
"status": "affected",
"version": "4.4.180",
"versionType": "semver"
},
{
"lessThan": "4.10",
"status": "affected",
"version": "4.9.173",
"versionType": "semver"
},
{
"lessThan": "4.15",
"status": "affected",
"version": "4.14.116",
"versionType": "semver"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/net/usb/ipheth.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "4.15"
},
{
"lessThan": "4.15",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.104",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.45",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.1.*",
"status": "unaffected",
"version": "7.1.9",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.2",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.12.104",
"versionStartIncluding": "4.15",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.45",
"versionStartIncluding": "4.15",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.1.9",
"versionStartIncluding": "4.15",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.2",
"versionStartIncluding": "4.15",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.4.180",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.9.173",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.14.116",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: usb: ipheth: fix carrier_work UAF on disconnect\n\nipheth_sndbulk_callback() re-arms the carrier-check work on any\nnon-zero URB status:\n\n\telse\n\t\tschedule_delayed_work(\u0026dev-\u003ecarrier_work, 0);\n\nNothing ties that to the interface being up, so the work can be armed\nagain after ipheth_close() has already drained it, and stay armed\nuntil the netdev whose private area embeds it is freed.\n\nOn unplug with a TX URB in flight, ipheth_disconnect() drains the work\nthrough unregister_netdev() -\u003e ipheth_close() -\u003e\ncancel_delayed_work_sync() and only then calls ipheth_kill_urbs().\nusb_kill_urb() completes the in-flight TX URB with -ENOENT, so\nipheth_sndbulk_callback() runs after the drain and re-arms\ncarrier_work.\n\nThe same completion also re-arms the work if the interface is only\nbrought down while a TX URB is in flight, and\nipheth_carrier_check_work() then keeps re-queueing itself once a\nsecond. unregister_netdev() does not call ipheth_close() for an\nalready-down interface, so nothing drains it on the later unplug\neither.\n\nIn both cases free_netdev() frees the netdev while carrier_work is\nstill pending, and ipheth_carrier_check_work() dereferences freed\nmemory.\n\nTie the work to the interface state instead of chasing the completion:\ndisable it in ipheth_close() and enable it in ipheth_open(), so a\nschedule_delayed_work() from the URB completion is a no-op whenever\nthe interface is not up. disable_delayed_work_sync() also waits for a\nrunning instance, so it fully replaces the cancel_delayed_work_sync()\nit takes the place of. The work starts out disabled in ipheth_probe()\nso the enable/disable counts balance from the first open.\n\nReproduced under KASAN on linux-next (next-20260731) with dummy_hcd and\nraw-gadget standing in for the device, driving the second path above (the\ninterface is already down, so unregister_netdev() does not call\nipheth_close()): 15 of 15 unpatched boots report a slab-use-after-free in\n__run_timers(), freed by ipheth_disconnect() and re-armed from\nipheth_sndbulk_callback() via queue_delayed_work_on(). The\nsame trigger on a kernel differing only by this patch reports 0 of 15,\nand the carrier check still functions across open/close cycles.\n\nThe reproducer needs an attached USB device that stops draining bulk OUT,\nplus a link down and unplug, driven as root. It is not a privilege\nboundary crossing and no exploit primitive was developed.\n\nFound by 0sec (https://0sec.ai)."
}
],
"providerMetadata": {
"dateUpdated": "2026-08-22T15:32:46.001Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/d07133fe1befae9a1e4c4c5e46ef0b73d2992020"
},
{
"url": "https://git.kernel.org/stable/c/2c7496124e94c7f9c3daa5c5b1fb563ca9d62c45"
},
{
"url": "https://git.kernel.org/stable/c/48303f3ae0fa6e102f3fc7dbf1688cc179131962"
},
{
"url": "https://git.kernel.org/stable/c/fde39b8a521780391fb4e5bda2c0aa4928947f12"
}
],
"title": "net: usb: ipheth: fix carrier_work UAF on disconnect",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-74677",
"datePublished": "2026-08-22T15:32:46.001Z",
"dateReserved": "2026-08-15T05:44:03.925Z",
"dateUpdated": "2026-08-22T15:32:46.001Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-74677",
"date": "2026-08-29",
"epss": "0.00168",
"percentile": "0.06293"
},
"microsoft_vex": {
"current_release_date": "2026-08-24T14:48:50.000Z",
"cve": "CVE-2026-74677",
"id": "msrc_CVE-2026-74677",
"initial_release_date": "2026-08-24T01:05:46.000Z",
"product_status:known_affected": "1",
"source": "Microsoft CSAF VEX",
"status": "final",
"title": "net: usb: ipheth: fix carrier_work UAF on disconnect",
"url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-74677.json",
"version": "2"
},
"nvd": "{\"cve\":{\"id\":\"CVE-2026-74677\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-08-22T16:16:41.847\",\"lastModified\":\"2026-08-22T16:16:41.847\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nnet: usb: ipheth: fix carrier_work UAF on disconnect\\n\\nipheth_sndbulk_callback() re-arms the carrier-check work on any\\nnon-zero URB status:\\n\\n\\telse\\n\\t\\tschedule_delayed_work(\u0026dev-\u003ecarrier_work, 0);\\n\\nNothing ties that to the interface being up, so the work can be armed\\nagain after ipheth_close() has already drained it, and stay armed\\nuntil the netdev whose private area embeds it is freed.\\n\\nOn unplug with a TX URB in flight, ipheth_disconnect() drains the work\\nthrough unregister_netdev() -\u003e ipheth_close() -\u003e\\ncancel_delayed_work_sync() and only then calls ipheth_kill_urbs().\\nusb_kill_urb() completes the in-flight TX URB with -ENOENT, so\\nipheth_sndbulk_callback() runs after the drain and re-arms\\ncarrier_work.\\n\\nThe same completion also re-arms the work if the interface is only\\nbrought down while a TX URB is in flight, and\\nipheth_carrier_check_work() then keeps re-queueing itself once a\\nsecond. unregister_netdev() does not call ipheth_close() for an\\nalready-down interface, so nothing drains it on the later unplug\\neither.\\n\\nIn both cases free_netdev() frees the netdev while carrier_work is\\nstill pending, and ipheth_carrier_check_work() dereferences freed\\nmemory.\\n\\nTie the work to the interface state instead of chasing the completion:\\ndisable it in ipheth_close() and enable it in ipheth_open(), so a\\nschedule_delayed_work() from the URB completion is a no-op whenever\\nthe interface is not up. disable_delayed_work_sync() also waits for a\\nrunning instance, so it fully replaces the cancel_delayed_work_sync()\\nit takes the place of. The work starts out disabled in ipheth_probe()\\nso the enable/disable counts balance from the first open.\\n\\nReproduced under KASAN on linux-next (next-20260731) with dummy_hcd and\\nraw-gadget standing in for the device, driving the second path above (the\\ninterface is already down, so unregister_netdev() does not call\\nipheth_close()): 15 of 15 unpatched boots report a slab-use-after-free in\\n__run_timers(), freed by ipheth_disconnect() and re-armed from\\nipheth_sndbulk_callback() via queue_delayed_work_on(). The\\nsame trigger on a kernel differing only by this patch reports 0 of 15,\\nand the carrier check still functions across open/close cycles.\\n\\nThe reproducer needs an attached USB device that stops draining bulk OUT,\\nplus a link down and unplug, driven as root. It is not a privilege\\nboundary crossing and no exploit primitive was developed.\\n\\nFound by 0sec (https://0sec.ai).\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/net/usb/ipheth.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"bb1b40c7cb863f0800a6410c7dcb86cf3f28d3b1\",\"lessThan\":\"d07133fe1befae9a1e4c4c5e46ef0b73d2992020\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"bb1b40c7cb863f0800a6410c7dcb86cf3f28d3b1\",\"lessThan\":\"2c7496124e94c7f9c3daa5c5b1fb563ca9d62c45\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"bb1b40c7cb863f0800a6410c7dcb86cf3f28d3b1\",\"lessThan\":\"48303f3ae0fa6e102f3fc7dbf1688cc179131962\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"bb1b40c7cb863f0800a6410c7dcb86cf3f28d3b1\",\"lessThan\":\"fde39b8a521780391fb4e5bda2c0aa4928947f12\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"4f2df9fd07698bece3321fbf9e4b6dbcb9babccc\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"ea7d6be58c2e6c1f426b48994bb22b2393c90963\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"f5bca75dc46701f4c0d1dcbaae401233ae7ff06b\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"4.4.180\",\"lessThan\":\"4.5\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"4.9.173\",\"lessThan\":\"4.10\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"4.14.116\",\"lessThan\":\"4.15\",\"versionType\":\"semver\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/net/usb/ipheth.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"4.15\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"4.15\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.104\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.45\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1.9\",\"lessThanOrEqual\":\"7.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/2c7496124e94c7f9c3daa5c5b1fb563ca9d62c45\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/48303f3ae0fa6e102f3fc7dbf1688cc179131962\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d07133fe1befae9a1e4c4c5e46ef0b73d2992020\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/fde39b8a521780391fb4e5bda2c0aa4928947f12\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
"redhat_vex": {
"aggregate_severity": "Moderate",
"current_release_date": "2026-08-24T09:16:21+00:00",
"cve": "CVE-2026-74677",
"id": "CVE-2026-74677",
"initial_release_date": "2026-08-22T00:00:00+00:00",
"product_status:known_affected": "260",
"product_status:known_not_affected": "14",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "kernel: net: usb: ipheth: fix carrier_work UAF on disconnect",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-74677.json",
"version": "3"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Loading…
Loading…