CVE-2025-40228

CVE-2025-40228

published December 4, 2025

CVSS
—
EPSS
0%
Percentile
7.8
In the wild
Unconfirmed
What it is

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

mm/damon/sysfs: catch commit test ctx alloc failure

Patch series "mm/damon/sysfs: fix commit test damon_ctx [de]allocation".

DAMON sysfs interface dynamically allocates and uses a damon_ctx object

for testing if given inputs for online DAMON parameters update is valid.

The object is being used without an allocation failure check, and leaked

when the test succeeds. Fix the two bugs.

This patch (of 2):

The damon_ctx for testing online DAMON parameters commit inputs is used

without its allocation failure check. This could result in an invalid

memory access. Fix it by directly returning an error when the allocation

failed.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00186 · 7.8th percentile
Published
2025-12-04T21:16Z
References (2)
EPSS history
Timeline
  • 04 DEC 15:31Z
    mm/damon/sysfs: catch commit test ctx alloc failure
    cvelistv5