VDB

CVE-2024-35793

CVE-2024-35793 PUBLISHED CVSS 7.8 HIGH

debugfs: fix wait/cancellation handling during remove

Reported by linux · Published May 17, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinuxe88b5ae01901c4a655a53158397746334778a57b, 952c3fce297f12c7ff59380adb66b564e2bc9b64, 6.7, 3d08cca5fd0aabb62b7015067ab40913b33da906

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux8c88a474357ead632b07c70bf7f119ace8c3b39e, 8c88a474357ead632b07c70bf7f119ace8c3b39e, 8c88a474357ead632b07c70bf7f119ace8c3b39e
LinuxLinux6.7, 0, 6.7.12
linuxlinux_kernel6.7, 6.7, 6.7
LinuxLinux8c88a474357ead632b07c70bf7f119ace8c3b39e, 8c88a474357ead632b07c70bf7f119ace8c3b39e, 8c88a474357ead632b07c70bf7f119ace8c3b39e

Timeline

  • May 17, 2024 CVE Published
  • May 18, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (9 in total, the first dated here)
  • Jan 10, 2026 Security Advisory (441 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (336 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-35793
vulnetix vdb fixes CVE-2024-35793

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-35793/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›