{"id":"CVE-2026-80755","state":"PUBLISHED","title":"selinux: reject a permission value exceeding the class permission count","description":"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]","publishedAt":"2026-09-03T08:26:33.797Z","updatedAt":"2026-10-30T12:31:05.421Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"55fcf09b3fe4325c9395ebbb0322a547a157ebc7","status":"affected","lessThan":"766051751cfb90fc9c29c30c2943b0f24eda9594","versionType":"git"},{"version":"55fcf09b3fe4325c9395ebbb0322a547a157ebc7","status":"affected","lessThan":"9a1bd9fd1326655dfc31b18ca92ea8433cb31204","versionType":"git"},{"version":"55fcf09b3fe4325c9395ebbb0322a547a157ebc7","status":"affected","lessThan":"6c2ab7c4549f4f2305848df834e784651dbf1676","versionType":"git"},{"version":"55fcf09b3fe4325c9395ebbb0322a547a157ebc7","status":"affected","lessThan":"dfc59a062c386d3d4415ecdab781065a645f33cc","versionType":"git"},{"version":"55fcf09b3fe4325c9395ebbb0322a547a157ebc7","status":"affected","lessThan":"a7f3d4f22d920dc3c7d75f02ece0f7bf2c58437e","versionType":"git"},{"version":"55fcf09b3fe4325c9395ebbb0322a547a157ebc7","status":"affected","lessThan":"d14b5d0e97fccd27974fedc03b903408872907fd","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["security/selinux/ss/policydb.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.23","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.23","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.108","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.49","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.13","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["security/selinux/ss/policydb.c"]}],"references":["https://git.kernel.org/stable/c/766051751cfb90fc9c29c30c2943b0f24eda9594","https://git.kernel.org/stable/c/9a1bd9fd1326655dfc31b18ca92ea8433cb31204","https://git.kernel.org/stable/c/6c2ab7c4549f4f2305848df834e784651dbf1676","https://git.kernel.org/stable/c/dfc59a062c386d3d4415ecdab781065a645f33cc","https://git.kernel.org/stable/c/a7f3d4f22d920dc3c7d75f02ece0f7bf2c58437e","https://git.kernel.org/stable/c/d14b5d0e97fccd27974fedc03b903408872907fd"],"weaknesses":[],"ingestedAt":"2026-10-30T12:50:04.827Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/80xxx/CVE-2026-80755.json","commit":"1f312381e38164a43607eebab851b151dd16861e","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-80755","state":"PUBLISHED","datePublished":"2026-09-03T08:26:33.797Z","dateUpdated":"2026-10-30T12:31:05.421Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-08-26T14:34:25.790Z"},"containers":{"cna":{"title":"selinux: reject a permission value exceeding the class permission count","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":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"55fcf09b3fe4325c9395ebbb0322a547a157ebc7","status":"affected","lessThan":"766051751cfb90fc9c29c30c2943b0f24eda9594","versionType":"git"},{"version":"55fcf09b3fe4325c9395ebbb0322a547a157ebc7","status":"affected","lessThan":"9a1bd9fd1326655dfc31b18ca92ea8433cb31204","versionType":"git"},{"version":"55fcf09b3fe4325c9395ebbb0322a547a157ebc7","status":"affected","lessThan":"6c2ab7c4549f4f2305848df834e784651dbf1676","versionType":"git"},{"version":"55fcf09b3fe4325c9395ebbb0322a547a157ebc7","status":"affected","lessThan":"dfc59a062c386d3d4415ecdab781065a645f33cc","versionType":"git"},{"version":"55fcf09b3fe4325c9395ebbb0322a547a157ebc7","status":"affected","lessThan":"a7f3d4f22d920dc3c7d75f02ece0f7bf2c58437e","versionType":"git"},{"version":"55fcf09b3fe4325c9395ebbb0322a547a157ebc7","status":"affected","lessThan":"d14b5d0e97fccd27974fedc03b903408872907fd","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["security/selinux/ss/policydb.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.23","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.23","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.108","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.49","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.13","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["security/selinux/ss/policydb.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/766051751cfb90fc9c29c30c2943b0f24eda9594"},{"url":"https://git.kernel.org/stable/c/9a1bd9fd1326655dfc31b18ca92ea8433cb31204"},{"url":"https://git.kernel.org/stable/c/6c2ab7c4549f4f2305848df834e784651dbf1676"},{"url":"https://git.kernel.org/stable/c/dfc59a062c386d3d4415ecdab781065a645f33cc"},{"url":"https://git.kernel.org/stable/c/a7f3d4f22d920dc3c7d75f02ece0f7bf2c58437e"},{"url":"https://git.kernel.org/stable/c/d14b5d0e97fccd27974fedc03b903408872907fd"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-30T12:31:05.421Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.23","versionEndExcluding":"6.1.191"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.23","versionEndExcluding":"6.6.160"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.23","versionEndExcluding":"6.12.108"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.23","versionEndExcluding":"6.18.49"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.23","versionEndExcluding":"7.1.13"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.23","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}