{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-139389",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.931Z",
        "datePublished": "2026-11-30T13:34:18.254Z",
        "dateUpdated": "2026-11-30T13:34:18.254Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:34:18.254Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: validate chunk and block counts of the local quota file\n\nocfs2_local_read_info() trusts dqi_chunks and dqi_blocks from the local\nquota file header.  If dqi_blocks is too small,\nocfs2_extend_local_quota_file() computes a bogus chunk length, extends the\nfile, and maps logical block dqi_blocks, which is already in the inode's\nmetadata cache (the header or a chunk header read at mount).  sb_getblk()\nreturns that cached buffer and ocfs2_set_new_buffer_uptodate() hits\nBUG_ON(ocfs2_buffer_cached()):\n\n  kernel BUG at fs/ocfs2/uptodate.c:509!\n  ocfs2_extend_local_quota_file+0x45c/0x1100\n  ocfs2_create_local_dquot+0x8ac/0xb50\n  ocfs2_acquire_dquot+0x614/0xae0\n  ocfs2_get_init_inode+0xe9/0x1b0\n  ocfs2_mkdir+0x174/0x430\n\nocfs2_local_quota_add_chunk() has the same exposure.\n\nReject a header whose counts don't fit the chunk layout or exceed i_size.\n\nReproduced with a crafted image (dqi_blocks = 1, chunk 0 dqc_free = 0);\nsyzbot has no reproducer for this report."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/ocfs2/quota_local.c"
                    ],
                    "versions": [
                        {
                            "version": "9e33d69f553aaf11377307e8d6f82deb3385e351",
                            "lessThan": "e1ea7a8462b9c3495bd51d2953b4c6f767864ba6",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9e33d69f553aaf11377307e8d6f82deb3385e351",
                            "lessThan": "cff711aeeaebe97c890811570432c1a9b38b0507",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9e33d69f553aaf11377307e8d6f82deb3385e351",
                            "lessThan": "3a1b4b31fb8b2495e80cfc441eeeff7efc66aca1",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9e33d69f553aaf11377307e8d6f82deb3385e351",
                            "lessThan": "0a6b9398588bc689e1bd7753b61cf2f7880ec3a2",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9e33d69f553aaf11377307e8d6f82deb3385e351",
                            "lessThan": "a57473aba28a1720fdd3ab7f1d9a229d638a6e56",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9e33d69f553aaf11377307e8d6f82deb3385e351",
                            "lessThan": "784bafa48e475fe824556edc6f77133869d178e0",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9e33d69f553aaf11377307e8d6f82deb3385e351",
                            "lessThan": "285d5188187af8f91e7d866f3e524527cde7b181",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9e33d69f553aaf11377307e8d6f82deb3385e351",
                            "lessThan": "b10ef5d2c2083ea4c40e963c10a73a154793c5d4",
                            "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/ocfs2/quota_local.c"
                    ],
                    "versions": [
                        {
                            "version": "2.6.29",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "2.6.29",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.275",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.226",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.193",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.163",
                            "lessThanOrEqual": "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": "2.6.29",
                                    "versionEndExcluding": "5.10.275"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.29",
                                    "versionEndExcluding": "5.15.226"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.29",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.29",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.29",
                                    "versionEndExcluding": "6.12.119"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.29",
                                    "versionEndExcluding": "6.18.65"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.29",
                                    "versionEndExcluding": "7.3.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.29",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/e1ea7a8462b9c3495bd51d2953b4c6f767864ba6"
                },
                {
                    "url": "https://git.kernel.org/stable/c/cff711aeeaebe97c890811570432c1a9b38b0507"
                },
                {
                    "url": "https://git.kernel.org/stable/c/3a1b4b31fb8b2495e80cfc441eeeff7efc66aca1"
                },
                {
                    "url": "https://git.kernel.org/stable/c/0a6b9398588bc689e1bd7753b61cf2f7880ec3a2"
                },
                {
                    "url": "https://git.kernel.org/stable/c/a57473aba28a1720fdd3ab7f1d9a229d638a6e56"
                },
                {
                    "url": "https://git.kernel.org/stable/c/784bafa48e475fe824556edc6f77133869d178e0"
                },
                {
                    "url": "https://git.kernel.org/stable/c/285d5188187af8f91e7d866f3e524527cde7b181"
                },
                {
                    "url": "https://git.kernel.org/stable/c/b10ef5d2c2083ea4c40e963c10a73a154793c5d4"
                }
            ],
            "title": "ocfs2: validate chunk and block counts of the local quota file",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}