In the Linux kernel, the following vulnerability has been resolved: md: fix array_state=clear sysfs deadlock When "clear" is written to array_state,… (CVE-2026-53125)
A deadlock vulnerability in the Linux kernel's md (multiple device) subsystem was resolved. Writing "clear" to the array_state sysfs attribute could cause a recursive locking deadlock due to improper reference handling during sysfs kobject teardown. This issue affects the md_attr_store() function, which drops a reference prematurely, leading to recursive locking detected by lockdep. The fix ensures active protection is restored before releasing the mddev reference, deferring kobject deletion until safe.
AI Analysis
Technical Summary
The vulnerability in the Linux kernel's md subsystem involves a deadlock triggered when "clear" is written to the array_state sysfs attribute. The md_attr_store() function breaks sysfs active protection to allow the array to delete itself but drops the mddev reference too early. This can cause the last kobject reference to be dropped during the current sysfs write context, leading to recursive locking and a deadlock in kernfs removal. The fix restores active protection before releasing the mddev reference, ensuring safe kobject teardown after the sysfs write completes.
Potential Impact
This vulnerability can cause a kernel deadlock (denial of service) when clearing an md array via sysfs. There is no impact on confidentiality or integrity, but availability is affected due to the deadlock condition.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is applied, avoid writing "clear" to the array_state sysfs attribute on md devices to prevent triggering the deadlock.
In the Linux kernel, the following vulnerability has been resolved: md: fix array_state=clear sysfs deadlock When "clear" is written to array_state,… (CVE-2026-53125)
Description
A deadlock vulnerability in the Linux kernel's md (multiple device) subsystem was resolved. Writing "clear" to the array_state sysfs attribute could cause a recursive locking deadlock due to improper reference handling during sysfs kobject teardown. This issue affects the md_attr_store() function, which drops a reference prematurely, leading to recursive locking detected by lockdep. The fix ensures active protection is restored before releasing the mddev reference, deferring kobject deletion until safe.
CVSS v3.1
Score 5.5medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel's md subsystem involves a deadlock triggered when "clear" is written to the array_state sysfs attribute. The md_attr_store() function breaks sysfs active protection to allow the array to delete itself but drops the mddev reference too early. This can cause the last kobject reference to be dropped during the current sysfs write context, leading to recursive locking and a deadlock in kernfs removal. The fix restores active protection before releasing the mddev reference, ensuring safe kobject teardown after the sysfs write completes.
Potential Impact
This vulnerability can cause a kernel deadlock (denial of service) when clearing an md array via sysfs. There is no impact on confidentiality or integrity, but availability is affected due to the deadlock condition.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is applied, avoid writing "clear" to the array_state sysfs attribute on md devices to prevent triggering the deadlock.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-9m96-3qwq-4728
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-53125"]
- Ecosystems
- []
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6a629b119c2644c7f8d86583
Added to database: 07/23/2026, 22:52:01 UTC
Last enriched: 07/23/2026, 22:54:57 UTC
Last updated: 07/31/2026, 19:24:46 UTC
Views: 11
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.