{"schema":"threatline.record/2","record":{"id":"CVE-2026-98787","aliases":[],"summary":"bpf: Fix missing migration protection in __rhtab_map_lookup_and_delete_batch()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix missing migration protection in __rhtab_map_lookup_and_delete_batch()\n\nbpf_mem_cache_free_rcu() uses this_cpu_ptr() which requires migration\nto be disabled. All callers of rhtab_delete_elem() disable migration\nexcept __rhtab_map_lookup_and_delete_batch(), which calls it under\nrcu_read_lock() only.\n\nOn CONFIG_PREEMPT_RCU, rcu_read_lock() does not disable preemption or\nmigration, so the task can migrate between CPUs during the delete loop,\ncausing this_cpu_ptr() to trigger:\n\n  BUG: using smp_processor_id() in preemptible [00000000] code\n\nFix by wrapping the delete loop in migrate_disable()/migrate_enable()\nin __rhtab_map_lookup_and_delete_batch(), matching the migration\nprotection that the other callers already provide.","categories":["Operating systems"],"product":"Linux","vendor":"Linux","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98787","source_modified_at":"2026-10-19T09:25:40.244Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"818e0084822742fc00eacbf5df3476a5e72c7d0e","lessThan":"94f41ec5fa578765b74ad5736c2f029e7aabc46d","status":"affected","versionType":"git"},{"version":"818e0084822742fc00eacbf5df3476a5e72c7d0e","lessThan":"de020dc8049bfb2b22e3b6d99c031feb2e22d112","status":"affected","versionType":"git"}],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98787","source_modified_at":"2026-10-19T09:25:40.244Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"7.2","status":"affected"},{"version":"0","lessThan":"7.2","status":"unaffected","versionType":"semver"},{"version":"7.2.10","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"defaultStatus":"affected"}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98787","source_modified_at":"2026-10-19T09:25:40.244Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"94f41ec5fa578765b74ad5736c2f029e7aabc46d","basis":"first unaffected version stated in the CVE record"}],"cvss":null,"severity":null,"kev":{"listed":false},"epss":{"probability":0.00155,"percentile":0.04316,"score_date":"2026-10-23"},"published_at":"2026-10-18T15:48:23.947Z","modified_at":"2026-10-19T09:25:40.244Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-98787","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-19T09:25:40.244Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-98787","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://git.kernel.org/stable/c/94f41ec5fa578765b74ad5736c2f029e7aabc46d"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/de020dc8049bfb2b22e3b6d99c031feb2e22d112"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"product","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-19T09:25:40.244Z","content_hash":"2159b8f8e4a2d4fa6a17995b690df2c3a78df318f917d8b8010b0dec6c5485aa"}}
