{"api_version":"1","generated_at":"2026-09-17T23:31:15+00:00","cve":"CVE-2026-93137","urls":{"html":"https://cve.report/CVE-2026-93137","api":"https://cve.report/api/cve/CVE-2026-93137.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-93137","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-93137"},"summary":{"title":"bpf: Fix use-after-free on mm_struct in bpf_find_vma()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix use-after-free on mm_struct in bpf_find_vma()\n\nbpf_find_vma() reads task->mm and calls mmap_read_trylock(mm) without\nholding a reference on the mm. On a foreign task, a concurrent exit_mm()\ncan free the mm_struct between the lockless read and the trylock,\nresulting in a use-after-free. mm_struct is not SLAB_TYPESAFE_BY_RCU.\n\nFor the current task, task->mm is stable. For a foreign task, pin the mm\nunder task->alloc_lock and release it with mmput_async(), mirroring commit\nd8e27d2d22b6 (\"bpf: fix mm lifecycle in open-coded task_vma iterator\").\nUse spin_trylock() instead of get_task_mm() so BPF context does not block\non alloc_lock. Reject irqs-disabled contexts and !CONFIG_MMU on the\nforeign-task path because dropping the mm reference is not safe there.\n\nRace:\n\n  CPU0 (BPF program)                  CPU1 (exiting task)\n  ============================        ==========================\n  bpf_find_vma(foreign_task):\n    mm = task->mm\n                                      exit_mm():\n                                        task->mm = NULL\n                                        mmput(mm) -> frees mm_struct\n    mmap_read_trylock(mm)\n        // UAF on mm","state":"PUBLISHED","assigner":"Linux","published_at":"2026-09-17 17:18:08","updated_at":"2026-09-17 17:18:08"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/86d54cf069fc5ae2e111c87933bebf6eb527978e","name":"https://git.kernel.org/stable/c/86d54cf069fc5ae2e111c87933bebf6eb527978e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/47b079e2117a2ee52e21f8b72935900c702fc0b5","name":"https://git.kernel.org/stable/c/47b079e2117a2ee52e21f8b72935900c702fc0b5","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/db347840d6b6ee9bb9b8e4a985d4b4419f9f3200","name":"https://git.kernel.org/stable/c/db347840d6b6ee9bb9b8e4a985d4b4419f9f3200","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c7ad910e987008e125eeff448892e86852173384","name":"https://git.kernel.org/stable/c/c7ad910e987008e125eeff448892e86852173384","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/8e1101fc4118019a69c96ced4aec93164f89cbd5","name":"https://git.kernel.org/stable/c/8e1101fc4118019a69c96ced4aec93164f89cbd5","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/2b2a903bee56d312539046d9defa8023eec94760","name":"https://git.kernel.org/stable/c/2b2a903bee56d312539046d9defa8023eec94760","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-93137","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-93137","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7c7e3d31e7856a8260a254f8c71db416f7f9f5a1 db347840d6b6ee9bb9b8e4a985d4b4419f9f3200 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7c7e3d31e7856a8260a254f8c71db416f7f9f5a1 8e1101fc4118019a69c96ced4aec93164f89cbd5 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7c7e3d31e7856a8260a254f8c71db416f7f9f5a1 c7ad910e987008e125eeff448892e86852173384 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7c7e3d31e7856a8260a254f8c71db416f7f9f5a1 86d54cf069fc5ae2e111c87933bebf6eb527978e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7c7e3d31e7856a8260a254f8c71db416f7f9f5a1 2b2a903bee56d312539046d9defa8023eec94760 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7c7e3d31e7856a8260a254f8c71db416f7f9f5a1 47b079e2117a2ee52e21f8b72935900c702fc0b5 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.17","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.17 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.188 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.157 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.110 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.52 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.6 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["kernel/bpf/task_iter.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"db347840d6b6ee9bb9b8e4a985d4b4419f9f3200","status":"affected","version":"7c7e3d31e7856a8260a254f8c71db416f7f9f5a1","versionType":"git"},{"lessThan":"8e1101fc4118019a69c96ced4aec93164f89cbd5","status":"affected","version":"7c7e3d31e7856a8260a254f8c71db416f7f9f5a1","versionType":"git"},{"lessThan":"c7ad910e987008e125eeff448892e86852173384","status":"affected","version":"7c7e3d31e7856a8260a254f8c71db416f7f9f5a1","versionType":"git"},{"lessThan":"86d54cf069fc5ae2e111c87933bebf6eb527978e","status":"affected","version":"7c7e3d31e7856a8260a254f8c71db416f7f9f5a1","versionType":"git"},{"lessThan":"2b2a903bee56d312539046d9defa8023eec94760","status":"affected","version":"7c7e3d31e7856a8260a254f8c71db416f7f9f5a1","versionType":"git"},{"lessThan":"47b079e2117a2ee52e21f8b72935900c702fc0b5","status":"affected","version":"7c7e3d31e7856a8260a254f8c71db416f7f9f5a1","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["kernel/bpf/task_iter.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.17"},{"lessThan":"5.17","status":"unaffected","version":"0","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":"6.1.188","versionStartIncluding":"5.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.157","versionStartIncluding":"5.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.110","versionStartIncluding":"5.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.52","versionStartIncluding":"5.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.6","versionStartIncluding":"5.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3-rc1","versionStartIncluding":"5.17","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix use-after-free on mm_struct in bpf_find_vma()\n\nbpf_find_vma() reads task->mm and calls mmap_read_trylock(mm) without\nholding a reference on the mm. On a foreign task, a concurrent exit_mm()\ncan free the mm_struct between the lockless read and the trylock,\nresulting in a use-after-free. mm_struct is not SLAB_TYPESAFE_BY_RCU.\n\nFor the current task, task->mm is stable. For a foreign task, pin the mm\nunder task->alloc_lock and release it with mmput_async(), mirroring commit\nd8e27d2d22b6 (\"bpf: fix mm lifecycle in open-coded task_vma iterator\").\nUse spin_trylock() instead of get_task_mm() so BPF context does not block\non alloc_lock. Reject irqs-disabled contexts and !CONFIG_MMU on the\nforeign-task path because dropping the mm reference is not safe there.\n\nRace:\n\n  CPU0 (BPF program)                  CPU1 (exiting task)\n  ============================        ==========================\n  bpf_find_vma(foreign_task):\n    mm = task->mm\n                                      exit_mm():\n                                        task->mm = NULL\n                                        mmput(mm) -> frees mm_struct\n    mmap_read_trylock(mm)\n        // UAF on mm"}],"providerMetadata":{"dateUpdated":"2026-09-17T16:11:38.135Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/db347840d6b6ee9bb9b8e4a985d4b4419f9f3200"},{"url":"https://git.kernel.org/stable/c/8e1101fc4118019a69c96ced4aec93164f89cbd5"},{"url":"https://git.kernel.org/stable/c/c7ad910e987008e125eeff448892e86852173384"},{"url":"https://git.kernel.org/stable/c/86d54cf069fc5ae2e111c87933bebf6eb527978e"},{"url":"https://git.kernel.org/stable/c/2b2a903bee56d312539046d9defa8023eec94760"},{"url":"https://git.kernel.org/stable/c/47b079e2117a2ee52e21f8b72935900c702fc0b5"}],"title":"bpf: Fix use-after-free on mm_struct in bpf_find_vma()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-93137","datePublished":"2026-09-17T16:11:38.135Z","dateReserved":"2026-09-17T16:02:15.088Z","dateUpdated":"2026-09-17T16:11:38.135Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-09-17 17:18:08","lastModifiedDate":"2026-09-17 17:18:08","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"93137","Ordinal":"1","Title":"bpf: Fix use-after-free on mm_struct in bpf_find_vma()","CVE":"CVE-2026-93137","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"93137","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix use-after-free on mm_struct in bpf_find_vma()\n\nbpf_find_vma() reads task->mm and calls mmap_read_trylock(mm) without\nholding a reference on the mm. On a foreign task, a concurrent exit_mm()\ncan free the mm_struct between the lockless read and the trylock,\nresulting in a use-after-free. mm_struct is not SLAB_TYPESAFE_BY_RCU.\n\nFor the current task, task->mm is stable. For a foreign task, pin the mm\nunder task->alloc_lock and release it with mmput_async(), mirroring commit\nd8e27d2d22b6 (\"bpf: fix mm lifecycle in open-coded task_vma iterator\").\nUse spin_trylock() instead of get_task_mm() so BPF context does not block\non alloc_lock. Reject irqs-disabled contexts and !CONFIG_MMU on the\nforeign-task path because dropping the mm reference is not safe there.\n\nRace:\n\n  CPU0 (BPF program)                  CPU1 (exiting task)\n  ============================        ==========================\n  bpf_find_vma(foreign_task):\n    mm = task->mm\n                                      exit_mm():\n                                        task->mm = NULL\n                                        mmput(mm) -> frees mm_struct\n    mmap_read_trylock(mm)\n        // UAF on mm","Type":"Description","Title":"bpf: Fix use-after-free on mm_struct in bpf_find_vma()"}]}}}