CVE-2026-64185

CVE-2026-64185

Medium · published July 19, 2026

CVSS v3.1
5.5
EPSS
0%
Percentile
1.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00117 · 1.6th percentile
Published
2026-07-19T20:18Z
Affected products (11)
ProductVersionsFixed in
linux/linux_kernel≥ 4.19, < 5.10.2585.10.258
linux/linux_kernel≥ 5.11, < 5.15.2095.15.209
linux/linux_kernel≥ 5.16, < 6.1.1756.1.175
linux/linux_kernel≥ 6.2, < 6.6.1426.6.142
linux/linux_kernel≥ 6.7, < 6.12.926.12.92
linux/linux_kernel≥ 6.13, < 6.18.346.18.34
linux/linux_kernel≥ 6.19, < 7.0.117.0.11
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (8)
EPSS history
Timeline
  • 19 JUL 15:41Z
    sysfs: don't remove existing directory on update failure
    cvelistv5