CVE-2024-35793
published high CVSS 3.1 · 7.8debugfs: fix wait/cancellation handling during remove
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux8c88a474357ead632b07c70bf7f119ace8c3b39e to < e88b5ae01901c4a655a53158397746334778a57b · 8c88a474357ead632b07c70bf7f119ace8c3b39e to < 3d08cca5fd0aabb62b7015067ab40913b33da906 · 8c88a474357ead632b07c70bf7f119ace8c3b39e to < 952c3fce297f12c7ff59380adb66b564e2bc9b64 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.7 (affected) · 0 to < 6.7 (unaffected · semver) · 6.7.12 through 6.7.* (unaffected · semver) · 6.8.3 through 6.8.* (unaffected · semver) · 6.9 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Ubuntu | noble | linux | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-aws | Advisory build | 6.8.0-1009.9 | USN-6817-1 |
| Ubuntu | noble | linux-aws-cloud-tools-6.8.0-1009 | Advisory build | 6.8.0-1009.9 | USN-6817-1 |
| Ubuntu | noble | linux-aws-headers-6.8.0-1009 | Advisory build | 6.8.0-1009.9 | USN-6817-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | noble | linux-aws-tools-6.8.0-1009 | Advisory build | 6.8.0-1009.9 | USN-6817-1 |
| Ubuntu | noble | linux-azure | Advisory build | 6.8.0-1008.8 | USN-6817-3 |
| Ubuntu | noble | linux-azure-cloud-tools-6.8.0-1008 | Advisory build | 6.8.0-1008.8 | USN-6817-3 |
| Ubuntu | noble | linux-azure-headers-6.8.0-1008 | Advisory build | 6.8.0-1008.8 | USN-6817-3 |
| Ubuntu | noble | linux-azure-tools-6.8.0-1008 | Advisory build | 6.8.0-1008.8 | USN-6817-3 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1004-gke | Advisory build | 6.8.0-1004.7 | USN-6817-3 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1005-raspi | Advisory build | 6.8.0-1005.5 | USN-6816-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1006-ibm | Advisory build | 6.8.0-1006.6 | USN-6816-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1006-oem | Advisory build | 6.8.0-1006.6 | USN-6817-2 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1006-oracle | Advisory build | 6.8.0-1006.6 | USN-6878-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1006-oracle-64k | Advisory build | 6.8.0-1006.6 | USN-6878-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1008-azure | Advisory build | 6.8.0-1008.8 | USN-6817-3 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1008-gcp | Advisory build | 6.8.0-1008.9 | USN-6817-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1009-aws | Advisory build | 6.8.0-1009.9 | USN-6817-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-35-generic | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-35-generic-64k | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-35-lowlatency | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-35-lowlatency-64k | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-1008-azure | Advisory build | 6.8.0-1008.8 | USN-6817-3 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-1009-aws | Advisory build | 6.8.0-1009.9 | USN-6817-1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-35 | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-35-generic | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-35-lowlatency | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-cloud-tools-common | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-gcp | Advisory build | 6.8.0-1008.9 | USN-6817-1 |
| Ubuntu | noble | linux-gcp-headers-6.8.0-1008 | Advisory build | 6.8.0-1008.9 | USN-6817-1 |
| Ubuntu | noble | linux-gcp-tools-6.8.0-1008 | Advisory build | 6.8.0-1008.9 | USN-6817-1 |
| Ubuntu | noble | linux-gke | Advisory build | 6.8.0-1004.7 | USN-6817-3 |
| Ubuntu | noble | linux-gke-headers-6.8.0-1004 | Advisory build | 6.8.0-1004.7 | USN-6817-3 |
| Ubuntu | noble | linux-gke-tools-6.8.0-1004 | Advisory build | 6.8.0-1004.7 | USN-6817-3 |
| Ubuntu | noble | linux-headers-6.8.0-1004-gke | Advisory build | 6.8.0-1004.7 | USN-6817-3 |
| Ubuntu | noble | linux-headers-6.8.0-1005-raspi | Advisory build | 6.8.0-1005.5 | USN-6816-1 |
| Ubuntu | noble | linux-headers-6.8.0-1006-ibm | Advisory build | 6.8.0-1006.6 | USN-6816-1 |
| Ubuntu | noble | linux-headers-6.8.0-1006-oem | Advisory build | 6.8.0-1006.6 | USN-6817-2 |
| Ubuntu | noble | linux-headers-6.8.0-1006-oracle | Advisory build | 6.8.0-1006.6 | USN-6878-1 |
| Ubuntu | noble | linux-headers-6.8.0-1006-oracle-64k | Advisory build | 6.8.0-1006.6 | USN-6878-1 |
| Ubuntu | noble | linux-headers-6.8.0-1008-azure | Advisory build | 6.8.0-1008.8 | USN-6817-3 |
| Ubuntu | noble | linux-headers-6.8.0-1008-gcp | Advisory build | 6.8.0-1008.9 | USN-6817-1 |
| Ubuntu | noble | linux-headers-6.8.0-1009-aws | Advisory build | 6.8.0-1009.9 | USN-6817-1 |
| Ubuntu | noble | linux-headers-6.8.0-35 | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-headers-6.8.0-35-generic | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-headers-6.8.0-35-generic-64k | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-headers-6.8.0-35-lowlatency | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-headers-6.8.0-35-lowlatency-64k | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-ibm | Advisory build | 6.8.0-1006.6 | USN-6816-1 |
| Ubuntu | noble | linux-ibm-cloud-tools-common | Advisory build | 6.8.0-1006.6 | USN-6816-1 |
| Ubuntu | noble | linux-ibm-headers-6.8.0-1006 | Advisory build | 6.8.0-1006.6 | USN-6816-1 |
| Ubuntu | noble | linux-ibm-source-6.8.0 | Advisory build | 6.8.0-1006.6 | USN-6816-1 |
| Ubuntu | noble | linux-ibm-tools-6.8.0-1006 | Advisory build | 6.8.0-1006.6 | USN-6816-1 |
| Ubuntu | noble | linux-image-6.8.0-1005-raspi | Advisory build | 6.8.0-1005.5 | USN-6816-1 |
| Ubuntu | noble | linux-image-6.8.0-35-generic | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1004-gke | Advisory build | 6.8.0-1004.7 | USN-6817-3 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1006-ibm | Advisory build | 6.8.0-1006.6 | USN-6816-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1006-oem | Advisory build | 6.8.0-1006.6 | USN-6817-2 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1006-oracle | Advisory build | 6.8.0-1006.6 | USN-6878-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1006-oracle-64k | Advisory build | 6.8.0-1006.6 | USN-6878-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1008-azure | Advisory build | 6.8.0-1008.8 | USN-6817-3 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1008-gcp | Advisory build | 6.8.0-1008.9 | USN-6817-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1009-aws | Advisory build | 6.8.0-1009.9 | USN-6817-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-35-generic | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-35-generic-64k | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-35-lowlatency | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-35-lowlatency-64k | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-lib-rust-6.8.0-35-generic | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-lowlatency | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-lowlatency-cloud-tools-6.8.0-35 | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-lowlatency-cloud-tools-common | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-lowlatency-headers-6.8.0-35 | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-lowlatency-lib-rust-6.8.0-35-lowlatency | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-lowlatency-tools-6.8.0-35 | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-lowlatency-tools-common | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-lowlatency-tools-host | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-modules-6.8.0-1004-gke | Advisory build | 6.8.0-1004.7 | USN-6817-3 |
| Ubuntu | noble | linux-modules-6.8.0-1005-raspi | Advisory build | 6.8.0-1005.5 | USN-6816-1 |
| Ubuntu | noble | linux-modules-6.8.0-1006-ibm | Advisory build | 6.8.0-1006.6 | USN-6816-1 |
| Ubuntu | noble | linux-modules-6.8.0-1006-oem | Advisory build | 6.8.0-1006.6 | USN-6817-2 |
| Ubuntu | noble | linux-modules-6.8.0-1006-oracle | Advisory build | 6.8.0-1006.6 | USN-6878-1 |
| Ubuntu | noble | linux-modules-6.8.0-1006-oracle-64k | Advisory build | 6.8.0-1006.6 | USN-6878-1 |
| Ubuntu | noble | linux-modules-6.8.0-1008-azure | Advisory build | 6.8.0-1008.8 | USN-6817-3 |
| Ubuntu | noble | linux-modules-6.8.0-1008-gcp | Advisory build | 6.8.0-1008.9 | USN-6817-1 |
| Ubuntu | noble | linux-modules-6.8.0-1009-aws | Advisory build | 6.8.0-1009.9 | USN-6817-1 |
| Ubuntu | noble | linux-modules-6.8.0-35-generic | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-modules-6.8.0-35-generic-64k | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-modules-6.8.0-35-lowlatency | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-modules-6.8.0-35-lowlatency-64k | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-modules-extra-6.8.0-1004-gke | Advisory build | 6.8.0-1004.7 | USN-6817-3 |
| Ubuntu | noble | linux-modules-extra-6.8.0-1006-ibm | Advisory build | 6.8.0-1006.6 | USN-6816-1 |
| Ubuntu | noble | linux-modules-extra-6.8.0-1006-oracle | Advisory build | 6.8.0-1006.6 | USN-6878-1 |
| Ubuntu | noble | linux-modules-extra-6.8.0-1006-oracle-64k | Advisory build | 6.8.0-1006.6 | USN-6878-1 |
| Ubuntu | noble | linux-modules-extra-6.8.0-1008-azure | Advisory build | 6.8.0-1008.8 | USN-6817-3 |
| Ubuntu | noble | linux-modules-extra-6.8.0-1008-gcp | Advisory build | 6.8.0-1008.9 | USN-6817-1 |
| Ubuntu | noble | linux-modules-extra-6.8.0-1009-aws | Advisory build | 6.8.0-1009.9 | USN-6817-1 |
| Ubuntu | noble | linux-modules-extra-6.8.0-35-generic | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-modules-ipu6-6.8.0-1006-oem | Advisory build | 6.8.0-1006.6 | USN-6817-2 |
| Ubuntu | noble | linux-modules-ipu6-6.8.0-35-generic | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-modules-iwlwifi-6.8.0-1004-gke | Advisory build | 6.8.0-1004.7 | USN-6817-3 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: debugfs: fix wait/cancellation handling during remove Ben Greear further reports deadlocks during concurrent debugfs remove while files are being accessed, even though the code in question now uses debugfs cancellations. Turns out that despite all the review on the locking, we missed completely that the logic is wrong: if the refcount hits zero we can finish (and need not wait for the completion), but if it doesn't we have to trigger all the cancellations. As written, we can _never_ get into the loop triggering the cancellations. Fix this, and explain it better while at it.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - Exploitation requires a local process holding a read()/write() on a mac80211 debugfs file while a concurrent debugfs removal occurs. Although the removal half can be induced remotely by an adjacent WiFi attacker forcing station teardown via deauth, the active file access side is local. AC:L - The attacker controls both sides of the race — spawning many reader threads on station/interface debugfs files while deleting the station or interface — and the window between debugfs_file_get() and debugfs_enter_cancellation() is wide because the handler must queue and wait on wiphy work. Ben Greear reproduced the deadlock repeatedly during ordinary testing. PR:L - Only debugfs read/write access to mac80211 files is needed, which on Android, embedded, automotive and WiFi-testing platforms is routinely exposed to non-root system services, and the removal half happens on any disconnect without attacker privilege. Scored as low privilege consistent with the analogous debugfs deadlock CVE-2024-35795. UI:N - No victim action is required; the attacker's own threads perform both the debugfs access and the station/interface removal that triggers the race. S:U - The lost wakeup and resulting use-after-free are confined to kernel memory and kernel-managed locks, with no crossing of a VM, IOMMU, or sandbox security authority. C:H - Because __debugfs_file_removed() can return with active_users still non-zero, debugfs_remove_recursive() returns while a handler is still running, and sta_info/sdata are then freed under it — sta_agg_status_do_read() reads freed memory into a user-visible buffer, giving an arbitrary-read-style disclosure primitive. I:H - The same premature return lets sta_agg_status_do_write() call ieee80211_start_tx_ba_session() on a freed, sprayable sta_info, dereferencing freed pointers and queuing work — a use-after-free write primitive leveragable for control-flow hijack. A:H - The primary reported symptom is an unrecoverable deadlock in which the remover holds the wiphy mutex (and RTNL in the netdev teardown path) forever, wedging the entire networking control plane with unkillable tasks; the use-after-free additionally causes kernel oopses.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 8c88a474357ead632b07c70bf7f119ace8c3b39e to < e88b5ae01901c4a655a53158397746334778a57b (affected · git)8c88a474357ead632b07c70bf7f119ace8c3b39e to < 3d08cca5fd0aabb62b7015067ab40913b33da906 (affected · git)8c88a474357ead632b07c70bf7f119ace8c3b39e to < 952c3fce297f12c7ff59380adb66b564e2bc9b64 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.7 (affected)0 to < 6.7 (unaffected · semver)6.7.12 through 6.7.* (unaffected · semver)6.8.3 through 6.8.* (unaffected · semver)6.9 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
3Linux · cna
debugfs: fix wait/cancellation handling during remove
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2e39d8b7bdf54b7254c2272eac373e07365313c8e2c81a70d856d50d78ba86d5
- Ingested
- 23 Sep 2026, 08:23:51 UTC
- Source record
- Official CVE record