In the Linux kernel, the following vulnerability has been resolved: sysfs: don't remove existing directory on update failure When… (CVE-2026-64185)
A vulnerability in the Linux kernel sysfs subsystem was resolved to prevent unintended removal of existing directories during update failures. Specifically, when updating a named sysfs group, failure in creating files could cause the kernel to remove a directory that preexisted the update call, potentially disrupting system functionality. The fix ensures that only directories created by the update process are removed on failure, preserving existing directories.
AI Analysis
Technical Summary
The vulnerability in the Linux kernel's sysfs subsystem involved the sysfs_update_group() function. If create_files() failed during an update (e.g., due to memory allocation failure), the internal_create_group() function would call kernfs_remove() on the group directory. However, the directory referenced was one that already existed prior to the update call, leading to unintended removal of sysfs groups not created by the caller. The patch changes this behavior to remove the directory only if it was created by the update process itself, leaving existing directories intact even if the update fails.
Potential Impact
This vulnerability could cause disruption of sysfs groups by removing directories that were not intended to be deleted, potentially affecting system stability or functionality. The CVSS score of 5.5 (medium severity) reflects the local attack vector and the impact on availability (denial of service) without confidentiality or integrity loss. There is no indication of confidentiality or integrity impact, and no known exploits in the wild.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this issue by modifying the removal logic to only delete directories created during the update process. Users should apply the official kernel updates that include this patch once available. Patch status is not explicitly stated in the provided data; therefore, check the vendor or Linux kernel advisories for the official fix and update guidance.
In the Linux kernel, the following vulnerability has been resolved: sysfs: don't remove existing directory on update failure When… (CVE-2026-64185)
Description
A vulnerability in the Linux kernel sysfs subsystem was resolved to prevent unintended removal of existing directories during update failures. Specifically, when updating a named sysfs group, failure in creating files could cause the kernel to remove a directory that preexisted the update call, potentially disrupting system functionality. The fix ensures that only directories created by the update process are removed on failure, preserving existing directories.
CVSS v3.1
Score 5.5medium
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel's sysfs subsystem involved the sysfs_update_group() function. If create_files() failed during an update (e.g., due to memory allocation failure), the internal_create_group() function would call kernfs_remove() on the group directory. However, the directory referenced was one that already existed prior to the update call, leading to unintended removal of sysfs groups not created by the caller. The patch changes this behavior to remove the directory only if it was created by the update process itself, leaving existing directories intact even if the update fails.
Potential Impact
This vulnerability could cause disruption of sysfs groups by removing directories that were not intended to be deleted, potentially affecting system stability or functionality. The CVSS score of 5.5 (medium severity) reflects the local attack vector and the impact on availability (denial of service) without confidentiality or integrity loss. There is no indication of confidentiality or integrity impact, and no known exploits in the wild.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this issue by modifying the removal logic to only delete directories created during the update process. Users should apply the official kernel updates that include this patch once available. Patch status is not explicitly stated in the provided data; therefore, check the vendor or Linux kernel advisories for the official fix and update guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-v9gp-g328-r6m8
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64185"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a5d27a72a4a8d5989129db5
Added to database: 07/19/2026, 19:38:15 UTC
Last enriched: 08/12/2026, 19:36:44 UTC
Last updated: 08/27/2026, 10:52:10 UTC
Views: 49
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.