CVE-2026-53335 mm/damon/lru_sort: handle ctx allocation failure

Medium 5.5 Published Updated

A null pointer dereference in the Linux kernel DAMON LRU sort module can cause a system crash if context allocation fails.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-53335?

CVE-2026-53335 is a medium-severity vulnerability in Linux kernel, published on 1 Jul 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-476

Which versions are affected by CVE-2026-53335?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2026-53335?

Apply the vendor's patch.

Is CVE-2026-53335 being exploited?

There is no known exploitation of CVE-2026-53335 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2026-53335, DEBIAN-CVE-2026-53335, GHSA-wxxm-77v6-p8hq, UBUNTU-CVE-2026-53335.

Is CVE-2026-53335 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free