CVE-2026-72176

Source
https://cve.org/CVERecord?id=CVE-2026-72176
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72176.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-72176
Downstream
Published
2026-08-15T05:53:40.759Z
Modified
2026-08-18T03:31:20.827562819Z
Summary
mm/damon/sysfs-schemes: put stats for scheme_add_dirs() internal error
Details

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

mm/damon/sysfs-schemes: put stats for schemeadddirs() internal error

damonsysfsschemeadddirs() setup the triedregions directory after the stats directory setup is completed. When the triedregions directory setup is failed, the setup function ensures the reference for the tried regions directory is released. Hence the error path should put references on setup succeeded directory objects, starting from the stats directory. However, the error path is putting the tried_regions directory instead of the stats directory.

As a direct result, the stats directory object is leaked. Worse yet, if the triedregions directory setup failed from the initial allocation, the scheme->triedregions field remains uninitialized. The following kobjectput(&scheme->triedregions->kobj) call in the error path will dereference the uninitialized memory. The setup failures should not be common. But once it happens, the consequence is quite bad.

Fix this issue by correctly putting the stats directory instead of the tried_regions directory.

The issue was discovered [1] by Sashiko.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72176.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
5181b75f438d2e5b7f27bf48c6ea88a87c2882b7
Fixed
50a753171d255895e5dd41566986b48dcec06f31
Fixed
f63d6e5ba72aeacdee4fddc902bd7616cd62b919
Fixed
40a04601a3f66cabd6629c258a07af645a658865
Fixed
6b6b5d7c2c957136b92c00b77b7175259f13082b
Fixed
05ea83ee88ca70f8932906d9f2617ff996f45b50

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72176.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.145
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.97
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.40
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72176.json"