Read the docs

Race in Linux kernel Ceph client can crash the kernel on retried writes

Priority MEDIUM 46Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
High
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA.

Summary

Linux kernel from 5.17 is affected. In the Ceph filesystem client, write_folio_nounlock() can start a new cache write on a folio whose previous cache write is still pending after an OSD write failure. A local user with low privileges can trigger a kernel crash (CWE-missing wait for pending operation). Retried writes can hit a VM_BUG_ON_FOLIO() check and crash the system.

Written with Claude Haiku 5.5 from the sources below · 2026-12-01

Description from the CNA

In the Linux kernel, the following vulnerability has been resolved: ceph: wait for pending fscache write in write_folio_nounlock() write_folio_nounlock() marks the folio with PG_private_2 via ceph_set_page_fscache() and starts an async write to the cache via ceph_fscache_write_to_cache(). PG_private_2 is only cleared once that write completes. If the OSD write fails, the error paths return without waiting for the cache write. On retry, ceph_find_incompatible() would wait for writeback, but not for PG_private_2, before calling write_folio_nounlock() again, which would trip the VM_BUG_ON_FOLIO() in folio_start_private_2(). Wait for any pending cache write before starting writeback on the folio. Do so before bumping the writeback congestion count and allocating the possibly mempool-backed OSD request, so that a thread sleeping on the cache I/O does not hold either while it waits. Add ceph_folio_wait_fscache(), a wrapper for folio_wait_private_2(), and use it.

Why it matters now

Fix Fixed Linux (Linux): 6.12.120, 6.18.65, 7.3.6 +1

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
LinuxLinux5.17 and later6.12.120, 6.18.65, 7.3.6, 7.4-rc1Patch availableCNA
  • Linux VendorLinux Affected 5.17 and later Fixed in 6.12.120, 6.18.65, 7.3.6, 7.4-rc1 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*——Linux
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions — — ·Linux

Remediation

Fixed in Linux kernel 6.12.120, 6.18.65, 7.3.6 and 7.4-rc1. Upgrade to one of these versions or a later release.

Written with Claude Haiku 5.5 from the sources below · 2026-12-01

  • Fix · CNA Linux (Linux) Fixed in 6.12.120, 6.18.65, 7.3.6, 7.4-rc1

Timeline

  1. 2026-11-30 Threatist record created from CVE-2026-139198
  2. 2026-11-30 Alias added: GHSA-4rcw-7jjv-x3rq
  3. 2026-12-01 CVSS score added · CNA

References

  • TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
  • TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
  • TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
  • TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
  • TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
See all 23530 →

Sources