Linux ядросында ceph netfs кірістірілген оқуларында буфер шегінен тыс оқу
Linux kernel
Қысқаша
Linux ядросының ceph файлдық жүйесінің клиенті оқу сол деректерден тыс басталғанда, өзінің кірістірілген деректер буферінің соңынан тыс оқи алады. Қысқа кірістірілген жүктемені үлкейтілген файл өлшемімен хабарлайтын зиянды немесе ақаулы MDS ядроның үйме жады мазмұнын пайдаланушы кеңістігіне ағызуына себеп болуы мүмкін.
Түйіндемені дереккөздер негізінде ЖИ жасаған және ол автоматты түрде аударылған.
Түзету
Түзетілген нұсқа көрсетілмеген.
Түпнұсқа сипаттама (EN)
Түпнұсқа тақырып: Linux kernel out-of-bounds read in ceph netfs inline reads
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.
Сілтемелер
- Басқаgit.kernel.org/stable/c/64110c4443d667658fad9ebb567003636e9c27b4
- Басқаgit.kernel.org/stable/c/dd60dde0feaa58b51a936b80291e84df0a714fbe
- Басқаgit.kernel.org/stable/c/a7582512fad8b6bfc89c653906067a92169ffcd0
- Басқаgit.kernel.org/stable/c/acaec29310a634f15007cb25c4ee5c87552c6204
- Басқаgit.kernel.org/stable/c/0e1bc95bdda8dc382496de11455a627f5a35957c
- Басқаgit.kernel.org/stable/c/cdbb60f00f87297a9db2652847dfc0eaaf3c45aa