CVE Database›Document archive›CVE-2025-40195

CVE-2025-40195

kernel: Linux kernel: NULL pointer dereference in mount leads to local denial of service

Loading…

Severity

Moderate

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · November 12, 2025

Updated · June 30, 2026

Description

A flaw was found in kernel. This vulnerability allows local denial-of-service via a NULL pointer dereference in pid_nr_ns() when called with a NULL PID namespace.

Statement

The vulnerability is a NULL pointer dereference in pid_nr_ns() when it is called with a NULL PID namespace, leading to a kernel panic from paths such as __task_pid_nr_ns() on certain platforms. In realistic setups, this is a local denial-of-service issue, likely requiring specific kernel configuration or privileges to trigger reliably. In a worst-case scenario where unprivileged users can reach this path in a controlled way, any local user could crash the system.

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

No mitigation is specified in collected source.

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