CVE-2026-90393 (GCVE-0-2026-90393)

Vulnerability from cvelistv5 – Published: 2026-09-17 16:09 – Updated: 2026-09-17 16:09
VLAI
Title
bpf: Fix potential UAF in bpf_netns_link_update_prog
Summary
In the Linux kernel, the following vulnerability has been resolved: bpf: Fix potential UAF in bpf_netns_link_update_prog In bpf_netns_link_update_prog, the checks for old_prog and prog type are currently performed locklessly before acquiring netns_bpf_mutex. This creates a race condition that can lead to a UAF issue. If two threads concurrently execute BPF_LINK_UPDATE on the same netns link, the following execution path can trigger a UAF: CPU0 CPU1 bpf_netns_link_update_prog if (old_prog && old_prog != link->prog) return -EPERM; bpf_netns_link_update_prog if (old_prog && old_prog != link->prog) ... old_prog = xchg(&link->prog, new_prog); bpf_prog_put(old_prog); if (new_prog->type != link->prog->type) <-- trigger UAF Fix this by moving the old_prog and prog->type checks inside the netns_bpf_mutex critical section. Meanwhile, use guard() to simplify lock management and avoid all the goto jumping.
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 7f045a49fee04b5662cbdeaf0838f9322ae8c63a , < d462b5481d77ce7df8a5ff89a699386f00c9214d (git)
Affected: 7f045a49fee04b5662cbdeaf0838f9322ae8c63a , < bdddf3e1493ee973619c154a57071ce67f78598b (git)
Affected: 7f045a49fee04b5662cbdeaf0838f9322ae8c63a , < 79a66fd997d4eecf17302d613194879eb32e0986 (git)
Affected: 7f045a49fee04b5662cbdeaf0838f9322ae8c63a , < f4ce6803df4095777191d800bebc50219b615ca0 (git)
Affected: 7f045a49fee04b5662cbdeaf0838f9322ae8c63a , < 277168cb9d153ce8e9c3f9275670e32ae61b41d6 (git)
Affected: 7f045a49fee04b5662cbdeaf0838f9322ae8c63a , < bda86e9f31b9a296b6e64a51c91dc776fc9f613e (git)
Affected: 7f045a49fee04b5662cbdeaf0838f9322ae8c63a , < 923f559e95b89b33c7e1793b3d8f7f4ec9b2e4b7 (git)
Affected: 7f045a49fee04b5662cbdeaf0838f9322ae8c63a , < 5c5997836381010fc5907b36bc17d3b19407e933 (git)
guessed Create a notification for this product.
Linux Linux Affected: 5.8
Unaffected: 0 , < 5.8 (semver)
Unaffected: 5.10.270 , ≤ 5.10.* (semver)
Unaffected: 5.15.221 , ≤ 5.15.* (semver)
Unaffected: 6.1.188 , ≤ 6.1.* (semver)
Unaffected: 6.6.157 , ≤ 6.6.* (semver)
Unaffected: 6.12.110 , ≤ 6.12.* (semver)
Unaffected: 6.18.52 , ≤ 6.18.* (semver)
Unaffected: 7.2.6 , ≤ 7.2.* (semver)
Unaffected: 7.3-rc1 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "kernel/bpf/net_namespace.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "d462b5481d77ce7df8a5ff89a699386f00c9214d",
              "status": "affected",
              "version": "7f045a49fee04b5662cbdeaf0838f9322ae8c63a",
              "versionType": "git"
            },
            {
              "lessThan": "bdddf3e1493ee973619c154a57071ce67f78598b",
              "status": "affected",
              "version": "7f045a49fee04b5662cbdeaf0838f9322ae8c63a",
              "versionType": "git"
            },
            {
              "lessThan": "79a66fd997d4eecf17302d613194879eb32e0986",
              "status": "affected",
              "version": "7f045a49fee04b5662cbdeaf0838f9322ae8c63a",
              "versionType": "git"
            },
            {
              "lessThan": "f4ce6803df4095777191d800bebc50219b615ca0",
              "status": "affected",
              "version": "7f045a49fee04b5662cbdeaf0838f9322ae8c63a",
              "versionType": "git"
            },
            {
              "lessThan": "277168cb9d153ce8e9c3f9275670e32ae61b41d6",
              "status": "affected",
              "version": "7f045a49fee04b5662cbdeaf0838f9322ae8c63a",
              "versionType": "git"
            },
            {
              "lessThan": "bda86e9f31b9a296b6e64a51c91dc776fc9f613e",
              "status": "affected",
              "version": "7f045a49fee04b5662cbdeaf0838f9322ae8c63a",
              "versionType": "git"
            },
            {
              "lessThan": "923f559e95b89b33c7e1793b3d8f7f4ec9b2e4b7",
              "status": "affected",
              "version": "7f045a49fee04b5662cbdeaf0838f9322ae8c63a",
              "versionType": "git"
            },
            {
              "lessThan": "5c5997836381010fc5907b36bc17d3b19407e933",
              "status": "affected",
              "version": "7f045a49fee04b5662cbdeaf0838f9322ae8c63a",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "kernel/bpf/net_namespace.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.8"
            },
            {
              "lessThan": "5.8",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.270",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.221",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.188",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.157",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.110",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.52",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.270",
                  "versionStartIncluding": "5.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.221",
                  "versionStartIncluding": "5.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.188",
                  "versionStartIncluding": "5.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.157",
                  "versionStartIncluding": "5.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.110",
                  "versionStartIncluding": "5.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.52",
                  "versionStartIncluding": "5.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.6",
                  "versionStartIncluding": "5.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3-rc1",
                  "versionStartIncluding": "5.8",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix potential UAF in bpf_netns_link_update_prog\n\nIn bpf_netns_link_update_prog, the checks for old_prog and prog type\nare currently performed locklessly before acquiring netns_bpf_mutex.\nThis creates a race condition that can lead to a UAF issue.\n\nIf two threads concurrently execute BPF_LINK_UPDATE on the same netns\nlink, the following execution path can trigger a UAF:\n\nCPU0                                          CPU1\nbpf_netns_link_update_prog\n  if (old_prog \u0026\u0026 old_prog != link-\u003eprog)\n    return -EPERM;\n                                              bpf_netns_link_update_prog\n                                                if (old_prog \u0026\u0026 old_prog != link-\u003eprog)\n                                                ...\n                                                old_prog = xchg(\u0026link-\u003eprog, new_prog);\n                                                bpf_prog_put(old_prog);\n  if (new_prog-\u003etype != link-\u003eprog-\u003etype) \u003c-- trigger UAF\n\nFix this by moving the old_prog and prog-\u003etype checks inside the\nnetns_bpf_mutex critical section. Meanwhile, use guard() to simplify\nlock management and avoid all the goto jumping."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-09-17T16:09:26.388Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/d462b5481d77ce7df8a5ff89a699386f00c9214d"
        },
        {
          "url": "https://git.kernel.org/stable/c/bdddf3e1493ee973619c154a57071ce67f78598b"
        },
        {
          "url": "https://git.kernel.org/stable/c/79a66fd997d4eecf17302d613194879eb32e0986"
        },
        {
          "url": "https://git.kernel.org/stable/c/f4ce6803df4095777191d800bebc50219b615ca0"
        },
        {
          "url": "https://git.kernel.org/stable/c/277168cb9d153ce8e9c3f9275670e32ae61b41d6"
        },
        {
          "url": "https://git.kernel.org/stable/c/bda86e9f31b9a296b6e64a51c91dc776fc9f613e"
        },
        {
          "url": "https://git.kernel.org/stable/c/923f559e95b89b33c7e1793b3d8f7f4ec9b2e4b7"
        },
        {
          "url": "https://git.kernel.org/stable/c/5c5997836381010fc5907b36bc17d3b19407e933"
        }
      ],
      "title": "bpf: Fix potential UAF in bpf_netns_link_update_prog",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-90393",
    "datePublished": "2026-09-17T16:09:26.388Z",
    "dateReserved": "2026-09-11T19:38:34.810Z",
    "dateUpdated": "2026-09-17T16:09:26.388Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-90393",
      "date": "2026-09-29",
      "epss": "0.00236",
      "percentile": "0.13177"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "kernel/bpf/net_namespace.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "d462b5481d77ce7df8a5ff89a699386f00c9214d",
                    "status": "affected",
                    "version": "7f045a49fee04b5662cbdeaf0838f9322ae8c63a",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "bdddf3e1493ee973619c154a57071ce67f78598b",
                    "status": "affected",
                    "version": "7f045a49fee04b5662cbdeaf0838f9322ae8c63a",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "79a66fd997d4eecf17302d613194879eb32e0986",
                    "status": "affected",
                    "version": "7f045a49fee04b5662cbdeaf0838f9322ae8c63a",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "f4ce6803df4095777191d800bebc50219b615ca0",
                    "status": "affected",
                    "version": "7f045a49fee04b5662cbdeaf0838f9322ae8c63a",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "277168cb9d153ce8e9c3f9275670e32ae61b41d6",
                    "status": "affected",
                    "version": "7f045a49fee04b5662cbdeaf0838f9322ae8c63a",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "bda86e9f31b9a296b6e64a51c91dc776fc9f613e",
                    "status": "affected",
                    "version": "7f045a49fee04b5662cbdeaf0838f9322ae8c63a",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "923f559e95b89b33c7e1793b3d8f7f4ec9b2e4b7",
                    "status": "affected",
                    "version": "7f045a49fee04b5662cbdeaf0838f9322ae8c63a",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "5c5997836381010fc5907b36bc17d3b19407e933",
                    "status": "affected",
                    "version": "7f045a49fee04b5662cbdeaf0838f9322ae8c63a",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "kernel/bpf/net_namespace.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "5.8"
                  },
                  {
                    "lessThan": "5.8",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.10.*",
                    "status": "unaffected",
                    "version": "5.10.270",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.15.*",
                    "status": "unaffected",
                    "version": "5.15.221",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.1.*",
                    "status": "unaffected",
                    "version": "6.1.188",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.157",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.110",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.52",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.2.*",
                    "status": "unaffected",
                    "version": "7.2.6",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.3-rc1",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix potential UAF in bpf_netns_link_update_prog\n\nIn bpf_netns_link_update_prog, the checks for old_prog and prog type\nare currently performed locklessly before acquiring netns_bpf_mutex.\nThis creates a race condition that can lead to a UAF issue.\n\nIf two threads concurrently execute BPF_LINK_UPDATE on the same netns\nlink, the following execution path can trigger a UAF:\n\nCPU0                                          CPU1\nbpf_netns_link_update_prog\n  if (old_prog \u0026\u0026 old_prog != link-\u003eprog)\n    return -EPERM;\n                                              bpf_netns_link_update_prog\n                                                if (old_prog \u0026\u0026 old_prog != link-\u003eprog)\n                                                ...\n                                                old_prog = xchg(\u0026link-\u003eprog, new_prog);\n                                                bpf_prog_put(old_prog);\n  if (new_prog-\u003etype != link-\u003eprog-\u003etype) \u003c-- trigger UAF\n\nFix this by moving the old_prog and prog-\u003etype checks inside the\nnetns_bpf_mutex critical section. Meanwhile, use guard() to simplify\nlock management and avoid all the goto jumping."
          }
        ],
        "id": "CVE-2026-90393",
        "lastModified": "2026-09-17T17:17:38.903",
        "metrics": {},
        "published": "2026-09-17T17:17:38.903",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/277168cb9d153ce8e9c3f9275670e32ae61b41d6"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/5c5997836381010fc5907b36bc17d3b19407e933"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/79a66fd997d4eecf17302d613194879eb32e0986"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/923f559e95b89b33c7e1793b3d8f7f4ec9b2e4b7"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/bda86e9f31b9a296b6e64a51c91dc776fc9f613e"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/bdddf3e1493ee973619c154a57071ce67f78598b"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/d462b5481d77ce7df8a5ff89a699386f00c9214d"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/f4ce6803df4095777191d800bebc50219b615ca0"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "suse_vex": {
      "aggregate_severity": "important",
      "current_release_date": "2026-09-22T16:28:58Z",
      "cve": "CVE-2026-90393",
      "id": "CVE-2026-90393",
      "initial_release_date": "2026-09-22T16:28:58Z",
      "product_status:known_affected": "284",
      "product_status:known_not_affected": "63",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-90393",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-90393.json",
      "version": "2"
    }
  }
}



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…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…