CVE-2026-98787

Status: ReceivedUnscored—
Severity—Unscored
Exploitation probability0.15 %higher than 4% of CVEs
Active exploitationNonot in the CISA catalog
Public exploitNot knownno public code found

In the Linux kernel, the following vulnerability has been resolved:

bpf: Fix missing migration protection in __rhtab_map_lookup_and_delete_batch()

bpf_mem_cache_free_rcu() uses this_cpu_ptr() which requires migration to be disabled. All callers of rhtab_delete_elem() disable migration except __rhtab_map_lookup_and_delete_batch(), which calls it under rcu_read_lock() only.

On CONFIG_PREEMPT_RCU, rcu_read_lock() does not disable preemption or migration, so the task can migrate between CPUs during the delete loop, causing this_cpu_ptr() to trigger:

Fix by wrapping the delete loop in migrate_disable()/migrate_enable() in __rhtab_map_lookup_and_delete_batch(), matching the migration protection that the other callers already provide.

Technical details traces, logs and code from the original report
  BUG: using smp_processor_id() in preemptible [00000000] code

CVSS

NVD hasn't assigned a CVSS score to this CVE (common since the April 2026 policy change).

Exploitation probability (EPSS)

Probability of exploitation in the next 30 days
0.15 %
Percentile among all scored CVEs
4
Score date
10/20/2026

EPSS (Exploit Prediction Scoring System, FIRST) estimates how likely a vulnerability is to be exploited in the wild within 30 days. It complements CVSS (impact) and CISA KEV (confirmed exploitation).

Affected technologies (1)

⚠ AI-inferred from the description — NVD hasn't analyzed this CVE yet, these aren't verified CPEs.

References

Show 2 references

Raw JSON (NVD)

Show
{
  "id": "CVE-2026-98787",
  "cveTags": [],
  "metrics": {},
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "product": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "818e0084822742fc00eacbf5df3476a5e72c7d0e",
              "lessThan": "94f41ec5fa578765b74ad5736c2f029e7aabc46d",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "818e0084822742fc00eacbf5df3476a5e72c7d0e",
              "lessThan": "de020dc8049bfb2b22e3b6d99c031feb2e22d112",
              "versionType": "git"
            }
          ],
          "programFiles": [
            "kernel/bpf/hashtab.c"
          ],
          "defaultStatus": "unaffected"
        },
        {
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "product": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "7.2"
            },
            {
              "status": "unaffected",
              "version": "0",
              "lessThan": "7.2",
              "versionType": "semver"
            },
            {
              "status": "unaffected",
              "version": "7.2.10",
              "versionType": "semver",
              "lessThanOrEqual": "7.2.*"
            },
            {
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ],
          "programFiles": [
            "kernel/bpf/hashtab.c"
          ],
          "defaultStatus": "affected"
        }
      ]
    }
  ],
  "published": "2026-10-18T16:17:32.690",
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/94f41ec5fa578765b74ad5736c2f029e7aabc46d",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/de020dc8049bfb2b22e3b6d99c031feb2e22d112",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ],
  "vulnStatus": "Received",
  "descriptions": [
    {
      "lang": "en",
      "value": "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."
    }
  ],
  "lastModified": "2026-10-19T10:19:42.783",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}