CVE Catalog

CVE-2024-27058

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.48%

39th percentile - higher than 39% of all known CVEs

Summary

In the Linux kernel, the tmpfs filesystem has a race condition when handling the dquot rbtree. Fetching the root node is not protected by the dqio_sem semaphore, which can lead to errors and warnings.

Risk Assessment

This could cause incorrect behavior of tmpfs and potentially a system crash.

Recommendation

Apply the Linux kernel patch that ensures dqio_sem protection during rbtree operations.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: tmpfs: fix race on handling dquot rbtree A syzkaller reproducer found a race while attempting to remove dquot information from the rb tree. Fetching the rb_tree root node must also be protected by the dqopt->dqio_sem, otherwise, giving the right timing, shmem_release_dquot() will trigger a warning because it couldn't find a node in the tree, when the real reason was the root node changing before the search starts: Thread 1 Thread 2 - shmem_release_dquot() - shmem_{acquire,release}_dquot() - fetch ROOT - Fetch ROOT - acquire dqio_sem - wait dqio_sem - do something, triger a tree rebalance - release dqio_sem - acquire dqio_sem - start searching for the node, but from the wrong location, missing the node, and triggering a warning.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS