{"id":"CVE-2026-80755","summary":"selinux: reject a permission value exceeding the class permission count","details":"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]","modified":"2026-09-05T03:48:19.442857761Z","published":"2026-09-03T08:26:33.797Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80755.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/6c2ab7c4549f4f2305848df834e784651dbf1676"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a7f3d4f22d920dc3c7d75f02ece0f7bf2c58437e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d14b5d0e97fccd27974fedc03b903408872907fd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dfc59a062c386d3d4415ecdab781065a645f33cc"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80755.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80755"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"55fcf09b3fe4325c9395ebbb0322a547a157ebc7"},{"fixed":"6c2ab7c4549f4f2305848df834e784651dbf1676"},{"fixed":"dfc59a062c386d3d4415ecdab781065a645f33cc"},{"fixed":"a7f3d4f22d920dc3c7d75f02ece0f7bf2c58437e"},{"fixed":"d14b5d0e97fccd27974fedc03b903408872907fd"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80755.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.23"},{"fixed":"6.12.108"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.49"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.13"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80755.json"}}],"schema_version":"1.9.0"}