# CVE-2026-80928: smack: fix cred UAF in smack_file_send_sigiotask()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-02)
- Published: 2026-09-11T19:42:04.044Z
- Modified: 2026-10-19T09:17:23.777Z
- Assigned by: Linux

## Description

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

smack: fix cred UAF in smack_file_send_sigiotask()

When inspecting the credentials of another task, objective credentials
(->real_cred, accessed with __task_cred()) must always be used.

Accessing ->cred on a non-current task is forbidden unless that task is
being created or destroyed; a task is allowed to change its own ->cred
pointer with no synchronization, and changing ->cred should only affect the
current syscall.

smack_file_send_sigiotask() was accessing both sets of credentials: First
tsk->cred, then __task_cred(tsk).

Fix it, always access the objective credentials here.

I have tested that this bug can lead to a KASAN-reported UAF of struct cred
in smack_file_send_sigiotask(), and that this fix prevents the race.

(As written by CVE List.)

## Affected

- Linux Linux: from 3b11a1decef07c19443d24ae926982bc8ec9f4c0 before a512366d84e134a9eefc2cc40eeb6e80e2ec162c; from 3b11a1decef07c19443d24ae926982bc8ec9f4c0 before 7c7fe043f3099d0d35002b248967f75e55345b93; from 3b11a1decef07c19443d24ae926982bc8ec9f4c0 before f9c7b1f2b9d8f4176d2632743f51400855978ace; from 3b11a1decef07c19443d24ae926982bc8ec9f4c0 before b5bcf3adfa27279da4401ab8f1e1a706601a92be; from 3b11a1decef07c19443d24ae926982bc8ec9f4c0 before ed64aa505875a3b4defd504ee8e59e1949246a62; from 3b11a1decef07c19443d24ae926982bc8ec9f4c0 before b791401bf389a1546a830d2b381ca60fe94c7870; from 3b11a1decef07c19443d24ae926982bc8ec9f4c0 before fedc88e38ce979a720cd2de042578cb5df3dc8de; 2.6.29 (not affected: before 2.6.29; from 5.15.221 up to 5.15.*; from 6.1.188 up to 6.1.*; from 6.6.157 up to 6.6.*; from 6.12.109 up to 6.12.*; from 6.18.50 up to 6.18.*; from 7.2.4 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/a512366d84e134a9eefc2cc40eeb6e80e2ec162c>
- <https://git.kernel.org/stable/c/7c7fe043f3099d0d35002b248967f75e55345b93>
- <https://git.kernel.org/stable/c/f9c7b1f2b9d8f4176d2632743f51400855978ace>
- <https://git.kernel.org/stable/c/b5bcf3adfa27279da4401ab8f1e1a706601a92be>
- <https://git.kernel.org/stable/c/ed64aa505875a3b4defd504ee8e59e1949246a62>
- <https://git.kernel.org/stable/c/b791401bf389a1546a830d2b381ca60fe94c7870>
- <https://git.kernel.org/stable/c/fedc88e38ce979a720cd2de042578cb5df3dc8de>

## Sources

- CVE List: [CVE-2026-80928](https://www.cve.org/CVERecord?id=CVE-2026-80928), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-80928](https://nvd.nist.gov/vuln/detail/CVE-2026-80928), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-80928 · Whole record: https://cve.day/CVE-2026-80928.json · Rebuilt by cve.day 2026-11-25T22:59:37.983Z
