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.
https://git.kernel.org/stable/c/dd60dde0feaa58b51a936b80291e84df0a714fbe
https://git.kernel.org/stable/c/cdbb60f00f87297a9db2652847dfc0eaaf3c45aa
https://git.kernel.org/stable/c/acaec29310a634f15007cb25c4ee5c87552c6204
https://git.kernel.org/stable/c/a7582512fad8b6bfc89c653906067a92169ffcd0
https://git.kernel.org/stable/c/64110c4443d667658fad9ebb567003636e9c27b4
https://git.kernel.org/stable/c/0e1bc95bdda8dc382496de11455a627f5a35957c