CVE-2026-46087

mm/damon/stat: fix memory leak on damon_start() failure in damon_stat_start()

State
Published
Severity
Not scored
Published
May 27, 2026
Updated
Jun 14, 2026
Reserved
May 13, 2026

Read the record on cve.org

Description

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

mm/damon/stat: fix memory leak on damon_start() failure in damon_stat_start()

Destroy the DAMON context and reset the global pointer when damon_start() fails. Otherwise, the context allocated by damon_stat_build_ctx() is leaked, and the stale damon_stat_context pointer will be overwritten on the next enable attempt, making the old allocation permanently unreachable.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 369c415e60732b7c8ed33368891581246f580d7a to before 8a62c58411cbd748d7aeab0e5b0963e33ff47a7aAffected
  • 369c415e60732b7c8ed33368891581246f580d7a to before 50bc1d7e0f3bb6932c8dc5da0907eead0790176bAffected
  • 369c415e60732b7c8ed33368891581246f580d7a to before e04ed278d25bf15769800bf6e35c6737f137186fAffected
LinuxLinux
  • 6.17Affected
  • before 6.17Not affected
  • 6.18.27 through 6.18.*Not affected
  • 7.0.4 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.