All reports
Medium

pam: allowing unprivileged user to block another user namespace

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2024-22365

Probability of exploitation in the next 30 days: 0.46%

FIRST EPSS · 2026-11-21

Description

linux-pam (aka Linux PAM) before 1.6.0 allows attackers to cause a denial of service (blocked login process) via mkfifo because the openat call (for protect_dir) lacks O_DIRECTORY.

A vulnerability was found in Linux PAM. An unprivileged user that is not yet in a corresponding mount namespace with ~/tmp mounted as a polyinstantiated dir can place a FIFO there, and a subsequent attempt to login as this user with pam_namespace configured will cause the openat() in protect_dir() to block the attempt, causing a local denial of service.