{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-139197",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.919Z",
        "datePublished": "2026-11-30T13:32:28.645Z",
        "dateUpdated": "2026-11-30T13:32:28.645Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:32:28.645Z"
            },
            "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."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/ceph/addr.c"
                    ],
                    "versions": [
                        {
                            "version": "d55207717ded95c8f2760a30e93319fa313186e6",
                            "lessThan": "ba7bf5c68a7876f9ee6b1eabf3e55a37cf37109b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "d55207717ded95c8f2760a30e93319fa313186e6",
                            "lessThan": "69d3db3408740bdab99419b2cf65251d861ea7b5",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "d55207717ded95c8f2760a30e93319fa313186e6",
                            "lessThan": "11fdd8b32d25d3f79b611c35638a8a385ce30501",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "d55207717ded95c8f2760a30e93319fa313186e6",
                            "lessThan": "7807710d88ad03e7ca9b5f79f518f040db2a4e09",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/ceph/addr.c"
                    ],
                    "versions": [
                        {
                            "version": "6.6",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.6",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.119",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.65",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.6",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc1",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.6",
                                    "versionEndExcluding": "6.12.119"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.6",
                                    "versionEndExcluding": "6.18.65"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.6",
                                    "versionEndExcluding": "7.3.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.6",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "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"
            }
        }
    }
}