VDB

CVE-2026-64185

CVE-2026-64185 PUBLISHED

sysfs: don't remove existing directory on update failure

Reported by linux · Published July 19, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.18-modules-extraAmazon Linux1:6.18.35-68.127.amzn2023
linux_kernellinux7.0.11, 6.18.34, 6.12.92, 6.6.142, 6.1.175, 5.15.209, 5.10.258
LinuxLinux4.19

Affected products

VendorProductVersions
LinuxLinuxc855cf2759d27142f771173d9fd8e7fdf9cf5138, c855cf2759d27142f771173d9fd8e7fdf9cf5138, c855cf2759d27142f771173d9fd8e7fdf9cf5138
LinuxLinux4.19, 0, 5.10.258
amazon:2023kernel6.18-modules-extra0
LinuxLinux7.1, 7.0.11, 6.18.34
amazon:2023kernel6.18-modules-extra-common0
amazon:2023perf6.120
amazon:2023python3-perf6.120
amazon:2023kernel-modules-extra0
amazon:2023kernel-livepatch-6.18.35-68.1270
amazon:2023kernel-livepatch-6.12.92-122.1660
amazon:2023kernel6.120
amazon:2023kernel-livepatch-6.1.175-219.3570
amazon:2023kernel6.18-tools-devel0
amazon:2023perf0
amazon:2023kernel6.18-tools0
amazon:2023kernel-tools0
amazon:2023perf6.180
amazon:2023bpftool0
amazon:2023kernel-devel0
amazon:2023kernel-headers0

…and 18 more

Timeline

  • Jul 19, 2026 CVE Published
  • Jul 20, 2026 Security Advisory (31 in total, the first dated here)
  • Aug 7, 2026 EPSS Score (5 in total, the first dated here)
  • Aug 9, 2026 CVE Updated
  • Aug 12, 2026 Distribution Patch (30 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-64185
vulnetix vdb fixes CVE-2026-64185

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-64185/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›