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-2025-39927

published high CVSS 3.1 · 7.8

ceph: fix race condition validating r_parent before applying state

Published
01 Oct 2025, 08:07:14 UTC
Updated
21 Oct 2026, 12:37:35 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux9030aaf9bf0a1eee47a154c316c789e959638b0f to < dc5aad078abc416dd3d555c50f5308c16ba918a7 · 9030aaf9bf0a1eee47a154c316c789e959638b0f to < db378e6f83ec705c6091c65d482d555edc2b0a72 · 9030aaf9bf0a1eee47a154c316c789e959638b0f to < 2bfe45987eb346e299d9f763f9cd05f77011519f · 9030aaf9bf0a1eee47a154c316c789e959638b0f to < 15f519e9f883b316d86e2bb6b767a023aafd9d83 · Other versions: unaffected Affected Not stated Linux
Linux — Linux2.6.34 (affected) · 0 to < 2.6.34 (unaffected · semver) · 6.6.160 through 6.6.* (unaffected · semver) · 6.12.48 through 6.12.* (unaffected · semver) · 6.16.8 through 6.16.* (unaffected · semver) · 6.17 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2025-1227 Fixed Not stated Amazon Linux assessment
Oracle Linux 10 kernel-uekaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uekx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-coreaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Oracle Linux 10 kernel-uek-corex86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debugaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debugx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-develaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-develx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-docx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-usbaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-usbx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-wirelessaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-modules-wirelessx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-toolsaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek-toolsx86_64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek64kaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek64k-coreaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek64k-develaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek64k-modulesaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek64k-modules-coreaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek64k-modules-deprecatedaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek64k-modules-desktopaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek64k-modules-extraaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek64k-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek64k-modules-usbaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 10 kernel-uek64k-modules-wirelessaarch64 Advisory build 0:6.12.0-105.51.5.el10uek ELSA-2025-25754
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-coreaarch64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-corex86_64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-debugaarch64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-debugx86_64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-develaarch64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-develx86_64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-docx86_64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754
Oracle Linux 9 kernel-uek-modules-usbaarch64 Advisory build 0:6.12.0-105.51.5.el9uek ELSA-2025-25754

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

Description

In the Linux kernel, the following vulnerability has been resolved: ceph: fix race condition validating r_parent before applying state Add validation to ensure the cached parent directory inode matches the directory info in MDS replies. This prevents client-side race conditions where concurrent operations (e.g. rename) cause r_parent to become stale between request initiation and reply processing, which could lead to applying state changes to incorrect directory inodes. [ idryomov: folded a kerneldoc fixup and a follow-up fix from Alex to move CEPH_CAP_PIN reference when r_parent is updated: When the parent directory lock is not held, req->r_parent can become stale and is updated to point to the correct inode. However, the associated CEPH_CAP_PIN reference was not being adjusted. The CEPH_CAP_PIN is a reference on an inode that is tracked for accounting purposes. Moving this pin is important to keep the accounting balanced. When the pin was not moved from the old parent to the new one, it created two problems: The reference on the old, stale parent was never released, causing a reference leak. A reference for the new parent was never acquired, creating the risk of a reference underflow later in ceph_mdsc_release_request(). This patch corrects the logic by releasing the pin from the old parent and acquiring it for the new parent when r_parent is switched. This ensures reference accounting stays balanced. ]

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

19

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 race is created entirely by concurrent local syscalls (path lookup driving `ceph_d_revalidate()` and `rename()`) on a mounted CephFS; no network-facing listener is involved, as the kernel here is the client consuming replies from its trusted MDS. AC:L - The attacker controls both sides of the race — one thread forces LOOKUP requests via lease-expired path walks, another repeatedly renames the target dentry between directories — and can retry indefinitely with no cost or side effects until the window is hit. PR:L - Only an unprivileged local account with access to the CephFS mount is needed; `ceph_d_revalidate()` sets `r_parent` without `CEPH_MDS_R_PARENT_LOCKED` on every ordinary path walk, and `rename()` within the attacker's own directories suffices to win the race. UI:N - The attacker's own two threads supply both the request and the concurrent rename; no action by any other user or administrator is required beyond the CephFS mount already existing. S:U - The corruption is confined to the kernel's own inode/cap/dcache state within the same security authority; no hypervisor, IOMMU, or sandbox boundary is crossed. C:H - `ceph_fill_inode()` copies the foreign directory's mode, uid/gid, nlink, size, times, and its entire xattr blob (including security labels) onto an inode the attacker can then `stat`/`getxattr`, and the phantom caps installed by `ceph_add_cap()` make the client serve that stolen metadata indefinitely without revalidation. I:H - Ownership and permission bits of a directory inode are overwritten with another directory's values (e.g. an attacker-owned 0777 mode landing on a root-owned 0700 directory), and cap ids, snaprealm membership, and the dir-complete/empty flag are all corrupted, subverting the client's permission and consistency model. A:H - The cap id written by `ceph_add_cap()` no longer matches what the MDS issued for that inode, so cap flushes are rejected and threads block indefinitely on `i_cap_wq` (fsync/sync/umount hangs), while wrongly setting dir-complete with `i_size_write(inode, 0)` makes a live directory's entries unreachable for all users on the client.

Additional Assessments

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

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 9030aaf9bf0a1eee47a154c316c789e959638b0f to < dc5aad078abc416dd3d555c50f5308c16ba918a7 (affected · git)9030aaf9bf0a1eee47a154c316c789e959638b0f to < db378e6f83ec705c6091c65d482d555edc2b0a72 (affected · git)9030aaf9bf0a1eee47a154c316c789e959638b0f to < 2bfe45987eb346e299d9f763f9cd05f77011519f (affected · git)9030aaf9bf0a1eee47a154c316c789e959638b0f to < 15f519e9f883b316d86e2bb6b767a023aafd9d83 (affected · git)Default: unaffected Linux · cna
Linux Linux 2.6.34 (affected)0 to < 2.6.34 (unaffected · semver)6.6.160 through 6.6.* (unaffected · semver)6.12.48 through 6.12.* (unaffected · semver)6.16.8 through 6.16.* (unaffected · semver)6.17 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-362 CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') (CISA-ADP · adp)

References

4

Provider assertions

2

Linux · cna

ceph: fix race condition validating r_parent before applying state

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
fb487aa7ac4a86dd7b17c280c38ada0c0b819429ff1d29357324536aac32a166
Ingested
21 Oct 2026, 12:48:59 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