Skip to content
Heist/ feed
Back to feed
UnratedFix available

selinux: reject a class permission count below its inherited common

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: selinux: reject a class permission count below its inherited common security_get_permissions() maps an inherited common's permissions into an array sized by the class's own permissions.nprim, but class_read() takes that nprim verbatim from the policy image and never checks that it covers the common. A class that inherits a common of N permissions while declaring a smaller nprim is accepted, and on load the common's permissions are written past the class-sized array -- an out-of-bounds heap write. Reject a class whose permission count is below its inherited common's. Well-formed policies, where the class count already includes the inherited permissions, are unaffected.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.266, 5.15.217, 6.1.184, 6.12.105, 6.18.46, 6.6.153, 7.1.10
CVEs
CVE-2026-80757
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 01:41 UTC · Revision 1

Source evidence

selinux: reject a class permission count below its inherited common

core-osv · Original source

Published 3 Sept 2026, 08:26 UTC

In the Linux kernel, the following vulnerability has been resolved: selinux: reject a class permission count below its inherited common security_get_permissions() maps an inherited common's permissions into an array sized by the class's own permissions.nprim, but class_read() takes that nprim verbatim from the policy image and never checks that it covers the common. A class that inherits a common of N permissions while declaring a smaller nprim is accepted, and on load the common's permissions are written past the class-sized array -- an out-of-bounds heap write. Reject a class whose permission count is below its inherited common's. Well-formed policies, where the class count already includes the inherited permissions, are unaffected.

osv:CVE-2026-80757

Kernel

Fixed versions: 5.10.266, 5.15.217, 6.1.184, 6.6.153, 6.12.105, 6.18.46, 7.1.10

Complete source record
{
  "id": "4bbd9a376fb1114da5682f639ea801625917e5694bd4610eb60f526a09977c28",
  "url": "https://osv.dev/vulnerability/CVE-2026-80757",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "selinux: reject a class permission count below its inherited common",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: selinux: reject a class permission count below its inherited common security_get_permissions() maps an inherited common's permissions into an array sized by the class's own permissions.nprim, but class_read() takes that nprim verbatim from the policy image and never checks that it covers the common. A class that inherits a common of N permissions while declaring a smaller nprim is accepted, and on load the common's permissions are written past the class-sized array -- an out-of-bounds heap write. Reject a class whose permission count is below its inherited common's. Well-formed policies, where the class count already includes the inherited permissions, are unaffected.",
    "evidence": "osv:CVE-2026-80757",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.266",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.217",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.184",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.153",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.105",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.46",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.1.10",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-80757",
      "aliases": [
        "CVE-2026-80757"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "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"
          }
        },
        {
          "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"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80757.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:48.541397521Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/1b995966c3ae5244751bdaee9bfe7e17567d4fbe",
        "https://git.kernel.org/stable/c/2002ff745db64ac83ee1bb9ff78196d2d68bfdb3",
        "https://git.kernel.org/stable/c/2b7ffd7921fcbfe408fb7b372e47454e45b1e6a7",
        "https://git.kernel.org/stable/c/38d91446630a20ce8c2a981810deea81fd61a3b5",
        "https://git.kernel.org/stable/c/638213f2e6ea52c06a25861616781338d154db35",
        "https://git.kernel.org/stable/c/9a82dcd98b6e6e11cfd162410967951f12152528",
        "https://git.kernel.org/stable/c/a63011c009ea79439b800a05602b880eb4adbb05",
        "https://git.kernel.org/stable/c/acd5b09be98fd38b7392307880156fb0452a7276",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80757.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-80757",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80757.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-80757",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 517064,
  "published_at": "2026-09-03T08:26:35.005+00:00"
}