Linux ядросында iSCSI TCP-де бүтін санның толып кетуі құлауға әкеледі
Linux kernel
Қысқаша
Зиянды iSCSI нысанасы арнайы жасалған R2T сұрауын жіберу арқылы істен шығуды тудырып, қызмет көрсетуден бас тартуға әкелуі мүмкін.
Түйіндемені дереккөздер негізінде ЖИ жасаған және ол автоматты түрде аударылған.
Түзету
Түзетілген нұсқа көрсетілмеген.
Түпнұсқа сипаттама (EN)
Түпнұсқа тақырып: Linux kernel integer overflow in iSCSI TCP causes crash
In the Linux kernel, the following vulnerability has been resolved: scsi: libiscsi_tcp: Prevent R2T range check overflow An iSCSI target controls the R2T data offset and length as 32-bit values. Adding them before comparing the result with the SCSI data buffer length can wrap. An R2T with offset 1 and length U32_MAX then passes the check for a 4096-byte write. The transmit path treats the wrapped range as valid, exhausts the command scatterlist, and dereferences the NULL next entry in iscsi_tcp_segment_done(). Check the offset first, then compare the length with the remaining bytes in the data buffer.
Сілтемелер
- Басқаgit.kernel.org/stable/c/fb7e3c649b7d6721e5b0e31b35b87a37db4f0246
- Басқаgit.kernel.org/stable/c/01697cebec719c2db8c3bc8d265ad003efdd16c1
- Басқаgit.kernel.org/stable/c/7a1bda4004e964793b23c1365cf0104c8603533c
- Басқаgit.kernel.org/stable/c/6f3a770275640d3313a7089d49fdc31eb0fff95b
- Басқаgit.kernel.org/stable/c/ca70c19c0b25e56f7c2566d979189d2cdccb95dc
- Басқаgit.kernel.org/stable/c/e89d8e7c00ec52c207950a4f80c77e82565de9fe
- Басқаgit.kernel.org/stable/c/9a6aa08dccb428d9f0ea40d9fce8debdac317c89
- Басқаgit.kernel.org/stable/c/eb7aa7fd673fdc1582223cd133bcc5f54e7af19f