All reports
Medium

kernel: Unprivileged users able to inspect kernel stacks of arbitrary tasks

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2018-17972

Probability of exploitation in the next 30 days: 0.36%

FIRST EPSS · 2026-11-22

Description

An issue was discovered in the proc_pid_stack function in fs/proc/base.c in the Linux kernel through 4.18.11. It does not ensure that only root may inspect the kernel stack of an arbitrary task, allowing a local attacker to exploit racy stack unwinding and leak kernel task stack contents.

An issue was discovered in the proc_pid_stack function in fs/proc/base.c in the Linux kernel. An attacker with a local account can trick the stack unwinder code to leak stack contents to userspace. The fix allows only root to inspect the kernel stack of an arbitrary task.