# CVE-2026-64185: sysfs: don't remove existing directory on update failure

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 3, 2026-11-26)
- **Published:** 2026-07-19T15:41:07.340Z
- **Modified:** 2026-11-06T17:18:39.790Z

## Who should check

- Anyone running Linux \>= c855cf2759d27142f771173d9fd8e7fdf9cf5138, \< c5e125c828b701afaf7493b42a14aa89362ff36d; \>= c855cf2759d27142f771173d9fd8e7fdf9cf5138, \< ccadd32cc1263802a5969c9efe0e96225450428c; \>= c855cf2759d27142f771173d9fd8e7fdf9cf5138, \< 14f2c14ae86c4af17a0a9f8ab46dacf2d5fd1d8a; \>= c855cf2759d27142f771173d9fd8e7fdf9cf5138, \< 31527d80234caf83dc96ad478645e57df9de4472; \>= c855cf2759d27142f771173d9fd8e7fdf9cf5138, \< 57b285e0368290aa55f79ba11419b96d0ebdb418; \>= c855cf2759d27142f771173d9fd8e7fdf9cf5138, \< 48fa96538bd2868034d33429e4565fda384d0736; \>= c855cf2759d27142f771173d9fd8e7fdf9cf5138, \< 708f6926f61f71e09b5e9fd668b9882ccd46e69f; \>= c855cf2759d27142f771173d9fd8e7fdf9cf5138, \< 237557b8a81ab948e8332f7c0058e758f081c0a3
- Anyone running Linux 4.19

## Description

In the Linux kernel, the following vulnerability has been resolved:

sysfs: don't remove existing directory on update failure

When sysfs\_update\_group() is called for a named group and create\_files()
fails (e.g. -ENOMEM), internal\_create\_group() calls kernfs\_remove(kn) on
the group directory.  In the update path, kn was obtained via
kernfs\_find\_and\_get() and refers to a directory that already existed
before this call.  Removing it silently destroys a sysfs group that the
caller did not create.

Only remove the directory if we created it ourselves.  On update failure
the directory remains as it is left empty by remove\_files() inside
create\_files(), but can be repopulated by a retry.

## Affected and fixed versions

- Linux: \>= c855cf2759d27142f771173d9fd8e7fdf9cf5138, \< c5e125c828b701afaf7493b42a14aa89362ff36d; \>= c855cf2759d27142f771173d9fd8e7fdf9cf5138, \< ccadd32cc1263802a5969c9efe0e96225450428c; \>= c855cf2759d27142f771173d9fd8e7fdf9cf5138, \< 14f2c14ae86c4af17a0a9f8ab46dacf2d5fd1d8a; \>= c855cf2759d27142f771173d9fd8e7fdf9cf5138, \< 31527d80234caf83dc96ad478645e57df9de4472; \>= c855cf2759d27142f771173d9fd8e7fdf9cf5138, \< 57b285e0368290aa55f79ba11419b96d0ebdb418; \>= c855cf2759d27142f771173d9fd8e7fdf9cf5138, \< 48fa96538bd2868034d33429e4565fda384d0736; \>= c855cf2759d27142f771173d9fd8e7fdf9cf5138, \< 708f6926f61f71e09b5e9fd668b9882ccd46e69f; \>= c855cf2759d27142f771173d9fd8e7fdf9cf5138, \< 237557b8a81ab948e8332f7c0058e758f081c0a3 (cvelist)
- Linux: 4.19 (cvelist)

## Mitigation

- Upgrade Linux to 237557b8a81ab948e8332f7c0058e758f081c0a3 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-64185. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64185.md
Affected: Linux >= c855cf2759d27142f771173d9fd8e7fdf9cf5138, < c5e125c828b701afaf7493b42a14aa89362ff36d; >= c855cf2759d27142f771173d9fd8e7fdf9cf5138, < ccadd32cc1263802a5969c9efe0e96225450428c; >= c855cf2759d27142f771173d9fd8e7fdf9cf5138, < 14f2c14ae86c4af17a0a9f8ab46dacf2d5fd1d8a; >= c855cf2759d27142f771173…
Fixed in: Linux 14f2c14ae86c4af17a0a9f8ab46dacf2d5fd1d8a, Linux 31527d80234caf83dc96ad478645e57df9de4472, Linux 57b285e0368290aa55f79ba11419b96d0ebdb418, Linux 48fa96538bd2868034d33429e4565fda384d0736, Linux 708f6926f61f71e09b5e9fd668b9882ccd46e69f, Linux 237557b8a81ab948e8332f7c0058e758f081c0a3

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-64185 being exploited?

There is no confirmed exploitation: CVE-2026-64185 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-64185?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-64185?

Linux \>= c855cf2759d27142f771173d9fd8e7fdf9cf5138, \< c5e125c828b701afaf7493b42a14aa89362ff36d; \>= c855cf2759d27142f771173d9fd8e7fdf9cf5138, \< ccadd32cc1263802a5969c9efe0e96225450428c; \>= c855cf2759d27142f771173d9fd8e7fdf9cf5138, \< 14f2c14ae86c4af17a0a9f8ab46dacf2d5fd1d8a; \>= c855cf2759d27142f771173d9fd8e7fdf9cf5138, \< 31527d80234caf83dc96ad478645e57df9de4472; \>= c855cf2759d27142f771173d9fd8e7fdf9cf5138, \< 57b285e0368290aa55f79ba11419b96d0ebdb418; \>= c855cf2759d27142f771173d9fd8e7fdf9cf5138, \< 48fa96538bd2868034d33429e4565fda384d0736; \>= c855cf2759d27142f771173d9fd8e7fdf9cf5138, \< 708f6926f61f71e09b5e9fd668b9882ccd46e69f; \>= c855cf2759d27142f771173d9fd8e7fdf9cf5138, \< 237557b8a81ab948e8332f7c0058e758f081c0a3; Linux 4.19.

### Is there a fix for CVE-2026-64185?

Yes. Fixed in Linux 14f2c14ae86c4af17a0a9f8ab46dacf2d5fd1d8a, Linux 31527d80234caf83dc96ad478645e57df9de4472, Linux 57b285e0368290aa55f79ba11419b96d0ebdb418, Linux 48fa96538bd2868034d33429e4565fda384d0736, Linux 708f6926f61f71e09b5e9fd668b9882ccd46e69f, Linux 237557b8a81ab948e8332f7c0058e758f081c0a3. Upgrade Linux to 237557b8a81ab948e8332f7c0058e758f081c0a3 or later.

### How do I check if I'm affected by CVE-2026-64185?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/c5e125c828b701afaf7493b42a14aa89362ff36d>
- patch: <https://git.kernel.org/stable/c/ccadd32cc1263802a5969c9efe0e96225450428c>
- patch: <https://git.kernel.org/stable/c/14f2c14ae86c4af17a0a9f8ab46dacf2d5fd1d8a>
- patch: <https://git.kernel.org/stable/c/31527d80234caf83dc96ad478645e57df9de4472>
- patch: <https://git.kernel.org/stable/c/57b285e0368290aa55f79ba11419b96d0ebdb418>
- patch: <https://git.kernel.org/stable/c/48fa96538bd2868034d33429e4565fda384d0736>
- patch: <https://git.kernel.org/stable/c/708f6926f61f71e09b5e9fd668b9882ccd46e69f>
- patch: <https://git.kernel.org/stable/c/237557b8a81ab948e8332f7c0058e758f081c0a3>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-64185>

HTML: <https://flawdb.com/CVE-2026-64185> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-64185>
