{"id":"CVE-2026-93138","published":"2026-09-17T16:11:38Z","modified":"2026-10-19T09:06:11Z","title":"bpf: Fix vmlinux BTF prep race in bpf_get_btf_vmlinux","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00176,"percentile":0.07097,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/f32a4a40bc635be25d6816da4bd91e9e58c31bf3","tags":[]},{"url":"https://git.kernel.org/stable/c/a7fe72d780122eb934536f1719abad445f6afdf7","tags":[]},{"url":"https://git.kernel.org/stable/c/e18a10b39c994f04e1ebd7f8fc042bb1ca8ad053","tags":[]},{"url":"https://git.kernel.org/stable/c/978524ecfc1c539282df5858de1eec20748c6f74","tags":[]},{"url":"https://git.kernel.org/stable/c/eaf302628a78806f66d8224d6ba03fb4d5025de4","tags":[]},{"url":"https://git.kernel.org/stable/c/2892f3f44bf865c8fb6b6c0960edec4cc91806ee","tags":[]},{"url":"https://git.kernel.org/stable/c/86d11c594d60b255b526fa5260f669463fb1a063","tags":[]},{"url":"https://git.kernel.org/stable/c/92863e678070f57c17c868e4bfa2441a5c61ad2b","tags":[]}],"priority":{"score":6.9,"factors":[{"name":"EPSS percentile","points":1.42},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 8580ac9404f6240668a026785d7d8856f0530409, < f32a4a40bc635be25d6816da4bd91e9e58c31bf3",">= 8580ac9404f6240668a026785d7d8856f0530409, < a7fe72d780122eb934536f1719abad445f6afdf7",">= 8580ac9404f6240668a026785d7d8856f0530409, < e18a10b39c994f04e1ebd7f8fc042bb1ca8ad053",">= 8580ac9404f6240668a026785d7d8856f0530409, < 978524ecfc1c539282df5858de1eec20748c6f74",">= 8580ac9404f6240668a026785d7d8856f0530409, < eaf302628a78806f66d8224d6ba03fb4d5025de4",">= 8580ac9404f6240668a026785d7d8856f0530409, < 2892f3f44bf865c8fb6b6c0960edec4cc91806ee",">= 8580ac9404f6240668a026785d7d8856f0530409, < 86d11c594d60b255b526fa5260f669463fb1a063",">= 8580ac9404f6240668a026785d7d8856f0530409, < 92863e678070f57c17c868e4bfa2441a5c61ad2b"]},{"vendor":"Linux","product":"Linux","versions":["5.5"]}],"euvd":{"id":"EUVD-2026-82246","exploited":false,"provenance":"source"}}