{"id":"CVE-2026-80757","summary":"selinux: reject a class permission count below its inherited common","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nselinux: reject a class permission count below its inherited common\n\nsecurity_get_permissions() maps an inherited common's permissions into\nan array sized by the class's own permissions.nprim, but class_read()\ntakes that nprim verbatim from the policy image and never checks that it\ncovers the common.  A class that inherits a common of N permissions while\ndeclaring a smaller nprim is accepted, and on load the common's\npermissions are written past the class-sized array -- an out-of-bounds\nheap write.\n\nReject a class whose permission count is below its inherited common's.\nWell-formed policies, where the class count already includes the\ninherited permissions, are unaffected.","modified":"2026-09-05T03:48:34.728885822Z","published":"2026-09-03T08:26:35.005Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80757.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1b995966c3ae5244751bdaee9bfe7e17567d4fbe"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2002ff745db64ac83ee1bb9ff78196d2d68bfdb3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2b7ffd7921fcbfe408fb7b372e47454e45b1e6a7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/38d91446630a20ce8c2a981810deea81fd61a3b5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/638213f2e6ea52c06a25861616781338d154db35"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9a82dcd98b6e6e11cfd162410967951f12152528"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a63011c009ea79439b800a05602b880eb4adbb05"},{"type":"WEB","url":"https://git.kernel.org/stable/c/acd5b09be98fd38b7392307880156fb0452a7276"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80757.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80757"},{"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":"2002ff745db64ac83ee1bb9ff78196d2d68bfdb3"},{"fixed":"38d91446630a20ce8c2a981810deea81fd61a3b5"},{"fixed":"638213f2e6ea52c06a25861616781338d154db35"},{"fixed":"2b7ffd7921fcbfe408fb7b372e47454e45b1e6a7"},{"fixed":"a63011c009ea79439b800a05602b880eb4adbb05"},{"fixed":"acd5b09be98fd38b7392307880156fb0452a7276"},{"fixed":"1b995966c3ae5244751bdaee9bfe7e17567d4fbe"},{"fixed":"9a82dcd98b6e6e11cfd162410967951f12152528"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80757.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.23"},{"fixed":"5.10.266"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.217"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.184"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.153"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.105"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.46"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.10"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80757.json"}}],"schema_version":"1.9.0"}