CVE-2024-35793: debugfs: fix wait/cancellation handling during remove

Published May 17, 2024
·
Updated

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.

Affected Software

9 affected componentsFixes available
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1
Linux Linux kernel>=6.7.1<6.7.12
Linux Linux kernel>=6.8<6.8.3
Linux Linux kernel=6.7
Linux Linux kernel=6.7-rc4
Linux Linux kernel=6.7-rc5
Linux Linux kernel=6.7-rc6
Linux Linux kernel=6.7-rc7
Linux Linux kernel=6.7-rc8

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1
  2. Upgrade

    Upgrade Linux kernel debugfs to a version that resolves this vulnerability.

    Fixed in 29 November 2024Patch debugfs: fix wait/cancellation handling during remove

Event History

May 17, 2024
CVE Published
via MITRE·12:24 PM
Data Sourced
via MITRE·12:24 PM
DescriptionSeverity
Data Sourced
via NVD·01:15 PM
Description
Data Sourced
via NVD·01:15 PM
RemedySeverityWeaknessAffected Software
Jun 8, 2024
Data Sourced
via Launchpad·01:15 AM
Description
Dec 1, 2024
Data Sourced
via Ubuntu·05:30 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-35793?

CVE-2024-35793 has been categorized with a notable severity due to potential deadlocks during concurrent debugfs remove operations.

2

How do I fix CVE-2024-35793?

To mitigate CVE-2024-35793, ensure you update to the patched kernel versions, such as 5.10.223-1, 5.10.226-1, 6.1.123-1, or later.

3

What systems are affected by CVE-2024-35793?

CVE-2024-35793 affects various versions of the Linux kernel, specifically those prior to the fixed versions released by Debian.

4

What are the implications of CVE-2024-35793?

The implications of CVE-2024-35793 include potential system stability issues due to deadlocks when accessing files during debugfs removals.

5

Who reported CVE-2024-35793?

CVE-2024-35793 was reported by Ben Greear, highlighting issues with wait and cancellation handling in the debugfs system.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203