# CVE-2026-93191: smack: fix incorrect task context in smack\_msg\_queue\_msgrcv

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-09-17T16:12:15.765Z
- **Modified:** 2026-10-19T10:17:09.720Z

## Who should check

- Anyone running Linux \>= e114e473771c848c3cfec05f0123e70f1cdbdc99, \< 4e49f997ef0c569e09b42aab6bd38c7c54ea095d; \>= e114e473771c848c3cfec05f0123e70f1cdbdc99, \< dbece6c2f80b0470d8d99d7a016827dce99ed6e3; \>= e114e473771c848c3cfec05f0123e70f1cdbdc99, \< 7be4bd21c50afa83c93799b0f16cf5bfa493194e; \>= e114e473771c848c3cfec05f0123e70f1cdbdc99, \< ec47f4177046dfaaf1cebb15f4d2e7b543475daf; \>= e114e473771c848c3cfec05f0123e70f1cdbdc99, \< e35dc5a4ed6d1e536382d80c685187511ff248a1; \>= e114e473771c848c3cfec05f0123e70f1cdbdc99, \< c2ab27c2e11591524b1378c24ad18882a425d1fa; \>= e114e473771c848c3cfec05f0123e70f1cdbdc99, \< d02c55e3ea82e41ea2c2026e08201e5daa4d0cfe; \>= e114e473771c848c3cfec05f0123e70f1cdbdc99, \< fba3d32825f4bbc8e20f0cdc3b14df57965b8fe5
- Anyone running Linux 2.6.25

## Description

In the Linux kernel, the following vulnerability has been resolved:

smack: fix incorrect task context in smack\_msg\_queue\_msgrcv

The smack\_msg\_queue\_msgrcv() function incorrectly checks
the permissions of the 'current' task instead of the
'target' task.

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:

    ipc/msg.c\`pipelined\_send():
    \` smp\_store\_release(&msr-\>r\_msg, msg)

In this case, the 'sender' (current) task performs the check
on behalf of the 'receiver' task (msr-\>r\_tsk, passed as the
'target' parameter):

  ipc/msg.c\`pipelined\_send():
  \` security\_msg\_queue\_msgrcv(,, target := msr-\>r\_tsk,,)

However, smack\_msg\_queue\_msgrcv() ignores the 'target' and
checks 'current':

  smack\_msg\_queue\_msgrcv(…)
  \` smk\_curacc\_msq(isp, MAY\_READWRITE); // current task

'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.

Test:
1) create a sysv message queue with label “foo”
2) echo "bar foo r" \>/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.

This patch fixes the issue by checking permission on the
'target' task instead of 'current'.

(2008-02-04, Casey Schaufler)

## Affected and fixed versions

- Linux: \>= e114e473771c848c3cfec05f0123e70f1cdbdc99, \< 4e49f997ef0c569e09b42aab6bd38c7c54ea095d; \>= e114e473771c848c3cfec05f0123e70f1cdbdc99, \< dbece6c2f80b0470d8d99d7a016827dce99ed6e3; \>= e114e473771c848c3cfec05f0123e70f1cdbdc99, \< 7be4bd21c50afa83c93799b0f16cf5bfa493194e; \>= e114e473771c848c3cfec05f0123e70f1cdbdc99, \< ec47f4177046dfaaf1cebb15f4d2e7b543475daf; \>= e114e473771c848c3cfec05f0123e70f1cdbdc99, \< e35dc5a4ed6d1e536382d80c685187511ff248a1; \>= e114e473771c848c3cfec05f0123e70f1cdbdc99, \< c2ab27c2e11591524b1378c24ad18882a425d1fa; \>= e114e473771c848c3cfec05f0123e70f1cdbdc99, \< d02c55e3ea82e41ea2c2026e08201e5daa4d0cfe; \>= e114e473771c848c3cfec05f0123e70f1cdbdc99, \< fba3d32825f4bbc8e20f0cdc3b14df57965b8fe5 (cvelist)
- Linux: 2.6.25 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-93191. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-93191.md
Affected: Linux >= e114e473771c848c3cfec05f0123e70f1cdbdc99, < 4e49f997ef0c569e09b42aab6bd38c7c54ea095d; >= e114e473771c848c3cfec05f0123e70f1cdbdc99, < dbece6c2f80b0470d8d99d7a016827dce99ed6e3; >= e114e473771c848c3cfec05f0123e70f1cdbdc99, < 7be4bd21c50afa83c93799b0f16cf5bfa493194e; >= e114e473771c848c3cfec05…
Fixed in: Linux 4e49f997ef0c569e09b42aab6bd38c7c54ea095d, Linux 7be4bd21c50afa83c93799b0f16cf5bfa493194e

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-93191 being exploited?

There is no confirmed exploitation: CVE-2026-93191 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-93191?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-93191?

Linux \>= e114e473771c848c3cfec05f0123e70f1cdbdc99, \< 4e49f997ef0c569e09b42aab6bd38c7c54ea095d; \>= e114e473771c848c3cfec05f0123e70f1cdbdc99, \< dbece6c2f80b0470d8d99d7a016827dce99ed6e3; \>= e114e473771c848c3cfec05f0123e70f1cdbdc99, \< 7be4bd21c50afa83c93799b0f16cf5bfa493194e; \>= e114e473771c848c3cfec05f0123e70f1cdbdc99, \< ec47f4177046dfaaf1cebb15f4d2e7b543475daf; \>= e114e473771c848c3cfec05f0123e70f1cdbdc99, \< e35dc5a4ed6d1e536382d80c685187511ff248a1; \>= e114e473771c848c3cfec05f0123e70f1cdbdc99, \< c2ab27c2e11591524b1378c24ad18882a425d1fa; \>= e114e473771c848c3cfec05f0123e70f1cdbdc99, \< d02c55e3ea82e41ea2c2026e08201e5daa4d0cfe; \>= e114e473771c848c3cfec05f0123e70f1cdbdc99, \< fba3d32825f4bbc8e20f0cdc3b14df57965b8fe5; Linux 2.6.25.

### Is there a fix for CVE-2026-93191?

Yes. Fixed in Linux 4e49f997ef0c569e09b42aab6bd38c7c54ea095d, Linux 7be4bd21c50afa83c93799b0f16cf5bfa493194e. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-93191?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/4e49f997ef0c569e09b42aab6bd38c7c54ea095d>
- other: <https://git.kernel.org/stable/c/dbece6c2f80b0470d8d99d7a016827dce99ed6e3>
- other: <https://git.kernel.org/stable/c/7be4bd21c50afa83c93799b0f16cf5bfa493194e>
- other: <https://git.kernel.org/stable/c/ec47f4177046dfaaf1cebb15f4d2e7b543475daf>
- other: <https://git.kernel.org/stable/c/e35dc5a4ed6d1e536382d80c685187511ff248a1>
- other: <https://git.kernel.org/stable/c/c2ab27c2e11591524b1378c24ad18882a425d1fa>
- other: <https://git.kernel.org/stable/c/d02c55e3ea82e41ea2c2026e08201e5daa4d0cfe>
- other: <https://git.kernel.org/stable/c/fba3d32825f4bbc8e20f0cdc3b14df57965b8fe5>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-93191>

HTML: <https://flawdb.com/CVE-2026-93191> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-93191>
