CVE-2026-99903
published high CVSS 3.1 · 8.1ceph: fix out-of-bounds read in ceph_netfs_issue_op_inline()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux5b19f1eba45902bc75b92e9962374fc98a40e174 to < 64110c4443d667658fad9ebb567003636e9c27b4 · 5b19f1eba45902bc75b92e9962374fc98a40e174 to < dd60dde0feaa58b51a936b80291e84df0a714fbe · 5b19f1eba45902bc75b92e9962374fc98a40e174 to < a7582512fad8b6bfc89c653906067a92169ffcd0 · 5b19f1eba45902bc75b92e9962374fc98a40e174 to < acaec29310a634f15007cb25c4ee5c87552c6204 · 5b19f1eba45902bc75b92e9962374fc98a40e174 to < 0e1bc95bdda8dc382496de11455a627f5a35957c · 5b19f1eba45902bc75b92e9962374fc98a40e174 to < cdbb60f00f87297a9db2652847dfc0eaaf3c45aa · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.18 (affected) · 0 to < 5.18 (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: ceph: fix out-of-bounds read in ceph_netfs_issue_op_inline() The read offset is validated against i_size but never against inline_len, and the two fields come from the MDS independently. When a read starts past the end of the inline data, the subtraction len = min_t(size_t, iinfo->inline_len - subreq->start, subreq->len); underflows and min_t() ends up with subreq->len, so copy_to_iter() reads past the end of the inline buffer straight into the user buffer. A malicious or buggy MDS reporting a short inline payload together with an inflated i_size can thus leak kernel heap memory to userspace. Bail out with -ENODATA when the offset is not within the inline data.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
- Scenarios
- en: 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. AC: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. PR: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. UI: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. S: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. C: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. I: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. A: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.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 5b19f1eba45902bc75b92e9962374fc98a40e174 to < 64110c4443d667658fad9ebb567003636e9c27b4 (affected · git)5b19f1eba45902bc75b92e9962374fc98a40e174 to < dd60dde0feaa58b51a936b80291e84df0a714fbe (affected · git)5b19f1eba45902bc75b92e9962374fc98a40e174 to < a7582512fad8b6bfc89c653906067a92169ffcd0 (affected · git)5b19f1eba45902bc75b92e9962374fc98a40e174 to < acaec29310a634f15007cb25c4ee5c87552c6204 (affected · git)5b19f1eba45902bc75b92e9962374fc98a40e174 to < 0e1bc95bdda8dc382496de11455a627f5a35957c (affected · git)5b19f1eba45902bc75b92e9962374fc98a40e174 to < cdbb60f00f87297a9db2652847dfc0eaaf3c45aa (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.18 (affected)0 to < 5.18 (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
6- https://git.kernel.org/stable/c/0e1bc95bdda8dc382496de11455a627f5a35957c
- https://git.kernel.org/stable/c/64110c4443d667658fad9ebb567003636e9c27b4
- https://git.kernel.org/stable/c/a7582512fad8b6bfc89c653906067a92169ffcd0
- https://git.kernel.org/stable/c/acaec29310a634f15007cb25c4ee5c87552c6204
- https://git.kernel.org/stable/c/cdbb60f00f87297a9db2652847dfc0eaaf3c45aa
- https://git.kernel.org/stable/c/dd60dde0feaa58b51a936b80291e84df0a714fbe
Provider assertions
1Linux · cna
ceph: fix out-of-bounds read in ceph_netfs_issue_op_inline()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7288bd02bf7bedefe3791b6f1708da62b9ac5a77f57e944bbd838caebd030bcf
- Ingested
- 01 Dec 2026, 05:47:23 UTC
- Source record
- Official CVE record