{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-139020",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.909Z",
        "datePublished": "2026-11-30T13:27:07.802Z",
        "dateUpdated": "2026-11-30T13:27:07.802Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:27:07.802Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ngfs2: reject invalid inode sizes\n\nA corrupted GFS2 image can store a dinode size that is larger than what VFS\ni_size can represent. gfs2_dinode_in() reads the on-disk di_size as a u64 and\nwrites it directly into inode->i_size. If the value is larger than S64_MAX, the\nincore i_size becomes negative. That negative value can bypass the existing\nstuffed inode size check:\n\ninode->i_size > gfs2_max_stuffed_size(ip)\n\nLater, gfs2_quotad may try to sync the quota file and unstuff the quota inode.\ngfs2_unstuffer_folio() reads the negative i_size into an unsigned length and\npasses it to memcpy(), turning it into a huge copy size and triggering a\nout-of-bound issue.\n\nReject dinodes whose size exceeds sb->s_maxbytes before storing the value in\ninode->i_size. Also make the stuffed inode check use the raw on-disk size while\nit is still unsigned."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/gfs2/glops.c"
                    ],
                    "versions": [
                        {
                            "version": "7c414f6f06e9a3934901b6edc3177ae5a1e07094",
                            "lessThan": "8db6c08e0da0e8f13845128bc975f1f2656060a5",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "46c9088cabd4d0469fdb61ac2a9c5003057fe94d",
                            "lessThan": "8a76ac82ec1a5bd5f378d4174e0dfc8d35d89340",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "d458a0984429c2d47e60254f5bc4119cbafe83a2",
                            "lessThan": "435cf27c40b01315e33918c20d529f4ace0c5f57",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "70376c7ff31221f1d21db5611d8209e677781d3a",
                            "lessThan": "7a81c9cf915cc899db84e0fc02f5c6b545eaed4b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "70376c7ff31221f1d21db5611d8209e677781d3a",
                            "lessThan": "bb88934553eb89573145cb01a413860771aed97f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "70376c7ff31221f1d21db5611d8209e677781d3a",
                            "lessThan": "bd2919d4491068974c6348961d7af6dc0e7b9108",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "70376c7ff31221f1d21db5611d8209e677781d3a",
                            "lessThan": "3f749d1755c1b82f7c102bd9522ea3b5039d3171",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "70376c7ff31221f1d21db5611d8209e677781d3a",
                            "lessThan": "33ed0a0567e0abe66ea65e89dad2e35082890fbe",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "45df749f827c286adbc951f2a4865b67f0442ba9",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4d4cb76636134bf9a0c9c3432dae936f99954586",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5.10.177",
                            "lessThan": "5.10.275",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.93",
                            "lessThan": "5.15.226",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.11",
                            "lessThan": "6.1.193",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "4.19.280",
                            "lessThan": "4.20",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.4.240",
                            "lessThan": "5.5",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/gfs2/glops.c"
                    ],
                    "versions": [
                        {
                            "version": "6.2",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.2",
                            "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.118",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.64",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.4",
                            "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": "5.10.177",
                                    "versionEndExcluding": "5.10.275"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.15.93",
                                    "versionEndExcluding": "5.15.226"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.1.11",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.2",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.2",
                                    "versionEndExcluding": "6.12.118"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.2",
                                    "versionEndExcluding": "6.18.64"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.2",
                                    "versionEndExcluding": "7.3.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.2",
                                    "versionEndExcluding": "7.4-rc1"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.19.280"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.4.240"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/8db6c08e0da0e8f13845128bc975f1f2656060a5"
                },
                {
                    "url": "https://git.kernel.org/stable/c/8a76ac82ec1a5bd5f378d4174e0dfc8d35d89340"
                },
                {
                    "url": "https://git.kernel.org/stable/c/435cf27c40b01315e33918c20d529f4ace0c5f57"
                },
                {
                    "url": "https://git.kernel.org/stable/c/7a81c9cf915cc899db84e0fc02f5c6b545eaed4b"
                },
                {
                    "url": "https://git.kernel.org/stable/c/bb88934553eb89573145cb01a413860771aed97f"
                },
                {
                    "url": "https://git.kernel.org/stable/c/bd2919d4491068974c6348961d7af6dc0e7b9108"
                },
                {
                    "url": "https://git.kernel.org/stable/c/3f749d1755c1b82f7c102bd9522ea3b5039d3171"
                },
                {
                    "url": "https://git.kernel.org/stable/c/33ed0a0567e0abe66ea65e89dad2e35082890fbe"
                }
            ],
            "title": "gfs2: reject invalid inode sizes",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}