CVE-2026-64185

sysfs: don't remove existing directory on update failure

No CVSS score yet EPSS 0.16%

Published 19 Jul 2026 Updated 6 Nov 2026 CNA: Linux

Check your servers for CVE-2026-64185

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-64185 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 3.02% of all scored CVEs. Scores of 30 Nov 2026.

The assessment of CISA (SSVC, 6 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from c855cf2759d27142f771173d9fd8e7fdf9cf5138, before c5e125c828b701afaf7493b42a14aa89362ff36d
affected from c855cf2759d27142f771173d9fd8e7fdf9cf5138, before ccadd32cc1263802a5969c9efe0e96225450428c
affected from c855cf2759d27142f771173d9fd8e7fdf9cf5138, before 14f2c14ae86c4af17a0a9f8ab46dacf2d5fd1d8a
affected from c855cf2759d27142f771173d9fd8e7fdf9cf5138, before 31527d80234caf83dc96ad478645e57df9de4472
affected from c855cf2759d27142f771173d9fd8e7fdf9cf5138, before 57b285e0368290aa55f79ba11419b96d0ebdb418
affected from c855cf2759d27142f771173d9fd8e7fdf9cf5138, before 48fa96538bd2868034d33429e4565fda384d0736
affected from c855cf2759d27142f771173d9fd8e7fdf9cf5138, before 708f6926f61f71e09b5e9fd668b9882ccd46e69f
affected from c855cf2759d27142f771173d9fd8e7fdf9cf5138, before 237557b8a81ab948e8332f7c0058e758f081c0a3
Other versions: unaffected
Linux
affected 4.19
unaffected before 4.19
unaffected from 5.10.258 up to and including 5.10.*
unaffected from 5.15.209 up to and including 5.15.*
unaffected from 6.1.175 up to and including 6.1.*
unaffected from 6.6.142 up to and including 6.6.*
unaffected from 6.12.92 up to and including 6.12.*
unaffected from 6.18.34 up to and including 6.18.*
unaffected from 7.0.11 up to and including 7.0.*
unaffected 7.1 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-64185 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-64185

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-64185
trivy image --scanners vuln IMAGE | grep CVE-2026-64185

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-64185 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.