ceph: fix out-of-bounds read in ceph_netfs_issue_op_inline()
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Sep 25, 2026
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.
| Product | Versions |
|---|---|
| Linux Linux | 5b19f1eba45902bc75b92e9962374fc98a40e174 to before 64110c4443d667658fad9ebb567003636e9c27b4 Affected5b19f1eba45902bc75b92e9962374fc98a40e174 to before dd60dde0feaa58b51a936b80291e84df0a714fbe Affected5b19f1eba45902bc75b92e9962374fc98a40e174 to before a7582512fad8b6bfc89c653906067a92169ffcd0 Affected5b19f1eba45902bc75b92e9962374fc98a40e174 to before acaec29310a634f15007cb25c4ee5c87552c6204 Affected5b19f1eba45902bc75b92e9962374fc98a40e174 to before 0e1bc95bdda8dc382496de11455a627f5a35957c Affected5b19f1eba45902bc75b92e9962374fc98a40e174 to before cdbb60f00f87297a9db2652847dfc0eaaf3c45aa Affected |
| Linux Linux | 5.18 Affectedbefore 5.18 Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/64110c4443d667658fad9ebb567003636e9c27b4
- https://git.kernel.org/stable/c/dd60dde0feaa58b51a936b80291e84df0a714fbe
- https://git.kernel.org/stable/c/a7582512fad8b6bfc89c653906067a92169ffcd0
- https://git.kernel.org/stable/c/acaec29310a634f15007cb25c4ee5c87552c6204
- https://git.kernel.org/stable/c/0e1bc95bdda8dc382496de11455a627f5a35957c
- https://git.kernel.org/stable/c/cdbb60f00f87297a9db2652847dfc0eaaf3c45aa
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.