CVE-2026-139198

Source
https://cve.org/CVERecord?id=CVE-2026-139198
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139198.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139198
Downstream
Published
2026-11-30T13:32:29Z
Modified
2026-11-30T15:02:27Z
Summary
ceph: wait for pending fscache write in write_folio_nounlock()
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139198.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
1702e79734104d711a84ff55bd6a93c21947bc01
Fixed
50144d879dd560f8159bd2693c27117682831cea
Fixed
ae64bc161e68feb6b83a331db45af372e02f3470
Fixed
c335168835626e75adb726a35b82d0c50abe16d1
Fixed
3f7655f0d9186656c6f1cbc012a39c866d4aaabf

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139198.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.17.0
Fixed
6.12.120
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139198.json"