CVE-2026-43391 (GCVE-0-2026-43391)

Vulnerability from cvelistv5 – Published: 2026-05-08 14:21 – Updated: 2026-08-05 12:27
VLAI
Title
nsfs: tighten permission checks for handle opening
Summary
In the Linux kernel, the following vulnerability has been resolved: nsfs: tighten permission checks for handle opening Even privileged services should not necessarily be able to see other privileged service's namespaces so they can't leak information to each other. Use may_see_all_namespaces() helper that centralizes this policy until the nstree adapts.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 5222470b2fbb3740f931f189db33dd1367b1ae75 , < 1797ee11451f1b2be69863a9f5bd43b948813fdf (git)
Affected: 5222470b2fbb3740f931f189db33dd1367b1ae75 , < d2324a9317f00013facb0ba00b00440e19d2af5e (git)
Create a notification for this product.
Linux Linux Affected: 6.18
Unaffected: 0 , < 6.18 (semver)
Unaffected: 6.19.9 , ≤ 6.19.* (semver)
Unaffected: 7.0 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/nsfs.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "1797ee11451f1b2be69863a9f5bd43b948813fdf",
              "status": "affected",
              "version": "5222470b2fbb3740f931f189db33dd1367b1ae75",
              "versionType": "git"
            },
            {
              "lessThan": "d2324a9317f00013facb0ba00b00440e19d2af5e",
              "status": "affected",
              "version": "5222470b2fbb3740f931f189db33dd1367b1ae75",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/nsfs.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.18"
            },
            {
              "lessThan": "6.18",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.19.*",
              "status": "unaffected",
              "version": "6.19.9",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.0",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19.9",
                  "versionStartIncluding": "6.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0",
                  "versionStartIncluding": "6.18",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnsfs: tighten permission checks for handle opening\n\nEven privileged services should not necessarily be able to see other\nprivileged service\u0027s namespaces so they can\u0027t leak information to each\nother. Use may_see_all_namespaces() helper that centralizes this policy\nuntil the nstree adapts."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 8.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The vulnerable path is reached through the local open_by_handle_at(2) syscall using the nsfs root anchor, then handle_to_path() -\u003e exportfs_decode_fh_raw() -\u003e nsfs_fh_to_dentry(). It is not reachable via network packets or physical interaction.\nAC:L - There is no race or memory-layout dependency; once the attacker supplies a valid or discoverable nsfs handle/namespace id, the authorization bypass is deterministic. Namespace ids are exposed through nsfs/listing interfaces and are not cryptographic secrets.\nPR:L - The pre-fix check required CAP_SYS_ADMIN in the target namespace\u0027s owning user namespace, which can be satisfied by a user-namespace/container root in plausible deployments. This is privileged local access, but not necessarily real root in the initial namespace.\nUI:N - Exploitation is performed entirely by the attacking process via syscalls. No victim user action is required.\nS:C - The bug lets one namespace-confined privileged context obtain handles to another service\u0027s namespaces, crossing the namespace/sandbox visibility boundary that the fix restores. The impacted resources can be outside the attacker\u0027s intended namespace security domain.\nC:H - An unauthorized namespace fd exposes namespace metadata and can be used with setns paths to enter target mount, IPC, UTS, network, or related namespaces when the old capability gate is satisfied. In a severe deployment this can expose private service resources and secrets.\nI:H - After obtaining the namespace fd, the attacker can join target namespaces where existing capability checks allow it and modify namespace-scoped state such as mounts, IPC objects, hostnames, or service environment. This supports high integrity impact against the isolated service domain.\nA:H - The same unauthorized namespace access can be used to disrupt target namespace state, such as breaking mounts or other namespace-scoped resources needed by the victim service. In the highest reasonable scenario this can cause complete service availability loss."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T12:27:45.074Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/1797ee11451f1b2be69863a9f5bd43b948813fdf"
        },
        {
          "url": "https://git.kernel.org/stable/c/d2324a9317f00013facb0ba00b00440e19d2af5e"
        }
      ],
      "title": "nsfs: tighten permission checks for handle opening",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-43391",
    "datePublished": "2026-05-08T14:21:36.012Z",
    "dateReserved": "2026-05-01T14:12:56.007Z",
    "dateUpdated": "2026-08-05T12:27:45.074Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-43391",
      "date": "2026-08-05",
      "epss": "0.00121",
      "percentile": "0.02244"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-43391\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-05-08T15:16:50.490\",\"lastModified\":\"2026-06-17T10:49:30.623\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nnsfs: tighten permission checks for handle opening\\n\\nEven privileged services should not necessarily be able to see other\\nprivileged service\u0027s namespaces so they can\u0027t leak information to each\\nother. Use may_see_all_namespaces() helper that centralizes this policy\\nuntil the nstree adapts.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"fs/nsfs.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"5222470b2fbb3740f931f189db33dd1367b1ae75\",\"lessThan\":\"1797ee11451f1b2be69863a9f5bd43b948813fdf\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"5222470b2fbb3740f931f189db33dd1367b1ae75\",\"lessThan\":\"d2324a9317f00013facb0ba00b00440e19d2af5e\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"fs/nsfs.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.18\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.18\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.19.9\",\"lessThanOrEqual\":\"6.19.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.0\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H\",\"baseScore\":8.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"CHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":2.0,\"impactScore\":6.0}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"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\":\"6.18\",\"versionEndExcluding\":\"6.19.9\",\"matchCriteriaId\":\"57F58163-F061-4520-9C0F-15D72CC3A1C2\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*\",\"matchCriteriaId\":\"F253B622-8837-4245-BCE5-A7BF8FC76A16\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*\",\"matchCriteriaId\":\"4AE85AD8-4641-4E7C-A2F4-305E2CD9EE64\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/1797ee11451f1b2be69863a9f5bd43b948813fdf\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/d2324a9317f00013facb0ba00b00440e19d2af5e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}",
    "redhat_vex": {
      "aggregate_severity": "None",
      "current_release_date": "2026-06-28T07:37:18+00:00",
      "cve": "CVE-2026-43391",
      "id": "CVE-2026-43391",
      "initial_release_date": "2026-05-08T00:00:00+00:00",
      "product_status:known_not_affected": "274",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: nsfs: tighten permission checks for handle opening",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-43391.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-05-12T03:30:21Z",
      "cve": "CVE-2026-43391",
      "id": "CVE-2026-43391",
      "initial_release_date": "2026-05-11T14:13:50Z",
      "product_status:known_not_affected": "226",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-43391",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-43391.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…