8.1high
ceph: fix out-of-bounds read in ceph_netfs_issue_op_inline()
- Severity
- 8.1high CVSS:3.1 by Linux
- Exploit likelihood
- 0.49% (higher than 43% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 5b19f1eba45902bc75b92e9962374fc98a40e174 before 64110c4443d667658fad9ebb567003636e9c27b4, from 5b19f1eba45902bc75b92e9962374fc98a40e174 before dd60dde0feaa58b51a936b80291e84df0a714fbe, from 5b19f1eba45902bc75b92e9962374fc98a40e174 before a7582512fad8b6bfc89c653906067a92169ffcd0, from 5b19f1eba45902bc75b92e9962374fc98a40e174 before acaec29310a634f15007cb25c4ee5c87552c6204, from 5b19f1eba45902bc75b92e9962374fc98a40e174 before 0e1bc95bdda8dc382496de11455a627f5a35957c, from 5b19f1eba45902bc75b92e9962374fc98a40e174 before cdbb60f00f87297a9db2652847dfc0eaaf3c45aa, 5.18 Not affected: before 5.18, from 6.1.193 up to 6.1.*, from 6.6.163 up to 6.6.*, from 6.12.117 up to 6.12.*, from 6.18.63 up to 6.18.*, from 7.3.4 up to 7.3.* | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-99903 changed 2026-12-01 | CVE Terms of Use |
| NVD | CVE-2026-99903 changed 2026-12-01 | Public domain |