PHP2Shell: Read our blog on the critical RCE vulnerabilities affecting 70% of the Internet

CVE-2026-98398: 
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2026-98398 is a Linux kernel vulnerability in the lockdep (lock dependency validator) subsystem, specifically in the locking/lockdep component. The flaw causes lockdep to use stale class_cache[] entries that reference zapped (invalidated) lock classes, leading to kernel warnings and potential instability. It was published on October 14, 2026, and affects Linux kernel versions from 5.1 up to (but not including) the fixed stable releases. The CVSS category is estimated as Medium (Feedly).

Technical details

The root cause is a use-after-invalidation condition (related to CWE-672: Operation on a Resource After Expiration or Release) in the kernel's lockdep subsystem. When a lock class is zapped — for example, during module unload or key unregistration — zap_class() clears the class's bit in lock_classes_in_use and removes it from the class hash table, but does not invalidate corresponding class_cache[] entries in existing lockdep_map instances embedded in data structures. When __lock_acquire() subsequently runs on such a lock, it finds lock->class_cache[subclass] != NULL, skips register_lock_class(), and assigns hlock->class_idx to the index of the now-zapped class. This causes hlock_class() to hit DEBUG_LOCKS_WARN_ON(1) due to an invalid class_idx, as reported by syzbot in a WireGuard workqueue context (Feedly).

Impact

Successful triggering of this vulnerability results in kernel warning splats (DEBUG_LOCKS_WARN_ON) and potential kernel instability or crashes, impacting system availability. The vulnerability primarily affects the integrity of the kernel's lock validation logic rather than enabling direct privilege escalation or data exfiltration. Systems running affected kernel versions with lockdep enabled (typically debug/development kernels) are most at risk, though production kernels with lockdep compiled in could also be affected (Feedly).

Exploitability

There are no known public proof-of-concept exploits, active in-the-wild exploitation, or threat actor attribution associated with CVE-2026-98398. The vulnerability was identified via syzbot (Google's kernel fuzzer) and is not listed in the CISA Known Exploited Vulnerabilities catalog. No EPSS score data is currently available given the recent disclosure date (Feedly).

Mitigation and workarounds

The Linux kernel maintainers have released fixes across multiple stable branches. The following versions contain the patch and are unaffected:

  • 5.15.222 and later (5.15.x branch)
  • 6.1.189 and later (6.1.x branch)
  • 6.6.158 and later (6.6.x branch)
  • 6.12.111 and later (6.12.x branch)
  • 6.18.53 and later (6.18.x branch)
  • 7.2.7 and later (7.2.x branch)
  • 7.3-rc2 and later

The fix invalidates stale class_cache[] entries when a lock class is zapped, preventing __lock_acquire() from using a dangling class reference. Administrators should update to a patched kernel version as soon as possible (Feedly).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

linux: 6.1.190-1

Fixed

sid

linux: 7.2.7-1

Fixed

trixie

linux: 6.12.111-1

Fixed

Ubuntu

Affected

bionic

linux

Not Affected

bionic (esm-infra)

linux-hwe-5.4

Affected

bionic (fips-updates)

linux-fips

Not Affected

bionic (fips)

linux-fips

Not Affected

devel

linux

Not Affected

focal

linux-azure-fde-5.15

Not Affected

focal (esm-infra)

linux

Affected

focal (fips-updates)

linux-fips

Affected

RHEL / CentOS

Affected

OpenShift

openshift/ose-rhel-coreos-8

Affected

RHEL 8

kernel-rt.src

Affected

RHEL 9

kernel.src

Affected

RHEL 10

kernel.src

Affected

Source: This report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-98862MEDIUM6
  • Linux Kernel logoLinux Kernel
  • linux-iot
NoYesOct 18, 2026
CVE-2026-98859MEDIUM5.7
  • Linux Kernel logoLinux Kernel
  • kernel-64k-modules-partner
NoYesOct 18, 2026
CVE-2026-98861MEDIUM4.7
  • Linux Kernel logoLinux Kernel
  • linux-fips
NoYesOct 18, 2026
CVE-2026-98863NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-riscv
NoYesOct 18, 2026
CVE-2026-98858NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-ibm-5.15
NoYesOct 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management