{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-31459","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-03-09T15:48:24.092Z","datePublished":"2026-04-22T13:53:51.554Z","dateUpdated":"2026-05-11T22:09:08.130Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-05-11T22:09:08.130Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/damon/sysfs: fix param_ctx leak on damon_sysfs_new_test_ctx() failure\n\nPatch series \"mm/damon/sysfs: fix memory leak and NULL dereference\nissues\", v4.\n\nDAMON_SYSFS can leak memory under allocation failure, and do NULL pointer\ndereference when a privileged user make wrong sequences of control.  Fix\nthose.\n\n\nThis patch (of 3):\n\nWhen damon_sysfs_new_test_ctx() fails in damon_sysfs_commit_input(),\nparam_ctx is leaked because the early return skips the cleanup at the out\nlabel.  Destroy param_ctx before returning."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["mm/damon/sysfs.c"],"versions":[{"version":"f0c5118ebb0eb7e4fd6f0d2ace3315ca141b317f","lessThan":"e9de9f3ce06b133a348006668bc8d25c6e504867","status":"affected","versionType":"git"},{"version":"f0c5118ebb0eb7e4fd6f0d2ace3315ca141b317f","lessThan":"f76f0a964bc3d7b7e253b43c669c41356bc54e71","status":"affected","versionType":"git"},{"version":"f0c5118ebb0eb7e4fd6f0d2ace3315ca141b317f","lessThan":"7fe000eb32904758a85e62f6ea9483f89d5dabfc","status":"affected","versionType":"git"},{"version":"5b3609d9b9650bdea0bfdf643e0ce57e1aed67fc","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["mm/damon/sysfs.c"],"versions":[{"version":"6.18","status":"affected"},{"version":"0","lessThan":"6.18","status":"unaffected","versionType":"semver"},{"version":"6.18.21","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"6.19.11","lessThanOrEqual":"6.19.*","status":"unaffected","versionType":"semver"},{"version":"7.0","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"6.18.21"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"6.19.11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"7.0"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.17.6"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/e9de9f3ce06b133a348006668bc8d25c6e504867"},{"url":"https://git.kernel.org/stable/c/f76f0a964bc3d7b7e253b43c669c41356bc54e71"},{"url":"https://git.kernel.org/stable/c/7fe000eb32904758a85e62f6ea9483f89d5dabfc"}],"title":"mm/damon/sysfs: fix param_ctx leak on damon_sysfs_new_test_ctx() failure","x_generator":{"engine":"bippy-1.2.0"}}}}