---
id: CVE-2026-98787
title: >-
  kernel: bpf: Fix missing migration protection in
  __rhtab_map_lookup_and_delete_batch() (CVE-2026-98787)
summary: >-
  A flaw was found in the Linux kernel's Berkeley Packet Filter (BPF) subsystem.
  Missing CPU migration protection during batch lookup and delete operations on
  hash tables allows a task to migrate between processors while freeing memory.
  A lo…
severity: medium
cvss: 4.1
cvssVector: 'CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H'
cvssSource: vendor
cwe: CWE-821
vendor: Red Hat
product: Linux
affected:
  - >-
    Linux >= 818e0084822742fc00eacbf5df3476a5e72c7d0e <
    94f41ec5fa578765b74ad5736c2f029e7aabc46d
  - >-
    Linux >= 818e0084822742fc00eacbf5df3476a5e72c7d0e <
    de020dc8049bfb2b22e3b6d99c031feb2e22d112
  - Linux 7.2
published: '2026-10-18'
updated: '2026-10-23'
sourceUpdated: '2026-10-23T11:17:08+00:00'
source: CSAF
sourceUrl: 'https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98787.json'
references:
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98787.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-98787'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2555148'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-98787'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-98787'
  - url: >-
      https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-98787.mbox
  - url: 'https://git.kernel.org/stable/c/94f41ec5fa578765b74ad5736c2f029e7aabc46d'
  - url: 'https://git.kernel.org/stable/c/de020dc8049bfb2b22e3b6d99c031feb2e22d112'
tags:
  - csaf
  - vex
  - red-hat
  - cve.org
epss: 0.00155
epssPercentile: 0.04637
ingestedAt: '2026-10-18T16:47:32.486Z'
---

## Overview

A flaw was found in the Linux kernel's Berkeley Packet Filter (BPF) subsystem. Missing CPU migration protection during batch lookup and delete operations on hash tables allows a task to migrate between processors while freeing memory. A local attacker could exploit this condition to trigger a kernel crash, resulting in a Denial of Service (DoS).

## Vendor advisories

- **Red Hat VEX** · Moderate · updated 2026-10-23 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98787.json)

**kernel: bpf: Fix missing migration protection in __rhtab_map_lookup_and_delete_batch()** — rated Moderate by Red Hat. Released 2026-10-18, updated 2026-10-23.

Not affected:

- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4

## Remediation

Refer to the advisory for fix availability.
