← Back to CVE Explorer

CVE-2026-46302

Full vulnerability record from the local CVENow database.

Description

In the Linux kernel, the following vulnerability has been resolved: selinux: allow multiple opens of /sys/fs/selinux/policy Currently there can only be a single open of /sys/fs/selinux/policy at any time. This allows any process to block any other process from reading the kernel policy. The original motivation seems to have been a mix of preventing an inconsistent view of the policy size and preventing userspace from allocating kernel memory without bound, but this is arguably equally bad. Eliminate the policy_opened flag and shrink the critical section that the policy mutex is held. While we are making changes here, drop a couple of extraneous BUG_ONs.

Severity
MEDIUM
CVSS score
5.5 (v3.1)
Vulnerability status
Modified
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-06-08 17:16:48.707000
Last modified
2026-10-30 13:19:01.003000
View original CVE JSON
{
  "id": "CVE-2026-46302",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-06-08T17:16:48.707",
  "lastModified": "2026-10-30T13:19:01.003",
  "vulnStatus": "Modified",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nselinux: allow multiple opens of /sys/fs/selinux/policy\n\nCurrently there can only be a single open of /sys/fs/selinux/policy at\nany time. This allows any process to block any other process from\nreading the kernel policy. The original motivation seems to have been\na mix of preventing an inconsistent view of the policy size and\npreventing userspace from allocating kernel memory without bound, but\nthis is arguably equally bad. Eliminate the policy_opened flag and\nshrink the critical section that the policy mutex is held. While we\nare making changes here, drop a couple of extraneous BUG_ONs."
    },
    {
      "lang": "es",
      "value": "En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nselinux: permitir múltiples aperturas de /sys/fs/selinux/policy\n\nActualmente solo puede haber una única apertura de /sys/fs/selinux/policy en cualquier momento. Esto permite a cualquier proceso bloquear a cualquier otro proceso de leer la política del kernel. La motivación original parece haber sido una mezcla de prevenir una vista inconsistente del tamaño de la política y evitar que el espacio de usuario asigne memoria del kernel sin límites, pero esto es, discutiblemente, igual de malo. Eliminar el indicador policy_opened y reducir la sección crítica en la que se mantiene el mutex de la política. Mientras estamos haciendo cambios aquí, eliminar un par de BUG_ONs superfluos."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "security/selinux/selinuxfs.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "cee74f47a6baba0ac457e87687fdcf0abd599f0a",
              "lessThan": "9795810d116bc9071485929ba6471dc8d5bd158b",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "cee74f47a6baba0ac457e87687fdcf0abd599f0a",
              "lessThan": "d8cafd0226d5df682d1f4ea978a4318fe3a11210",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "cee74f47a6baba0ac457e87687fdcf0abd599f0a",
              "lessThan": "0ed712134a3db0075bfe9a0f8536c48728ec745e",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "cee74f47a6baba0ac457e87687fdcf0abd599f0a",
              "lessThan": "c24d2e190b955baf3a95e05d34b192f61bd201b3",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "cee74f47a6baba0ac457e87687fdcf0abd599f0a",
              "lessThan": "714362f3779dfa453a78ced32396a72726962a41",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "cee74f47a6baba0ac457e87687fdcf0abd599f0a",
              "lessThan": "a02cd6805562305f936e807da83e253b719dd965",
              "versionType": "git",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "security/selinux/selinuxfs.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "2.6.37",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "2.6.37",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.1.191",
              "lessThanOrEqual": "6.1.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.6.160",
              "lessThanOrEqual": "6.6.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.12.114",
              "lessThanOrEqual": "6.12.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18.58",
              "lessThanOrEqual": "6.18.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.0.7",
              "lessThanOrEqual": "7.0.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.1",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Primary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
          "baseScore": 5.5,
          "baseSeverity": "MEDIUM",
          "attackVector": "LOCAL",
          "attackComplexity": "LOW",
          "privilegesRequired": "LOW",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "NONE",
          "integrityImpact": "NONE",
          "availabilityImpact": "HIGH"
        },
        "exploitabilityScore": 1.8,
        "impactScore": 3.6
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Primary",
      "description": [
        {
          "lang": "en",
          "value": "NVD-CWE-noinfo"
        }
      ]
    }
  ],
  "configurations": [
    {
      "nodes": [
        {
          "operator": "OR",
          "negate": false,
          "cpeMatch": [
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "versionStartIncluding": "2.6.37",
              "versionEndExcluding": "7.0.7",
              "matchCriteriaId": "DA80713D-F193-4E13-A301-ABB21A01CE03"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*",
              "matchCriteriaId": "B1EF7059-E670-45F4-B422-54C40FA86390"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*",
              "matchCriteriaId": "0D38F0BF-A728-4133-A358-D44A2F7EE6D6"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/0ed712134a3db0075bfe9a0f8536c48728ec745e",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/714362f3779dfa453a78ced32396a72726962a41",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "tags": [
        "Patch"
      ]
    },
    {
      "url": "https://git.kernel.org/stable/c/9795810d116bc9071485929ba6471dc8d5bd158b",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/a02cd6805562305f936e807da83e253b719dd965",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "tags": [
        "Patch"
      ]
    },
    {
      "url": "https://git.kernel.org/stable/c/c24d2e190b955baf3a95e05d34b192f61bd201b3",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/d8cafd0226d5df682d1f4ea978a4318fe3a11210",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}