ceph: fix race condition validating r_parent before applying state
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 5 fixed, 4 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.
Summary
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. ]
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 2.6.34 and later | 6.6.160, 6.12.48, 6.16.8, 6.17 | Patch available | CNA |
- Linux VendorLinux Affected 2.6.34 and later Fixed in 6.6.160, 6.12.48, 6.16.8, 6.17 Patch available CNA
CPE configurations NVD · 13
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 2.6.35 to before 6.12.48; 6.13 to before 6.16.8 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:2.6.34:-:*:*:*:*:*:* | 2.6.34 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:2.6.34:rc2:*:*:*:*:*:* | 2.6.34 rc2 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:2.6.34:rc3:*:*:*:*:*:* | 2.6.34 rc3 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:2.6.34:rc4:*:*:*:*:*:* | 2.6.34 rc4 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:2.6.34:rc5:*:*:*:*:*:* | 2.6.34 rc5 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:2.6.34:rc6:*:*:*:*:*:* | 2.6.34 rc6 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:2.6.34:rc7:*:*:*:*:*:* | 2.6.34 rc7 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:* | 6.17 rc1 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.17:rc2:*:*:*:*:*:* | 6.17 rc2 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 2.6.35 to before 6.12.48; 6.13 to before 6.16.8 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:2.6.34:-:*:*:*:*:*:* Versions 2.6.34 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:2.6.34:rc2:*:*:*:*:*:* Versions 2.6.34 rc2 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:2.6.34:rc3:*:*:*:*:*:* Versions 2.6.34 rc3 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:2.6.34:rc4:*:*:*:*:*:* Versions 2.6.34 rc4 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:2.6.34:rc5:*:*:*:*:*:* Versions 2.6.34 rc5 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:2.6.34:rc6:*:*:*:*:*:* Versions 2.6.34 rc6 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:2.6.34:rc7:*:*:*:*:*:* Versions 2.6.34 rc7 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:* Versions 6.17 rc1 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.17:rc2:*:*:*:*:*:* Versions 6.17 rc2 Vulnerable ·Linux
Remediation
- Fix · CNA Linux (Linux) Fixed in 6.6.160, 6.12.48, 6.16.8, 6.17
Red Hat 1 advisory
- RHSA-2025:17241 Released 2025-10-02 · Red Hat rating Moderatekernel security update
- Red Hat CodeReady Linux Builder EUS (v.9.4) kernel-tools-libs-devel-5.14.0-427.92.1.el9_4, libperf-5.14.0-427.92.1.el9_4
- Red Hat Enterprise Linux AppStream EUS (v.9.4) kernel-64k-debug-devel-5.14.0-427.92.1.el9_4, kernel-64k-debug-devel-matched-5.14.0-427.92.1.el9_4, kernel-64k-devel-5.14.0-427.92.1.el9_4 +11
- Red Hat Enterprise Linux BaseOS EUS (v.9.4) bpftool-7.3.0-427.92.1.el9_4, kernel-5.14.0-427.92.1.el9_4, kernel-64k-5.14.0-427.92.1.el9_4 +29
- Red Hat Enterprise Linux Real Time EUS (v.9.4) kernel-rt-5.14.0-427.92.1.el9_4, kernel-rt-core-5.14.0-427.92.1.el9_4, kernel-rt-debug-5.14.0-427.92.1.el9_4 +9
- Red Hat Enterprise Linux Real Time for NFV EUS (v.9.4) kernel-rt-5.14.0-427.92.1.el9_4, kernel-rt-core-5.14.0-427.92.1.el9_4, kernel-rt-debug-5.14.0-427.92.1.el9_4 +11
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 7 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
| Red Hat CodeReady Linux Builder EUS (v.9.4) | Fixed | RHSA-2025:17241 |
| Red Hat Enterprise Linux AppStream EUS (v.9.4) | Fixed | RHSA-2025:17241 |
| Red Hat Enterprise Linux BaseOS EUS (v.9.4) | Fixed | RHSA-2025:17241 |
| Red Hat Enterprise Linux Real Time EUS (v.9.4) | Fixed | RHSA-2025:17241 |
| Red Hat Enterprise Linux Real Time for NFV EUS (v.9.4) | Fixed | RHSA-2025:17241 |
Not affected: 1 product
- Red Hat Enterprise Linux 6
Timeline
- 2026-10-02 Threatist record created from CVE-2025-39927
- 2026-10-03 Alias added: GHSA-7jh2-8xqp-qc8p
- 2026-10-21 Fix available: Linux/[email protected], Linux/Linux@dc5aad078abc416dd3d555c50f5308c16ba918a7 · CNA
- 2026-10-21 1 new reference · CNA
References
Patch 3
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2025-39927 · CVE Program
- CVE-2025-39927 · NVD
- FIRST EPSS
- GHSA-7jh2-8xqp-qc8p · GitHub Advisory Database · CC BY 4.0
- CVE-2025-39927 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences