CVEvulnerability

CVE-2026-53335

5.5 MEDIUM Published 2026-07-01 Modified 2026-07-23 Official page ↗
Status
Analyzed
Published
2026-07-01
Last modified
2026-07-23
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-476

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.

Affected configurations

• linux linux kernel (>= 6.18 < 6.18.36) • linux linux kernel (>= 6.19 < 7.0.13) • linux linux kernel 7.1

Related

Weakness · CWE (1)

  • CWE-476 NULL Pointer Dereference weakness

References