smack: fix cred UAF in smack_file_send_sigiotask()
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.
CVE-2026-80928
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-80928
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "3b11a1decef07c19443d24ae926982bc8ec9f4c0",
"lessThan": "a512366d84e134a9eefc2cc40eeb6e80e2ec162c",
"versionType": "git"
},
{
"status": "affected",
"version": "3b11a1decef07c19443d24ae926982bc8ec9f4c0",
"lessThan": "7c7fe043f3099d0d35002b248967f75e55345b93",
"versionType": "git"
},
{
"status": "affected",
"version": "3b11a1decef07c19443d24ae926982bc8ec9f4c0",
"lessThan": "f9c7b1f2b9d8f4176d2632743f51400855978ace",
"versionType": "git"
},
{
"status": "affected",
"version": "3b11a1decef07c19443d24ae926982bc8ec9f4c0",
"lessThan": "b5bcf3adfa27279da4401ab8f1e1a706601a92be",
"versionType": "git"
},
{
"status": "affected",
"version": "3b11a1decef07c19443d24ae926982bc8ec9f4c0",
"lessThan": "ed64aa505875a3b4defd504ee8e59e1949246a62",
"versionType": "git"
},
{
"status": "affected",
"version": "3b11a1decef07c19443d24ae926982bc8ec9f4c0",
"lessThan": "b791401bf389a1546a830d2b381ca60fe94c7870",
"versionType": "git"
},
{
"status": "affected",
"version": "3b11a1decef07c19443d24ae926982bc8ec9f4c0",
"lessThan": "fedc88e38ce979a720cd2de042578cb5df3dc8de",
"versionType": "git"
}
],
"programFiles": [
"security/smack/smack_lsm.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "2.6.29"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "2.6.29",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "5.15.221",
"versionType": "semver",
"lessThanOrEqual": "5.15.*"
},
{
"status": "unaffected",
"version": "6.1.188",
"versionType": "semver",
"lessThanOrEqual": "6.1.*"
},
{
"status": "unaffected",
"version": "6.6.157",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.109",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.50",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.4",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"security/smack/smack_lsm.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-80928
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #34889 · Revision 1
- Added to Heist Feed
- Publisher date