{"id":11280,"date":"2026-09-04T18:53:08","date_gmt":"2026-09-04T10:53:08","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-74712"},"modified":"2026-09-04T18:53:08","modified_gmt":"2026-09-04T10:53:08","slug":"cve-2026-74712","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-74712","title":{"rendered":"CVE-2026-74712 [CRITICAL] &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nvdpa\/mlx5: Fix buffer"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>vdpa\/mlx5: Fix buffer length in create_direct_keys()<\/p>\n<p>We have seen in our CI the following KASAN message:<br \/>\nBUG: KASAN: slab-out-of-bounds in cmd_exec+0x550\/0xca0 [mlx5_core]<br \/>\nRead of size 272 at addr 0000000176795020 by task qemu-system-s39\/82764<br \/>\n[&#8230;]<br \/>\n[] cmd_exec+0x550\/0xca0 [mlx5_core]<br \/>\n[] mlx5_cmd_exec_cb+0x25c\/0x4f0 [mlx5_core]<br \/>\n[] mlx5_vdpa_exec_async_cmds+0x22e\/0x5e0 [mlx5_vdpa]<br \/>\n[] create_direct_keys+0x954\/0xef0 [mlx5_vdpa]<br \/>\n[&#8230;]<br \/>\nThe buggy address is located 4128 bytes inside of<br \/>\nallocated 4384-byte region [0000000176794000, 0000000176795120)<\/p>\n<p>So in essence we read 16 bytes beyond 4384-byte allocation.<br \/>\ncreate_direct_keys calculates the pointer and length for in and out<br \/>\nbuffers.<br \/>\nThe size calculation for in includes the entire structure<br \/>\nsize (out + in + mtt[]) but the pointer passed to cmd_exec points only<br \/>\nto the &#8216;in&#8217; field, skipping the &#8216;out&#8217; field.<\/p>\n<p>This causes mlx5_copy_to_msg() to read beyond the allocated buffer<br \/>\nby sizeof(out) bytes when copying command data.<\/p>\n<p>Properly calculate the input size to match the pointer and allocation size.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>vdpa\/mlx5: Fix buffer length in create_direct_keys()<\/p>\n<p>We have seen in our CI the following KASAN message:<br \/>\nBUG: KASAN: slab-out-of-b<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-11280","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/11280","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=11280"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11280"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11280"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}