<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-09-29T21:30:28.332758+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/cve-2026-93191</id>
    <title>CVE-2026-93191 — smack: fix incorrect task context in smack_msg_queue_msgrcv</title>
    <updated>2026-09-29T21:30:28.333976+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>smack: fix incorrect task context in smack_msg_queue_msgrcv</p>
<p>The smack_msg_queue_msgrcv() function incorrectly checks
the permissions of the 'current' task instead of the
'target' task.</p>
<p>In the msgsnd() syscall path, if a receiver is already waiting,
the pipelined_send() optimization is used to push the message
directly to the receiver task:</p>
<p>ipc/msg.c`pipelined_send():
    ` smp_store_release(&amp;msr-&gt;r_msg, msg)</p>
<p>In this case, the 'sender' (current) task performs the check
on behalf of the 'receiver' task (msr-&gt;r_tsk, passed as the
'target' parameter):</p>
<p>ipc/msg.c`pipelined_send():
  ` security_msg_queue_msgrcv(,, target := msr-&gt;r_tsk,,)</p>
<p>However, smack_msg_queue_msgrcv() ignores the 'target' and
checks 'current':</p>
<p>smack_msg_queue_msgrcv(…)
  ` smk_curacc_msq(isp, MAY_READWRITE); // current task</p>
<p>'current' MAY satisfy smack_msg_queue_msgrcv r/w requirement,
but 'target' (the receiver task) might NOT;
as a result, an unauthorized receiver gets the message,
violating MAC policy.</p>
<p>Test:
1) create a sysv message queue with label “foo”
2) echo "bar foo r" &gt;/smack/load2
3) msgrcv(,,,0,MSG_NOERROR) in "bar"-labeled task.
    The task is waiting for the messages ...
4) msgsnd() from a "foo"-labeled task:
"bar"-labeled task gets the message.</p>
<p>This patch fixes the issue by checking permission on the
'target' task instead of 'current'.</p>
<p>(2008-02-04, Casey Schaufler)</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-93191"/>
  </entry>
</feed>
