Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-27058

published high CVSS 3.1 · 7.8

tmpfs: fix race on handling dquot rbtree

Published
01 May 2024, 13:00:06 UTC
Updated
05 Aug 2026, 11:29:17 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxeafc474e202978ac735c551d5ee1eb8c02e2be54 to < c7077f43f30d817d10a9f8245e51576ac114b2f0 · eafc474e202978ac735c551d5ee1eb8c02e2be54 to < 617d55b90e73c7b4aa2733ca6cc3f9b72d1124bb · eafc474e202978ac735c551d5ee1eb8c02e2be54 to < f82f184874d2761ebaa60dccf577921a0dbb3810 · eafc474e202978ac735c551d5ee1eb8c02e2be54 to < 0a69b6b3a026543bc215ccc866d0aea5579e6ce2 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.6 (affected) · 0 to < 6.6 (unaffected · semver) · 6.6.24 through 6.6.* (unaffected · semver) · 6.7.12 through 6.7.* (unaffected · semver) · 6.8.3 through 6.8.* (unaffected · semver) · 6.9 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Ubuntu noble linux Advisory build 6.8.0-35.35 USN-6816-1
Ubuntu noble linux-aws Advisory build 6.8.0-1009.9 USN-6817-1
Ubuntu noble linux-aws-cloud-tools-6.8.0-1009 Advisory build 6.8.0-1009.9 USN-6817-1
Ubuntu noble linux-aws-headers-6.8.0-1009 Advisory build 6.8.0-1009.9 USN-6817-1
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu noble linux-aws-tools-6.8.0-1009 Advisory build 6.8.0-1009.9 USN-6817-1
Ubuntu noble linux-azure Advisory build 6.8.0-1008.8 USN-6817-3
Ubuntu noble linux-azure-cloud-tools-6.8.0-1008 Advisory build 6.8.0-1008.8 USN-6817-3
Ubuntu noble linux-azure-headers-6.8.0-1008 Advisory build 6.8.0-1008.8 USN-6817-3
Ubuntu noble linux-azure-tools-6.8.0-1008 Advisory build 6.8.0-1008.8 USN-6817-3
Ubuntu noble linux-buildinfo-6.8.0-1004-gke Advisory build 6.8.0-1004.7 USN-6817-3
Ubuntu noble linux-buildinfo-6.8.0-1005-raspi Advisory build 6.8.0-1005.5 USN-6816-1
Ubuntu noble linux-buildinfo-6.8.0-1006-ibm Advisory build 6.8.0-1006.6 USN-6816-1
Ubuntu noble linux-buildinfo-6.8.0-1006-oem Advisory build 6.8.0-1006.6 USN-6817-2
Ubuntu noble linux-buildinfo-6.8.0-1006-oracle Advisory build 6.8.0-1006.6 USN-6878-1
Ubuntu noble linux-buildinfo-6.8.0-1006-oracle-64k Advisory build 6.8.0-1006.6 USN-6878-1
Ubuntu noble linux-buildinfo-6.8.0-1008-azure Advisory build 6.8.0-1008.8 USN-6817-3
Ubuntu noble linux-buildinfo-6.8.0-1008-gcp Advisory build 6.8.0-1008.9 USN-6817-1
Ubuntu noble linux-buildinfo-6.8.0-1009-aws Advisory build 6.8.0-1009.9 USN-6817-1
Ubuntu noble linux-buildinfo-6.8.0-35-generic Advisory build 6.8.0-35.35 USN-6816-1
Ubuntu noble linux-buildinfo-6.8.0-35-generic-64k Advisory build 6.8.0-35.35 USN-6816-1
Ubuntu noble linux-buildinfo-6.8.0-35-lowlatency Advisory build 6.8.0-35.35.1 USN-6816-1
Ubuntu noble linux-buildinfo-6.8.0-35-lowlatency-64k Advisory build 6.8.0-35.35.1 USN-6816-1
Ubuntu noble linux-cloud-tools-6.8.0-1008-azure Advisory build 6.8.0-1008.8 USN-6817-3
Ubuntu noble linux-cloud-tools-6.8.0-1009-aws Advisory build 6.8.0-1009.9 USN-6817-1
Ubuntu noble linux-cloud-tools-6.8.0-35 Advisory build 6.8.0-35.35 USN-6816-1
Ubuntu noble linux-cloud-tools-6.8.0-35-generic Advisory build 6.8.0-35.35 USN-6816-1
Ubuntu noble linux-cloud-tools-6.8.0-35-lowlatency Advisory build 6.8.0-35.35.1 USN-6816-1
Ubuntu noble linux-cloud-tools-common Advisory build 6.8.0-35.35 USN-6816-1
Ubuntu noble linux-gcp Advisory build 6.8.0-1008.9 USN-6817-1
Ubuntu noble linux-gcp-headers-6.8.0-1008 Advisory build 6.8.0-1008.9 USN-6817-1
Ubuntu noble linux-gcp-tools-6.8.0-1008 Advisory build 6.8.0-1008.9 USN-6817-1
Ubuntu noble linux-gke Advisory build 6.8.0-1004.7 USN-6817-3
Ubuntu noble linux-gke-headers-6.8.0-1004 Advisory build 6.8.0-1004.7 USN-6817-3
Ubuntu noble linux-gke-tools-6.8.0-1004 Advisory build 6.8.0-1004.7 USN-6817-3
Ubuntu noble linux-headers-6.8.0-1004-gke Advisory build 6.8.0-1004.7 USN-6817-3
Ubuntu noble linux-headers-6.8.0-1005-raspi Advisory build 6.8.0-1005.5 USN-6816-1
Ubuntu noble linux-headers-6.8.0-1006-ibm Advisory build 6.8.0-1006.6 USN-6816-1
Ubuntu noble linux-headers-6.8.0-1006-oem Advisory build 6.8.0-1006.6 USN-6817-2
Ubuntu noble linux-headers-6.8.0-1006-oracle Advisory build 6.8.0-1006.6 USN-6878-1
Ubuntu noble linux-headers-6.8.0-1006-oracle-64k Advisory build 6.8.0-1006.6 USN-6878-1
Ubuntu noble linux-headers-6.8.0-1008-azure Advisory build 6.8.0-1008.8 USN-6817-3
Ubuntu noble linux-headers-6.8.0-1008-gcp Advisory build 6.8.0-1008.9 USN-6817-1
Ubuntu noble linux-headers-6.8.0-1009-aws Advisory build 6.8.0-1009.9 USN-6817-1
Ubuntu noble linux-headers-6.8.0-35 Advisory build 6.8.0-35.35 USN-6816-1
Ubuntu noble linux-headers-6.8.0-35-generic Advisory build 6.8.0-35.35 USN-6816-1
Ubuntu noble linux-headers-6.8.0-35-generic-64k Advisory build 6.8.0-35.35 USN-6816-1
Ubuntu noble linux-headers-6.8.0-35-lowlatency Advisory build 6.8.0-35.35.1 USN-6816-1
Ubuntu noble linux-headers-6.8.0-35-lowlatency-64k Advisory build 6.8.0-35.35.1 USN-6816-1
Ubuntu noble linux-ibm Advisory build 6.8.0-1006.6 USN-6816-1
Ubuntu noble linux-ibm-cloud-tools-common Advisory build 6.8.0-1006.6 USN-6816-1
Ubuntu noble linux-ibm-headers-6.8.0-1006 Advisory build 6.8.0-1006.6 USN-6816-1
Ubuntu noble linux-ibm-source-6.8.0 Advisory build 6.8.0-1006.6 USN-6816-1
Ubuntu noble linux-ibm-tools-6.8.0-1006 Advisory build 6.8.0-1006.6 USN-6816-1
Ubuntu noble linux-image-6.8.0-1005-raspi Advisory build 6.8.0-1005.5 USN-6816-1
Ubuntu noble linux-image-6.8.0-35-generic Advisory build 6.8.0-35.35 USN-6816-1
Ubuntu noble linux-image-unsigned-6.8.0-1004-gke Advisory build 6.8.0-1004.7 USN-6817-3
Ubuntu noble linux-image-unsigned-6.8.0-1006-ibm Advisory build 6.8.0-1006.6 USN-6816-1
Ubuntu noble linux-image-unsigned-6.8.0-1006-oem Advisory build 6.8.0-1006.6 USN-6817-2
Ubuntu noble linux-image-unsigned-6.8.0-1006-oracle Advisory build 6.8.0-1006.6 USN-6878-1
Ubuntu noble linux-image-unsigned-6.8.0-1006-oracle-64k Advisory build 6.8.0-1006.6 USN-6878-1
Ubuntu noble linux-image-unsigned-6.8.0-1008-azure Advisory build 6.8.0-1008.8 USN-6817-3
Ubuntu noble linux-image-unsigned-6.8.0-1008-gcp Advisory build 6.8.0-1008.9 USN-6817-1
Ubuntu noble linux-image-unsigned-6.8.0-1009-aws Advisory build 6.8.0-1009.9 USN-6817-1
Ubuntu noble linux-image-unsigned-6.8.0-35-generic Advisory build 6.8.0-35.35 USN-6816-1
Ubuntu noble linux-image-unsigned-6.8.0-35-generic-64k Advisory build 6.8.0-35.35 USN-6816-1
Ubuntu noble linux-image-unsigned-6.8.0-35-lowlatency Advisory build 6.8.0-35.35.1 USN-6816-1
Ubuntu noble linux-image-unsigned-6.8.0-35-lowlatency-64k Advisory build 6.8.0-35.35.1 USN-6816-1
Ubuntu noble linux-lib-rust-6.8.0-35-generic Advisory build 6.8.0-35.35 USN-6816-1
Ubuntu noble linux-lowlatency Advisory build 6.8.0-35.35.1 USN-6816-1
Ubuntu noble linux-lowlatency-cloud-tools-6.8.0-35 Advisory build 6.8.0-35.35.1 USN-6816-1
Ubuntu noble linux-lowlatency-cloud-tools-common Advisory build 6.8.0-35.35.1 USN-6816-1
Ubuntu noble linux-lowlatency-headers-6.8.0-35 Advisory build 6.8.0-35.35.1 USN-6816-1
Ubuntu noble linux-lowlatency-lib-rust-6.8.0-35-lowlatency Advisory build 6.8.0-35.35.1 USN-6816-1
Ubuntu noble linux-lowlatency-tools-6.8.0-35 Advisory build 6.8.0-35.35.1 USN-6816-1
Ubuntu noble linux-lowlatency-tools-common Advisory build 6.8.0-35.35.1 USN-6816-1
Ubuntu noble linux-lowlatency-tools-host Advisory build 6.8.0-35.35.1 USN-6816-1
Ubuntu noble linux-modules-6.8.0-1004-gke Advisory build 6.8.0-1004.7 USN-6817-3
Ubuntu noble linux-modules-6.8.0-1005-raspi Advisory build 6.8.0-1005.5 USN-6816-1
Ubuntu noble linux-modules-6.8.0-1006-ibm Advisory build 6.8.0-1006.6 USN-6816-1
Ubuntu noble linux-modules-6.8.0-1006-oem Advisory build 6.8.0-1006.6 USN-6817-2
Ubuntu noble linux-modules-6.8.0-1006-oracle Advisory build 6.8.0-1006.6 USN-6878-1
Ubuntu noble linux-modules-6.8.0-1006-oracle-64k Advisory build 6.8.0-1006.6 USN-6878-1
Ubuntu noble linux-modules-6.8.0-1008-azure Advisory build 6.8.0-1008.8 USN-6817-3
Ubuntu noble linux-modules-6.8.0-1008-gcp Advisory build 6.8.0-1008.9 USN-6817-1
Ubuntu noble linux-modules-6.8.0-1009-aws Advisory build 6.8.0-1009.9 USN-6817-1
Ubuntu noble linux-modules-6.8.0-35-generic Advisory build 6.8.0-35.35 USN-6816-1
Ubuntu noble linux-modules-6.8.0-35-generic-64k Advisory build 6.8.0-35.35 USN-6816-1
Ubuntu noble linux-modules-6.8.0-35-lowlatency Advisory build 6.8.0-35.35.1 USN-6816-1
Ubuntu noble linux-modules-6.8.0-35-lowlatency-64k Advisory build 6.8.0-35.35.1 USN-6816-1
Ubuntu noble linux-modules-extra-6.8.0-1004-gke Advisory build 6.8.0-1004.7 USN-6817-3
Ubuntu noble linux-modules-extra-6.8.0-1006-ibm Advisory build 6.8.0-1006.6 USN-6816-1
Ubuntu noble linux-modules-extra-6.8.0-1006-oracle Advisory build 6.8.0-1006.6 USN-6878-1
Ubuntu noble linux-modules-extra-6.8.0-1006-oracle-64k Advisory build 6.8.0-1006.6 USN-6878-1
Ubuntu noble linux-modules-extra-6.8.0-1008-azure Advisory build 6.8.0-1008.8 USN-6817-3
Ubuntu noble linux-modules-extra-6.8.0-1008-gcp Advisory build 6.8.0-1008.9 USN-6817-1
Ubuntu noble linux-modules-extra-6.8.0-1009-aws Advisory build 6.8.0-1009.9 USN-6817-1
Ubuntu noble linux-modules-extra-6.8.0-35-generic Advisory build 6.8.0-35.35 USN-6816-1
Ubuntu noble linux-modules-ipu6-6.8.0-1006-oem Advisory build 6.8.0-1006.6 USN-6817-2
Ubuntu noble linux-modules-ipu6-6.8.0-35-generic Advisory build 6.8.0-35.35 USN-6816-1
Ubuntu noble linux-modules-iwlwifi-6.8.0-1004-gke Advisory build 6.8.0-1004.7 USN-6817-3

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

5

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerable code is reached through local filesystem operations (create/chgrp/unlink) on a quota-enabled tmpfs and through the quotactl syscall; there is no network-facing path. AC:L - The attacker controls both sides of the race — spawning concurrent threads that force rb-tree insertions/rotations via dquot_initialize()/dquot_transfer() while the quota release worker walks the tree from its stale root — and the window spans two blocking lock acquisitions (dq_lock, then dqio_sem) that the attacker can widen by contending dqio_sem; a syzkaller reproducer exists. PR:L - Only an unprivileged local user with write access to the quota-enabled tmpfs is needed, since shmem_acquire_dquot()/shmem_release_dquot() run on ordinary inode creation and chown/chgrp with no capability check; enabling quota at mount time is an administrator-side deployment precondition, not an attacker privilege. UI:N - The attacker triggers the race entirely from their own processes doing normal file operations; no action by any other user is required. S:U - The corruption and crash are confined to the kernel's own memory and the tmpfs quota subsystem, with no crossing into another security authority such as a hypervisor or IOMMU boundary. C:H - Because the root is fetched outside dqio_sem, the traversal can continue into a quota_id object that a concurrent shmem_release_dquot() already rb_erase()d and kfree()d, reading entry->id and following rb_left/rb_right out of freed kmalloc-64 memory that can be groomed with attacker data, and via Q_GETNEXTQUOTA that freed content is returned to userspace as a qid. I:H - After following stale/freed tree pointers the found: path stores four attacker-influenced 64-bit limit values into the located "entry", then rb_erase()s and kfree()s it, giving writes and a free against a reallocated heap object — heap corruption exploitable beyond a simple crash. A:H - The race reliably triggers WARN_ONCE() in shmem_release_dquot() (a panic under panic_on_warn) and returns -ENOENT with DQ_ACTIVE_B still set, so quota_release_workfn() restarts on the same dquot and can spin, stalling all quota releases and blocking flush_delayed_work()/quotaoff/umount; the unlocked info->dqi_priv deref in shmem_get_next_id() also NULL-derefs before its sb_has_quota_active() check.

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 4.7 medium CISA-ADP · adp CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux eafc474e202978ac735c551d5ee1eb8c02e2be54 to < c7077f43f30d817d10a9f8245e51576ac114b2f0 (affected · git)eafc474e202978ac735c551d5ee1eb8c02e2be54 to < 617d55b90e73c7b4aa2733ca6cc3f9b72d1124bb (affected · git)eafc474e202978ac735c551d5ee1eb8c02e2be54 to < f82f184874d2761ebaa60dccf577921a0dbb3810 (affected · git)eafc474e202978ac735c551d5ee1eb8c02e2be54 to < 0a69b6b3a026543bc215ccc866d0aea5579e6ce2 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.6 (affected)0 to < 6.6 (unaffected · semver)6.6.24 through 6.6.* (unaffected · semver)6.7.12 through 6.7.* (unaffected · semver)6.8.3 through 6.8.* (unaffected · semver)6.9 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-noinfo Not enough information (CISA-ADP · adp)

References

4

Provider assertions

3

Linux · cna

tmpfs: fix race on handling dquot rbtree

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
4f57a0ba5275bb4bcc1e2aec1673b00b7cff0586bc40260b697c605ecd2564bc
Ingested
23 Sep 2026, 08:20:34 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected