CVE-2026-53335

mm/damon/lru_sort: handle ctx allocation failure

Published Jul 1, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

mm/damon/lru_sort: handle ctx allocation failure

DAMON_LRU_SORT allocates the damon_ctx object for its kdamond in its init
function. damon_lru_sort_enabled_store() wrongly assumes the allocation
will always succeed once tried. If the damon_ctx allocation was failed,
therefore, code execution reaches to damon_commit_ctx() while 'ctx' is
NULL. As a result, it dereferences the NULL 'ctx' pointer. Avoid the
NULL dereference by returning -ENOMEM if 'ctx' is NULL.

Analysis

AI-generated

Technical impact

In the Linux kernel, the DAMON LRU SORT component allocates a damon_ctx object during initialization. The init code assumes that the allocation always succeeds, but when a memory allocation failure occurs, the subsequent call to damon_commit_ctx dereferences a NULL pointer, causing a kernel panic that brings the system down and results in a denial‑of‑service condition.

Affected Systems

The vulnerability is present in the mainline Linux kernel wherever the DAMON LRU SORT functionality is compiled. All kernels containing this code path, without the patch, are potentially impacted until an updated kernel is deployed.

Risk and Exploitability

The EPSS score is below 1%, indicating a very low probability of exploitation, and the flaw is not listed in CISA’s KEV catalog. The CVSS score of 5.5 classifies it as medium severity. The likely attack vector is local or privileged; an attacker can trigger the enabled_store interface, causing a failed allocation under low‑memory conditions, or simply wait for an allocation failure to occur naturally, which would then lead to a kernel panic and loss of availability.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a Linux kernel update that includes the DAMON LRU SORT allocation failure fix.
  • Reboot the system so the patched kernel is loaded.
  • If an immediate update is unavailable, disable the DAMON LRU SORT feature via kernel configuration or sysfs to avoid the fault path, or coordinate a backport of the patch with maintainers.

Generated by OpenCVE AI on August 12, 2026 at 08:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8726-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8727-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-1 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-8760-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8726-2 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-8726-3 Linux kernel (IBM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8800-1 Linux kernel (NVIDIA BaseOS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8760-2 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8726-4 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-3 Linux kernel (Oracle) vulnerabilities
History
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: mm/damon/lru_sort: handle ctx allocation failure DAMON_LRU_SORT allocates the damon_ctx object for its kdamond in its init function. damon_lru_sort_enabled_store() wrongly assumes the allocation will always succeed once tried. If the damon_ctx allocation was failed, therefore, code execution reaches to damon_commit_ctx() while 'ctx' is NULL. As a result, it dereferences the NULL 'ctx' pointer. Avoid the NULL dereference by returning -ENOMEM if 'ctx' is NULL.
Title mm/damon/lru_sort: handle ctx allocation failure
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Jul 1, 2026, 1:32 PM
Reserved
Jun 9, 2026, 7:44 AM
Status
Analyzed
Published
Jul 1, 2026, 2:16 PM
Modified
Jul 23, 2026, 9:33 PM
Severity
Public date
Jul 1, 2026, 12:00 AM