Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
CVE Vulnerability Details :
CVE-2026-31459
PUBLISHED
More InfoOfficial Page
Assigner-Linux
Assigner Org ID-416baaa9-dc9f-4396-8d5f-8c081fb06d67
View Known Exploited Vulnerability (KEV) details
Published At-22 Apr, 2026 | 13:53
Updated At-22 Apr, 2026 | 13:53
Rejected At-
▼CVE Numbering Authority (CNA)
mm/damon/sysfs: fix param_ctx leak on damon_sysfs_new_test_ctx() failure

In the Linux kernel, the following vulnerability has been resolved: mm/damon/sysfs: fix param_ctx leak on damon_sysfs_new_test_ctx() failure Patch series "mm/damon/sysfs: fix memory leak and NULL dereference issues", v4. DAMON_SYSFS can leak memory under allocation failure, and do NULL pointer dereference when a privileged user make wrong sequences of control. Fix those. This patch (of 3): When damon_sysfs_new_test_ctx() fails in damon_sysfs_commit_input(), param_ctx is leaked because the early return skips the cleanup at the out label. Destroy param_ctx before returning.

Affected Products
Vendor
Linux Kernel Organization, IncLinux
Product
Linux
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Program Files
  • mm/damon/sysfs.c
Default Status
unaffected
Versions
Affected
  • From f0c5118ebb0eb7e4fd6f0d2ace3315ca141b317f before e9de9f3ce06b133a348006668bc8d25c6e504867 (git)
  • From f0c5118ebb0eb7e4fd6f0d2ace3315ca141b317f before f76f0a964bc3d7b7e253b43c669c41356bc54e71 (git)
  • From f0c5118ebb0eb7e4fd6f0d2ace3315ca141b317f before 7fe000eb32904758a85e62f6ea9483f89d5dabfc (git)
  • 5b3609d9b9650bdea0bfdf643e0ce57e1aed67fc (git)
Vendor
Linux Kernel Organization, IncLinux
Product
Linux
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Program Files
  • mm/damon/sysfs.c
Default Status
affected
Versions
Affected
  • 6.18
Unaffected
  • From 0 before 6.18 (semver)
  • From 6.18.21 through 6.18.* (semver)
  • From 6.19.11 through 6.19.* (semver)
  • From 7.0 through * (original_commit_for_fix)
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://git.kernel.org/stable/c/e9de9f3ce06b133a348006668bc8d25c6e504867
N/A
https://git.kernel.org/stable/c/f76f0a964bc3d7b7e253b43c669c41356bc54e71
N/A
https://git.kernel.org/stable/c/7fe000eb32904758a85e62f6ea9483f89d5dabfc
N/A
Hyperlink: https://git.kernel.org/stable/c/e9de9f3ce06b133a348006668bc8d25c6e504867
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/f76f0a964bc3d7b7e253b43c669c41356bc54e71
Resource: N/A
Hyperlink: https://git.kernel.org/stable/c/7fe000eb32904758a85e62f6ea9483f89d5dabfc
Resource: N/A
Details not found