{"api_version":"1","generated_at":"2026-12-03T04:50:26+00:00","cve":"CVE-2026-139197","urls":{"html":"https://cve.report/CVE-2026-139197","api":"https://cve.report/api/cve/CVE-2026-139197.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139197","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139197"},"summary":{"title":"ceph: fix writeback_count leak when a bounce page allocation fails","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nceph: fix writeback_count leak when a bounce page allocation fails\n\nceph_process_folio_batch() calls is_write_congestion_happened(), which\nincrements fsc->writeback_count, before calling\nmove_dirty_folio_in_page_array(). If the fscrypt bounce page allocation\nthere fails, the folio is redirtied and never makes it into the page\narray, but the count is never dropped.\n\nwrite_congested is only cleared when a decrement falls below\nCONGESTION_OFF_THRESH, so the leaked counts set congestion early and\neventually leave write_congested set for good. Every WB_SYNC_NONE\nwriteback then returns 0 and background writeback stops entirely.\n\nBump the count only once the folio is in the page array.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:18:39","updated_at":"2026-11-30 14:18:39"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/69d3db3408740bdab99419b2cf65251d861ea7b5","name":"https://git.kernel.org/stable/c/69d3db3408740bdab99419b2cf65251d861ea7b5","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ba7bf5c68a7876f9ee6b1eabf3e55a37cf37109b","name":"https://git.kernel.org/stable/c/ba7bf5c68a7876f9ee6b1eabf3e55a37cf37109b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/11fdd8b32d25d3f79b611c35638a8a385ce30501","name":"https://git.kernel.org/stable/c/11fdd8b32d25d3f79b611c35638a8a385ce30501","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/7807710d88ad03e7ca9b5f79f518f040db2a4e09","name":"https://git.kernel.org/stable/c/7807710d88ad03e7ca9b5f79f518f040db2a4e09","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139197","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139197","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d55207717ded95c8f2760a30e93319fa313186e6 ba7bf5c68a7876f9ee6b1eabf3e55a37cf37109b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d55207717ded95c8f2760a30e93319fa313186e6 69d3db3408740bdab99419b2cf65251d861ea7b5 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d55207717ded95c8f2760a30e93319fa313186e6 11fdd8b32d25d3f79b611c35638a8a385ce30501 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d55207717ded95c8f2760a30e93319fa313186e6 7807710d88ad03e7ca9b5f79f518f040db2a4e09 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.6","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.119 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["fs/ceph/addr.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"ba7bf5c68a7876f9ee6b1eabf3e55a37cf37109b","status":"affected","version":"d55207717ded95c8f2760a30e93319fa313186e6","versionType":"git"},{"lessThan":"69d3db3408740bdab99419b2cf65251d861ea7b5","status":"affected","version":"d55207717ded95c8f2760a30e93319fa313186e6","versionType":"git"},{"lessThan":"11fdd8b32d25d3f79b611c35638a8a385ce30501","status":"affected","version":"d55207717ded95c8f2760a30e93319fa313186e6","versionType":"git"},{"lessThan":"7807710d88ad03e7ca9b5f79f518f040db2a4e09","status":"affected","version":"d55207717ded95c8f2760a30e93319fa313186e6","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["fs/ceph/addr.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.6"},{"lessThan":"6.6","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.119","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.119","versionStartIncluding":"6.6","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"6.6","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"6.6","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"6.6","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nceph: fix writeback_count leak when a bounce page allocation fails\n\nceph_process_folio_batch() calls is_write_congestion_happened(), which\nincrements fsc->writeback_count, before calling\nmove_dirty_folio_in_page_array(). If the fscrypt bounce page allocation\nthere fails, the folio is redirtied and never makes it into the page\narray, but the count is never dropped.\n\nwrite_congested is only cleared when a decrement falls below\nCONGESTION_OFF_THRESH, so the leaked counts set congestion early and\neventually leave write_congested set for good. Every WB_SYNC_NONE\nwriteback then returns 0 and background writeback stops entirely.\n\nBump the count only once the folio is in the page array."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:32:28.645Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/ba7bf5c68a7876f9ee6b1eabf3e55a37cf37109b"},{"url":"https://git.kernel.org/stable/c/69d3db3408740bdab99419b2cf65251d861ea7b5"},{"url":"https://git.kernel.org/stable/c/11fdd8b32d25d3f79b611c35638a8a385ce30501"},{"url":"https://git.kernel.org/stable/c/7807710d88ad03e7ca9b5f79f518f040db2a4e09"}],"title":"ceph: fix writeback_count leak when a bounce page allocation fails","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139197","datePublished":"2026-11-30T13:32:28.645Z","dateReserved":"2026-11-30T13:22:15.919Z","dateUpdated":"2026-11-30T13:32:28.645Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:18:39","lastModifiedDate":"2026-11-30 14:18:39","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139197","Ordinal":"1","Title":"ceph: fix writeback_count leak when a bounce page allocation fai","CVE":"CVE-2026-139197","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139197","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nceph: fix writeback_count leak when a bounce page allocation fails\n\nceph_process_folio_batch() calls is_write_congestion_happened(), which\nincrements fsc->writeback_count, before calling\nmove_dirty_folio_in_page_array(). If the fscrypt bounce page allocation\nthere fails, the folio is redirtied and never makes it into the page\narray, but the count is never dropped.\n\nwrite_congested is only cleared when a decrement falls below\nCONGESTION_OFF_THRESH, so the leaked counts set congestion early and\neventually leave write_congested set for good. Every WB_SYNC_NONE\nwriteback then returns 0 and background writeback stops entirely.\n\nBump the count only once the folio is in the page array.","Type":"Description","Title":"ceph: fix writeback_count leak when a bounce page allocation fai"}]}}}