smack: fix incorrect task context in smack_msg_queue_msgrcv
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)
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for help- Published
- Sep 17, 2026
- Updated
- Sep 17, 2026
- EPSS
- 0.2% · 8th percentile
- CWE
- —
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
0
Monitor
Low priority for now.
- CVSS
- 0 / 40 · —
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.2%
Affected systems
—
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 2.6.25affected
- e114e473771c848c3cfec05f0123e70f1cdbdc99 and later · before 4e49f997ef0c569e09b42aab6bd38c7c54ea095daffected · git
- e114e473771c848c3cfec05f0123e70f1cdbdc99 and later · before dbece6c2f80b0470d8d99d7a016827dce99ed6e3affected · git
- e114e473771c848c3cfec05f0123e70f1cdbdc99 and later · before 7be4bd21c50afa83c93799b0f16cf5bfa493194eaffected · git
- e114e473771c848c3cfec05f0123e70f1cdbdc99 and later · before ec47f4177046dfaaf1cebb15f4d2e7b543475dafaffected · git
- e114e473771c848c3cfec05f0123e70f1cdbdc99 and later · before e35dc5a4ed6d1e536382d80c685187511ff248a1affected · git
- e114e473771c848c3cfec05f0123e70f1cdbdc99 and later · before c2ab27c2e11591524b1378c24ad18882a425d1faaffected · git
- e114e473771c848c3cfec05f0123e70f1cdbdc99 and later · before d02c55e3ea82e41ea2c2026e08201e5daa4d0cfeaffected · git
- e114e473771c848c3cfec05f0123e70f1cdbdc99 and later · before fba3d32825f4bbc8e20f0cdc3b14df57965b8fe5affected · git
- before 2.6.25not affected · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | all versions | — |
| Debian:13 | linux | before 6.12.111-1 | 6.12.111-1 |
| Debian:14 | linux | before 7.2.6-1 | 7.2.6-1 |
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-74705udp: fix potential use-after-free in tunnel segmentation40Plan
- CVE-2026-74612veth: fix skb length accounting after XDP frag adjustment40Plan
- CVE-2026-74475vxlan: use neigh_ha_snapshot() in route_shortcircuit()40Plan
- CVE-2026-74309vdpa/octeon_ep: fix IRQ-to-ring mapping in interrupt handler40Plan
- CVE-2026-74280crypto: marvell/octeontx - fix DMA cleanup using wrong loop index40Plan
- CVE-2026-74279crypto: cavium/cpt - fix DMA cleanup using wrong loop index40Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 4e49f997ef0c569e09b42aab6bd38c7c54ea095d | Vendor (CNA) |
| Linux Linux | 7be4bd21c50afa83c93799b0f16cf5bfa493194e | Vendor (CNA) |
| Linux Linux | c2ab27c2e11591524b1378c24ad18882a425d1fa | Vendor (CNA) |
| Linux Linux | d02c55e3ea82e41ea2c2026e08201e5daa4d0cfe | Vendor (CNA) |
| Linux Linux | dbece6c2f80b0470d8d99d7a016827dce99ed6e3 | Vendor (CNA) |
| Linux Linux | e35dc5a4ed6d1e536382d80c685187511ff248a1 | Vendor (CNA) |
| Linux Linux | ec47f4177046dfaaf1cebb15f4d2e7b543475daf | Vendor (CNA) |
| Linux Linux | fba3d32825f4bbc8e20f0cdc3b14df57965b8fe5 | Vendor (CNA) |
| azl3 kernel 6.6.150.1-1 on Azure Linux 3.0 | — | Microsoft (MSRC) |
| azl3 kernel 6.6.152.1-1 on Azure Linux 3.0 | 6.6.157.1-1 · Release Notes | Microsoft (MSRC) |
| debian:linux | 6.12.111-1 · Debian:13 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
No CVSS vector for this record, so attack conditions can't be derived.
Weakness class (CWE)
—
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- git.kernel.org/stable/c/4e49f997ef0c569e09b42aab6bd38c7c54ea095d
- git.kernel.org/stable/c/7be4bd21c50afa83c93799b0f16cf5bfa493194e
- git.kernel.org/stable/c/c2ab27c2e11591524b1378c24ad18882a425d1fa
- git.kernel.org/stable/c/d02c55e3ea82e41ea2c2026e08201e5daa4d0cfe
- git.kernel.org/stable/c/dbece6c2f80b0470d8d99d7a016827dce99ed6e3
- git.kernel.org/stable/c/e35dc5a4ed6d1e536382d80c685187511ff248a1
- git.kernel.org/stable/c/ec47f4177046dfaaf1cebb15f4d2e7b543475daf
- git.kernel.org/stable/c/fba3d32825f4bbc8e20f0cdc3b14df57965b8fe5
Vendor advisories and official records. Exploit/PoC links are deliberately left out.