All reports
Medium

kernel: listmount: don't call path_put() under namespace semaphore

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-40203

Probability of exploitation in the next 30 days: 0.15%

FIRST EPSS · 2026-11-19

Description

In the Linux kernel, the following vulnerability has been resolved: listmount: don't call path_put() under namespace semaphore Massage listmount() and make sure we don't call path_put() under the namespace semaphore. If we put the last reference we're fscked.

A flaw was found in the Linux kernel’s listmount() function: the code calls path_put() while holding the namespace semaphore. Under certain conditions, this can drop the final reference to a path object inappropriately, leading to unstable behavior in mount/namespace operations.