{"id":"CVE-2026-80755","aliases":["CVE-2026-80755"],"related":[],"kind":"vulnerability","state":"published","title":"selinux: reject a permission value exceeding the class permission count","summary":"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]","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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]","source":"cvelist"}],"published":"2026-09-03T08:26:33.797Z","modified":"2026-10-30T13:20:11.360Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"55fcf09b3fe4325c9395ebbb0322a547a157ebc7","fixed":"766051751cfb90fc9c29c30c2943b0f24eda9594","status":"affected"},{"type":"git","introduced":"55fcf09b3fe4325c9395ebbb0322a547a157ebc7","fixed":"9a1bd9fd1326655dfc31b18ca92ea8433cb31204","status":"affected"},{"type":"git","introduced":"55fcf09b3fe4325c9395ebbb0322a547a157ebc7","fixed":"6c2ab7c4549f4f2305848df834e784651dbf1676","status":"affected"},{"type":"git","introduced":"55fcf09b3fe4325c9395ebbb0322a547a157ebc7","fixed":"dfc59a062c386d3d4415ecdab781065a645f33cc","status":"affected"},{"type":"git","introduced":"55fcf09b3fe4325c9395ebbb0322a547a157ebc7","fixed":"a7f3d4f22d920dc3c7d75f02ece0f7bf2c58437e","status":"affected"},{"type":"git","introduced":"55fcf09b3fe4325c9395ebbb0322a547a157ebc7","fixed":"d14b5d0e97fccd27974fedc03b903408872907fd","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.23","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.23","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.108","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.49","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.13","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/766051751cfb90fc9c29c30c2943b0f24eda9594","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9a1bd9fd1326655dfc31b18ca92ea8433cb31204","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6c2ab7c4549f4f2305848df834e784651dbf1676","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dfc59a062c386d3d4415ecdab781065a645f33cc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a7f3d4f22d920dc3c7d75f02ece0f7bf2c58437e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d14b5d0e97fccd27974fedc03b903408872907fd","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-80755","url":"https://www.cve.org/CVERecord?id=CVE-2026-80755","licence":"CVE Terms of Use","modified":"2026-10-30T12:31:05.421Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-80755","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80755","licence":"Public domain","modified":"2026-10-30T13:20:11.360Z"}],"updatedAt":"2026-11-25T22:59:36.168Z","epss":{"score":0.00197,"percentile":0.09888,"date":"2026-12-01T12:00:22.000Z"}}