Linux kernel: ceph: fix race condition validating r_parent before applying state
Overview
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. ]
- Published
- 10/1/2025
- Last modified
- 10/21/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
linux kernel linux | ≥ 2.6.35, < 6.12.48 | Verify advisory | Source |
linux kernel linux | ≥ 6.13, < 6.16.8 | Verify advisory | Source |
linux kernel linux | 2.6.34 | Verify advisory | Source |
linux kernel linux | 2.6.34 | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
linux kernel linux | 6.17 | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
Linux Linux | ≥ 9030aaf9bf0a1eee47a154c316c789e959638b0f, < dc5aad078abc416dd3d555c50f5308c16ba918a7 | Verify advisory | Source |
Linux Linux | ≥ 9030aaf9bf0a1eee47a154c316c789e959638b0f, < db378e6f83ec705c6091c65d482d555edc2b0a72 | Verify advisory | Source |
Linux Linux | ≥ 9030aaf9bf0a1eee47a154c316c789e959638b0f, < 2bfe45987eb346e299d9f763f9cd05f77011519f | Verify advisory | Source |
Linux Linux | ≥ 9030aaf9bf0a1eee47a154c316c789e959638b0f, < 15f519e9f883b316d86e2bb6b767a023aafd9d83 | Verify advisory | Source |
Linux Linux | 2.6.34 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.