Vulnerability record
ceph: fix out-of-bounds read in ceph_netfs_issue_op_inline()
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…
8.1/CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:HExploitability
AV:NAC:LPR:NUI:RScope
S:UImpact
C:HI:NA:HRemediation
No fixed version has been published for this vulnerability yet. Check the references below for vendor advisories, workarounds and mitigation guidance.
Sources