smack: fix cred UAF in smack_file_send_sigiotask() (Linux Linux)

CVE-2026-80928
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.13 % · centile 3 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Received

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.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected 3b11a1decef07c19443d24ae926982bc8ec9f4c0 < a512366d84e134a9eefc2cc40eeb6e80e2ec162c ; affected 3b11a1decef07c19443d24ae926982bc8ec9f4c0 < 7c7fe043f3099d0d35002b248967f75e55345b93 ; affected 3b11a1decef07c19443d24ae926982bc8ec9f4c0 < f9c7b1f2b9d8f4176d2632743f51400855978ace ; affected 3b11a1decef07c19443d24ae926982bc8ec9f4c0 < b5bcf3adfa27279da4401ab8f1e1a706601a92be ; affected 3b11a1decef07c19443d24ae926982bc8ec9f4c0 < ed64aa505875a3b4defd504ee8e59e1949246a62 ; affected 3b11a1decef07c19443d24ae926982bc8ec9f4c0 < b791401bf389a1546a830d2b381ca60fe94c7870
Linux · Linuxaffected 2.6.29 ; unaffected 0 < 2.6.29 ; unaffected 5.15.221 ≤ 5.15.* ; unaffected 6.1.188 ≤ 6.1.* ; unaffected 6.6.157 ≤ 6.6.* ; unaffected 6.12.109 ≤ 6.12.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD