Import Source
https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-40322.json
JSON Data
https://api.test.osv.dev/v1/vulns/AZL-40322
Upstream
Published
2024-05-01T13:15:50Z
Modified
2026-04-01T05:14:00.236346Z
Summary
CVE-2024-27058 affecting package hyperv-daemons for versions less than 6.6.29.1-1
Details

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 rbtree root node must also be protected by the dqopt->dqiosem, otherwise, giving the right timing, shmemreleasedquot() 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 - shmemreleasedquot() - 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.
References

Affected packages

Azure Linux:3 / hyperv-daemons

Package

Name
hyperv-daemons
Purl
pkg:rpm/azure-linux/hyperv-daemons

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.6.29.1-1

Database specific

source
"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-40322.json"