{"id":21514,"date":"2026-09-12T04:31:17","date_gmt":"2026-09-11T20:31:17","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-89592"},"modified":"2026-09-12T04:31:17","modified_gmt":"2026-09-11T20:31:17","slug":"cve-2026-89592","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-89592","title":{"rendered":"CVE-2026-89592 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\naccel\/rocket: fix NUL"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>accel\/rocket: fix NULL dereference and integer overflow in rocket_job_push()<\/p>\n<p>rocket_job_push() allocates a temporary array to hold all input and<br \/>\noutput GEM object pointers:<\/p>\n<p>    bos = kvmalloc_array(job-&gt;in_bo_count + job-&gt;out_bo_count,<br \/>\n                         sizeof(void *), GFP_KERNEL);<br \/>\n    memcpy(bos, job-&gt;in_bos, job-&gt;in_bo_count * sizeof(void *));<br \/>\n    memcpy(&amp;bos[job-&gt;in_bo_count], job-&gt;out_bos, &#8230;);<\/p>\n<p>Two bugs exist:<\/p>\n<p>1. Missing NULL check: if kvmalloc_array() fails, bos is NULL and<br \/>\n   the subsequent memcpy() dereferences it, causing a kernel NULL<br \/>\n   pointer dereference.<\/p>\n<p>2. Integer overflow: in_bo_count and out_bo_count are both u32, set<br \/>\n   directly from userspace-supplied in_bo_handle_count and<br \/>\n   out_bo_handle_count with no prior validation. Their sum is computed<br \/>\n   in u32 arithmetic and can wrap to a smaller value, causing the<br \/>\n   allocation count passed to kvmalloc_array() to be smaller than<br \/>\n   intended. Subsequent uses still operate on the original counts when<br \/>\n   copying and locking objects, which may lead to out-of-bounds accesses<br \/>\n   on the temporary array.<\/p>\n<p>Fix by using check_add_overflow() to detect count overflow before the<br \/>\nallocation, and adding a NULL check on the allocation result.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>accel\/rocket: fix NULL dereference and integer overflow in rocket_job_push()<\/p>\n<p>rocket_job_push() allocates a temporary array to hold<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-21514","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/21514","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=21514"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=21514"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=21514"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}