{"id":26048,"date":"2026-09-18T04:32:16","date_gmt":"2026-09-17T20:32:16","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-93191"},"modified":"2026-09-18T04:32:16","modified_gmt":"2026-09-17T20:32:16","slug":"cve-2026-93191","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-93191","title":{"rendered":"CVE-2026-93191 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nsmack: fix incorrect"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>smack: fix incorrect task context in smack_msg_queue_msgrcv<\/p>\n<p>The smack_msg_queue_msgrcv() function incorrectly checks<br \/>\nthe permissions of the &#8216;current&#8217; task instead of the<br \/>\n&#8216;target&#8217; task.<\/p>\n<p>In the msgsnd() syscall path, if a receiver is already waiting,<br \/>\nthe pipelined_send() optimization is used to push the message<br \/>\ndirectly to the receiver task:<\/p>\n<p>    ipc\/msg.c`pipelined_send():<br \/>\n    ` smp_store_release(&amp;msr-&gt;r_msg, msg)<\/p>\n<p>In this case, the &#8216;sender&#8217; (current) task performs the check<br \/>\non behalf of the &#8216;receiver&#8217; task (msr-&gt;r_tsk, passed as the<br \/>\n&#8216;target&#8217; parameter):<\/p>\n<p>  ipc\/msg.c`pipelined_send():<br \/>\n  ` security_msg_queue_msgrcv(,, target := msr-&gt;r_tsk,,)<\/p>\n<p>However, smack_msg_queue_msgrcv() ignores the &#8216;target&#8217; and<br \/>\nchecks &#8216;current&#8217;:<\/p>\n<p>  smack_msg_queue_msgrcv(\u2026)<br \/>\n  ` smk_curacc_msq(isp, MAY_READWRITE); \/\/ current task<\/p>\n<p>&#8216;current&#8217; MAY satisfy smack_msg_queue_msgrcv r\/w requirement,<br \/>\nbut &#8216;target&#8217; (the receiver task) might NOT;<br \/>\nas a result, an unauthorized receiver gets the message,<br \/>\nviolating MAC policy.<\/p>\n<p>Test:<br \/>\n1) create a sysv message queue with label \u201cfoo\u201d<br \/>\n2) echo &#8220;bar foo r&#8221; &gt;\/smack\/load2<br \/>\n3) msgrcv(,,,0,MSG_NOERROR) in &#8220;bar&#8221;-labeled task.<br \/>\n    The task is waiting for the messages &#8230;<br \/>\n4) msgsnd() from a &#8220;foo&#8221;-labeled task:<br \/>\n&#8220;bar&#8221;-labeled task gets the message.<\/p>\n<p>This patch fixes the issue by checking permission on the<br \/>\n&#8216;target&#8217; task instead of &#8216;current&#8217;.<\/p>\n<p>(2008-02-04, Casey Schaufler)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>smack: fix incorrect task context in smack_msg_queue_msgrcv<\/p>\n<p>The smack_msg_queue_msgrcv() function incorrectly checks<br \/>\nthe permissio<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-26048","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/26048","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=26048"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=26048"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=26048"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}