CVE Database›CVE-2026-31458

CVE-2026-31458

kernel: mm/damon/sysfs: check contexts->nr before accessing contexts_arr[0]

Loading…

Severity

Moderate

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · April 22, 2026

Updated · June 28, 2026

Description

A flaw was found in the Linux kernel. A privileged local user can exploit this by manipulating the nr_contexts parameter in the mm/damon/sysfs interface to zero while the DAMON (Data Access MONitor) subsystem is active. This leads to a null pointer dereference when certain sysfs commands are subsequently executed, potentially causing a system crash and a Denial of Service (DoS).

Statement

Moderate: A null pointer dereference in the Linux kernel's DAMON subsystem can cause a system crash, leading to a Denial of Service. This vulnerability requires a privileged local attacker to enable DAMON and then specifically manipulate its sysfs interface. Red Hat Enterprise Linux 9 and 10, and Red Hat In-Vehicle OS are affected.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

To mitigate this issue, avoid activating the DAMON (Data Access MONitor) subsystem if its functionality is not required. The vulnerability can only be exploited when DAMON is active, allowing a privileged local attacker to trigger a system crash by manipulating its sysfs interface.

CVSS / CWE

CVSS 3.1 · 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CWE-476 · NULL Pointer Dereference