CVE-2026-80755
Full vulnerability record from the local CVENow database.
Description
In the Linux kernel, the following vulnerability has been resolved: selinux: reject a permission value exceeding the class permission count perm_read() bounds a permission value by SEL_VEC_MAX but never by the nprim of the owning class or common, which is taken verbatim from the policy image. security_get_permissions() then writes perms[value - 1] into an nprim-sized kcalloc() array, so a class declaring fewer permissions than its largest permission value drives an out-of-bounds heap write. The top-level symbol tables are validated this way; the nested per-class permission table is not. Reject a permission whose value exceeds nprim, which is already set when perm_read() runs. Well-formed policies are unaffected. [PM: tweak comment for line length]
View original CVE JSON
{
"id": "CVE-2026-80755",
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"published": "2026-09-03T13:06:15.247",
"lastModified": "2026-10-30T13:20:11.360",
"vulnStatus": "Received",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nselinux: reject a permission value exceeding the class permission count\n\nperm_read() bounds a permission value by SEL_VEC_MAX but never by the\nnprim of the owning class or common, which is taken verbatim from the\npolicy image. security_get_permissions() then writes perms[value - 1]\ninto an nprim-sized kcalloc() array, so a class declaring fewer\npermissions than its largest permission value drives an out-of-bounds\nheap write. The top-level symbol tables are validated this way; the\nnested per-class permission table is not.\n\nReject a permission whose value exceeds nprim, which is already set when\nperm_read() runs. Well-formed policies are unaffected.\n\n[PM: tweak comment for line length]"
}
],
"affected": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"affectedData": [
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "unaffected",
"programFiles": [
"security/selinux/ss/policydb.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "55fcf09b3fe4325c9395ebbb0322a547a157ebc7",
"lessThan": "766051751cfb90fc9c29c30c2943b0f24eda9594",
"versionType": "git",
"status": "affected"
},
{
"version": "55fcf09b3fe4325c9395ebbb0322a547a157ebc7",
"lessThan": "9a1bd9fd1326655dfc31b18ca92ea8433cb31204",
"versionType": "git",
"status": "affected"
},
{
"version": "55fcf09b3fe4325c9395ebbb0322a547a157ebc7",
"lessThan": "6c2ab7c4549f4f2305848df834e784651dbf1676",
"versionType": "git",
"status": "affected"
},
{
"version": "55fcf09b3fe4325c9395ebbb0322a547a157ebc7",
"lessThan": "dfc59a062c386d3d4415ecdab781065a645f33cc",
"versionType": "git",
"status": "affected"
},
{
"version": "55fcf09b3fe4325c9395ebbb0322a547a157ebc7",
"lessThan": "a7f3d4f22d920dc3c7d75f02ece0f7bf2c58437e",
"versionType": "git",
"status": "affected"
},
{
"version": "55fcf09b3fe4325c9395ebbb0322a547a157ebc7",
"lessThan": "d14b5d0e97fccd27974fedc03b903408872907fd",
"versionType": "git",
"status": "affected"
}
]
},
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "affected",
"programFiles": [
"security/selinux/ss/policydb.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "2.6.23",
"status": "affected"
},
{
"version": "0",
"lessThan": "2.6.23",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.1.191",
"lessThanOrEqual": "6.1.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.6.160",
"lessThanOrEqual": "6.6.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.12.108",
"lessThanOrEqual": "6.12.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.18.49",
"lessThanOrEqual": "6.18.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.1.13",
"lessThanOrEqual": "7.1.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.2",
"lessThanOrEqual": "*",
"versionType": "original_commit_for_fix",
"status": "unaffected"
}
]
}
]
}
],
"metrics": {},
"references": [
{
"url": "https://git.kernel.org/stable/c/6c2ab7c4549f4f2305848df834e784651dbf1676",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/766051751cfb90fc9c29c30c2943b0f24eda9594",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/9a1bd9fd1326655dfc31b18ca92ea8433cb31204",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/a7f3d4f22d920dc3c7d75f02ece0f7bf2c58437e",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/d14b5d0e97fccd27974fedc03b903408872907fd",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/dfc59a062c386d3d4415ecdab781065a645f33cc",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
]
}