{"id":"CVE-2026-93138","revision":"11dcd48919834eecac9ce626d533aa2d","records":[{"revision":"11dcd48919834eecac9ce626d533aa2d","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-93138","aliases":[],"title":"bpf: Fix vmlinux BTF prep race in bpf_get_btf_vmlinux","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix vmlinux BTF prep race in bpf_get_btf_vmlinux\n\nbpf_get_btf_vmlinux() lazily parses the vmlinux BTF under the\nbpf_verifier_lock, but publishes the result through a plain store\nand re-checks it through a plain lockless load. Nothing orders\nthe stores initializing the struct btf inside btf_parse_vmlinux()\nagainst the store publishing the pointer: On a weakly ordered\narch, a concurrent first-time caller taking the lockless fast\npath could in principle observe the pointer before the parsed\ncontents are visible. The mutex_unlock() does not help such a\nreader given it only synchronizes with a later acquisition of the\nsame lock. Thus, publish the pointer with smp_store_release()\nand read it on the fast path with smp_load_acquire().\n\nAcquire semantics are needed rather than a dependency-ordered\nREAD_ONCE(): btf_parse_vmlinux() also populates globals outside\nthe returned object (e.g. bpf_ctx_convert.t). An address\ndependency would only order accesses performed through the\npointer and not cover other globals.","state":0,"publishedAt":"2026-09-17T16:11:38.795+00:00","modifiedAt":"2026-10-19T09:06:11.046+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"kernel/bpf/verifier.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"8580ac9404f6240668a026785d7d8856f0530409\",\n                            \"lessThan\": \"f32a4a40bc635be25d6816da4bd91e9e58c31bf3\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"8580ac9404f6240668a026785d7d8856f0530409\",\n                            \"lessThan\": \"a7fe72d780122eb934536f1719abad445f6afdf7\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"8580ac9404f6240668a026785d7d8856f0530409\",\n                            \"lessThan\": \"e18a10b39c994f04e1ebd7f8fc042bb1ca8ad053\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"8580ac9404f6240668a026785d7d8856f0530409\",\n                            \"lessThan\": \"978524ecfc1c539282df5858de1eec20748c6f74\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"8580ac9404f6240668a026785d7d8856f0530409\",\n                            \"lessThan\": \"eaf302628a78806f66d8224d6ba03fb4d5025de4\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"8580ac9404f6240668a026785d7d8856f0530409\",\n                            \"lessThan\": \"2892f3f44bf865c8fb6b6c0960edec4cc91806ee\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"8580ac9404f6240668a026785d7d8856f0530409\",\n                            \"lessThan\": \"86d11c594d60b255b526fa5260f669463fb1a063\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"8580ac9404f6240668a026785d7d8856f0530409\",\n                            \"lessThan\": \"92863e678070f57c17c868e4bfa2441a5c61ad2b\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"kernel/bpf/verifier.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"5.5\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"5.5\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"5.10.270\",\n                            \"lessThanOrEqual\": \"5.10.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"5.15.221\",\n                            \"lessThanOrEqual\": \"5.15.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.1.188\",\n                            \"lessThanOrEqual\": \"6.1.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.6.157\",\n                            \"lessThanOrEqual\": \"6.6.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.12.110\",\n                            \"lessThanOrEqual\": \"6.12.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.52\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.6\",\n                            \"lessThanOrEqual\": \"7.2.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.3\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"severity":"HIGH"}],"references":["https://git.kernel.org/stable/c/f32a4a40bc635be25d6816da4bd91e9e58c31bf3","https://git.kernel.org/stable/c/a7fe72d780122eb934536f1719abad445f6afdf7","https://git.kernel.org/stable/c/e18a10b39c994f04e1ebd7f8fc042bb1ca8ad053","https://git.kernel.org/stable/c/978524ecfc1c539282df5858de1eec20748c6f74","https://git.kernel.org/stable/c/eaf302628a78806f66d8224d6ba03fb4d5025de4","https://git.kernel.org/stable/c/2892f3f44bf865c8fb6b6c0960edec4cc91806ee","https://git.kernel.org/stable/c/86d11c594d60b255b526fa5260f669463fb1a063","https://git.kernel.org/stable/c/92863e678070f57c17c868e4bfa2441a5c61ad2b"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-93138","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-93138","identifiers":["CVE-2026-93138"]},"retained":false,"historicalAffected":[]}],"coverage":[]}