{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-99903",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-09-25T10:25:14.443Z",
        "datePublished": "2026-11-30T13:18:07.986Z",
        "dateUpdated": "2026-12-01T05:44:15.783Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-01T05:44:15.783Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nceph: fix out-of-bounds read in ceph_netfs_issue_op_inline()\n\nThe read offset is validated against i_size but never against\ninline_len, and the two fields come from the MDS independently.  When\na read starts past the end of the inline data, the subtraction\n\n\tlen = min_t(size_t, iinfo->inline_len - subreq->start, subreq->len);\n\nunderflows and min_t() ends up with subreq->len, so copy_to_iter()\nreads past the end of the inline buffer straight into the user\nbuffer.  A malicious or buggy MDS reporting a short inline payload\ntogether with an inflated i_size can thus leak kernel heap memory to\nuserspace.\n\nBail out with -ENODATA when the offset is not within the inline\ndata."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H",
                        "baseScore": 8.1,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:N - The malformed input arrives over the TCP ceph messenger. The MDS's CEPH_MSG_CLIENT_REPLY to the GETATTR that ceph_netfs_issue_op_inline sends carries a short inline_len, and an earlier InodeStat size (stored via ceph_fill_file_size) carries an inflated i_size. Neither is checked against the other.\nAC:L - The hostile MDS sets inline_version above 1, a small inline_len, a large size and grants Fc caps. Kernels 5.18-7.3 always advertise CEPH_FEATURE_MDS_INLINE_DATA and have no config gate, so any buffered read at a page-aligned subreq->start >= inline_len wraps the subtraction deterministically.\nPR:N - The attacker is the remote MDS endpoint of the session that ceph_real_mount opened. It needs no account or privilege on the client, and no local credential check guards the reply decode or the GETATTR in ceph_netfs_issue_op_inline.\nUI:R - CephFS has no FS_USERNS_MOUNT, so the victim must mount the attacker's cluster. A client process must then do a buffered read past the first page (netfs_readahead -> ceph_netfs_issue_read). The MDS cannot start that read itself.\nS:U - Both the out-of-bounds read and its effects stay inside the client kernel that mounted CephFS. No hypervisor, IOMMU or sandbox boundary is crossed.\nC:H - Pre-fix, inline_len - subreq->start wraps, so min_t() takes the full subreq->len. copy_to_iter() then copies an entire readahead window from inline_data + start, an offset bounded only by the MDS-chosen i_size. That kernel memory goes into the file's page cache and read(2) returns it to client processes.\nI:N - The bug only reads out of bounds. The copy_to_iter destination is the subrequest's own page-cache iterator, bounded by subreq->len, so no kernel memory is written outside its object.\nA:H - Because i_size is MDS-controlled, a sequential read moves the copy_to_iter source address arbitrarily far past the reply buffer. Once it reaches an unmapped direct-map or vmalloc guard address, the client kernel oopses."
                        }
                    ]
                }
            ],
            "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": "5b19f1eba45902bc75b92e9962374fc98a40e174",
                            "lessThan": "64110c4443d667658fad9ebb567003636e9c27b4",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5b19f1eba45902bc75b92e9962374fc98a40e174",
                            "lessThan": "dd60dde0feaa58b51a936b80291e84df0a714fbe",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5b19f1eba45902bc75b92e9962374fc98a40e174",
                            "lessThan": "a7582512fad8b6bfc89c653906067a92169ffcd0",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5b19f1eba45902bc75b92e9962374fc98a40e174",
                            "lessThan": "acaec29310a634f15007cb25c4ee5c87552c6204",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5b19f1eba45902bc75b92e9962374fc98a40e174",
                            "lessThan": "0e1bc95bdda8dc382496de11455a627f5a35957c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5b19f1eba45902bc75b92e9962374fc98a40e174",
                            "lessThan": "cdbb60f00f87297a9db2652847dfc0eaaf3c45aa",
                            "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": "5.18",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.18",
                            "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.117",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.63",
                            "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.18",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.18",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.18",
                                    "versionEndExcluding": "6.12.117"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.18",
                                    "versionEndExcluding": "6.18.63"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.18",
                                    "versionEndExcluding": "7.3.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.18",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/64110c4443d667658fad9ebb567003636e9c27b4"
                },
                {
                    "url": "https://git.kernel.org/stable/c/dd60dde0feaa58b51a936b80291e84df0a714fbe"
                },
                {
                    "url": "https://git.kernel.org/stable/c/a7582512fad8b6bfc89c653906067a92169ffcd0"
                },
                {
                    "url": "https://git.kernel.org/stable/c/acaec29310a634f15007cb25c4ee5c87552c6204"
                },
                {
                    "url": "https://git.kernel.org/stable/c/0e1bc95bdda8dc382496de11455a627f5a35957c"
                },
                {
                    "url": "https://git.kernel.org/stable/c/cdbb60f00f87297a9db2652847dfc0eaaf3c45aa"
                }
            ],
            "title": "ceph: fix out-of-bounds read in ceph_netfs_issue_op_inline()",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}