SecurityContext

CVE-2026-98035: Linux Kernel - Use After Free

  • Cve: CVE-2026-98035
  • Name: Linux Kernel - Use After Free
  • Description: In the Linux kernel, the following vulnerability has been resolved: bpf: Cancel special fields when recycling rhtab elements rhtab_map_update_existing() and rhtab_delete_elem() call bpf_obj_free_fields() when replacing or deleting a value. These map operations can run from BPF programs in NMI context, where releasing a referenced kptr or another complex field is not generally safe. Array and hash maps avoid that problem by cancelling only the asynchronous fields which can be stopped safely in the caller context. Other ownership state remains attached to the allocation until its memory allocator destructor performs the final cleanup. Use bpf_obj_cancel_fields() for the corresponding rhtab paths as well. This cancels timers, workqueues, and task work while allowing rhtab_mem_dtor() to release referenced kptrs when the allocation is eventually destroyed. [ kkd: Rebased, used direct helper calls, and rewrote the commit log ]
  • Impact: Attackers can cause memory corruption or kernel instability by unsafe freeing of referenced pointers in NMI context.
  • Remediation: Update to the latest Linux kernel version with the fix for bpf_obj_cancel_fields in rhtab map operations.
  • Vulnerability type: use_after_free
  • Requirements: Attacker needs to execute BPF programs in NMI context
  • Labels source: projectdiscovery
  • Cvss vector: N/A
  • Epss score: 0.00155
  • Epss percentile: 0.04639
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2026-09-25T11:17:32Z
  • Age in days: 60
  • Modified at: 2026-10-19T10:17:57Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-98035
  • Nvd status: received
  • Checked, none or zero: vulnerability impact, cwe, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirement type, severity, cvss score, hackerone

References

UrlSourceTags
https://git.kernel.org/stable/c/28fde1356dbc35e20a9f22a5ee65af09698fdf92nvd
https://git.kernel.org/stable/c/65cc95eba9e8b46312cac38c227473605a4b996anvd

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel>= 7.2, < 7.3; >= 7.2, < 7.2.7nocna/v1/products/linux/linux_kernel

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Exposed hosts: 10038339
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports