{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-90393",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-09-11T19:38:34.810Z",
        "datePublished": "2026-09-17T16:09:26.388Z",
        "dateUpdated": "2026-10-19T09:02:57.658Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-10-19T09:02:57.658Z"
            },
            "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 && old_prog != link->prog)\n    return -EPERM;\n                                              bpf_netns_link_update_prog\n                                                if (old_prog && old_prog != link->prog)\n                                                ...\n                                                old_prog = xchg(&link->prog, new_prog);\n                                                bpf_prog_put(old_prog);\n  if (new_prog->type != link->prog->type) <-- trigger UAF\n\nFix this by moving the old_prog and prog->type checks inside the\nnetns_bpf_mutex critical section. Meanwhile, use guard() to simplify\nlock management and avoid all the goto jumping."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "kernel/bpf/net_namespace.c"
                    ],
                    "versions": [
                        {
                            "version": "7f045a49fee04b5662cbdeaf0838f9322ae8c63a",
                            "lessThan": "d462b5481d77ce7df8a5ff89a699386f00c9214d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7f045a49fee04b5662cbdeaf0838f9322ae8c63a",
                            "lessThan": "bdddf3e1493ee973619c154a57071ce67f78598b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7f045a49fee04b5662cbdeaf0838f9322ae8c63a",
                            "lessThan": "79a66fd997d4eecf17302d613194879eb32e0986",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7f045a49fee04b5662cbdeaf0838f9322ae8c63a",
                            "lessThan": "f4ce6803df4095777191d800bebc50219b615ca0",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7f045a49fee04b5662cbdeaf0838f9322ae8c63a",
                            "lessThan": "277168cb9d153ce8e9c3f9275670e32ae61b41d6",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7f045a49fee04b5662cbdeaf0838f9322ae8c63a",
                            "lessThan": "bda86e9f31b9a296b6e64a51c91dc776fc9f613e",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7f045a49fee04b5662cbdeaf0838f9322ae8c63a",
                            "lessThan": "923f559e95b89b33c7e1793b3d8f7f4ec9b2e4b7",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7f045a49fee04b5662cbdeaf0838f9322ae8c63a",
                            "lessThan": "5c5997836381010fc5907b36bc17d3b19407e933",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "kernel/bpf/net_namespace.c"
                    ],
                    "versions": [
                        {
                            "version": "5.8",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.8",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.270",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.221",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.188",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.157",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.110",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.52",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.2.6",
                            "lessThanOrEqual": "7.2.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.8",
                                    "versionEndExcluding": "5.10.270"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.8",
                                    "versionEndExcluding": "5.15.221"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.8",
                                    "versionEndExcluding": "6.1.188"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.8",
                                    "versionEndExcluding": "6.6.157"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.8",
                                    "versionEndExcluding": "6.12.110"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.8",
                                    "versionEndExcluding": "6.18.52"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.8",
                                    "versionEndExcluding": "7.2.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.8",
                                    "versionEndExcluding": "7.3"
                                }
                            ]
                        }
                    ]
                }
            ],
            "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"
            }
        }
    }
}