{"id":"CVE-2026-139198","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-30T14:18:39.387","lastModified":"2026-12-01T06:17:38.697","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nceph: wait for pending fscache write in write_folio_nounlock()\n\nwrite_folio_nounlock() marks the folio with PG_private_2 via\nceph_set_page_fscache() and starts an async write to the cache via\nceph_fscache_write_to_cache(). PG_private_2 is only cleared once that\nwrite completes.\n\nIf the OSD write fails, the error paths return without waiting for the\ncache write. On retry, ceph_find_incompatible() would wait for\nwriteback, but not for PG_private_2, before calling\nwrite_folio_nounlock() again, which would trip the VM_BUG_ON_FOLIO() in\nfolio_start_private_2().\n\nWait for any pending cache write before starting writeback on the\nfolio. Do so before bumping the writeback congestion count and\nallocating the possibly mempool-backed OSD request, so that a thread\nsleeping on the cache I/O does not hold either while it waits.\nAdd ceph_folio_wait_fscache(), a wrapper for folio_wait_private_2(), and\nuse it."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["fs/ceph/addr.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"1702e79734104d711a84ff55bd6a93c21947bc01","lessThan":"50144d879dd560f8159bd2693c27117682831cea","versionType":"git","status":"affected"},{"version":"1702e79734104d711a84ff55bd6a93c21947bc01","lessThan":"ae64bc161e68feb6b83a331db45af372e02f3470","versionType":"git","status":"affected"},{"version":"1702e79734104d711a84ff55bd6a93c21947bc01","lessThan":"c335168835626e75adb726a35b82d0c50abe16d1","versionType":"git","status":"affected"},{"version":"1702e79734104d711a84ff55bd6a93c21947bc01","lessThan":"3f7655f0d9186656c6f1cbc012a39c866d4aaabf","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["fs/ceph/addr.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"5.17","status":"affected"},{"version":"0","lessThan":"5.17","versionType":"semver","status":"unaffected"},{"version":"6.12.120","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.65","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.0,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.0,"impactScore":5.9}]},"references":[{"url":"https://git.kernel.org/stable/c/3f7655f0d9186656c6f1cbc012a39c866d4aaabf","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/50144d879dd560f8159bd2693c27117682831cea","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/ae64bc161e68feb6b83a331db45af372e02f3470","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/c335168835626e75adb726a35b82d0c50abe16d1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}