{"id":40951,"date":"2026-10-19T00:31:39","date_gmt":"2026-10-18T16:31:39","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98479"},"modified":"2026-10-19T00:31:39","modified_gmt":"2026-10-18T16:31:39","slug":"cve-2026-98479","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98479","title":{"rendered":"CVE-2026-98479 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: libiscsi_tcp: C"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>scsi: libiscsi_tcp: Check the data direction of a Data-In PDU<\/p>\n<p>The Data-In branch of iscsi_tcp_hdr_dissect() resolves the ITT to a task<br \/>\nand copies the PDU&#8217;s data segment into that command&#8217;s scatterlist without<br \/>\nasking whether the command was reading. iscsi_tcp_r2t_rsp() in the same<br \/>\nfile does ask, and rejects an R2T for a command that is not DMA_TO_DEVICE.<\/p>\n<p>A target that answers a WRITE command&#8217;s ITT with a Data-In therefore has<br \/>\nthe initiator write target-supplied bytes into the pages that write was<br \/>\nabout to send. Those are the caller&#8217;s own pinned pages for an O_DIRECT<br \/>\nwrite, and page cache pages for a buffered one.<\/p>\n<p>Observed against a test target that emits one 512-byte Data-In naming a 128<br \/>\nKB write&#8217;s ITT, after the R2T for that write. With O_DIRECT the caller&#8217;s<br \/>\nbuffer ends up holding 512 bytes of the target&#8217;s data while pwrite()<br \/>\nreturns 131072. Buffered is quieter: pwrite() and fsync() both succeed,<br \/>\nnothing is logged, and reading those blocks back returns the target&#8217;s bytes<br \/>\nout of the page cache without a command going on the wire.<\/p>\n<p>Check the direction before using the scatterlist, the way the R2T path<br \/>\nalready does.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>scsi: libiscsi_tcp: Check the data direction of a Data-In PDU<\/p>\n<p>The Data-In branch of iscsi_tcp_hdr_dissect() resolves the ITT to a <\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-40951","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/40951","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=40951"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=40951"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=40951"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}