Lock Class Vulnerability in Linux Kernel Affects System Stability
CVE-2026-98398
What is CVE-2026-98398?
The Linux kernel has identified a vulnerability related to the locking mechanisms, specifically concerning stale class_cache entries for zapped classes. During operations like module unloading or key unregistration, the kernel may clear class bits without removing all references from ongoing lockdep_map instances. This inconsistency can lead to warnings and potential system instability when locks are acquired. The introduction of lock_class_cache_is_valid() allows for validation of class cache entries to prevent erroneous matching with unrelated classes, addressing both stability and security concerns.
Affected Version(s)
Linux a0b0fd53e1e67639b303b15939b9c653dbe7a8c4
Linux a0b0fd53e1e67639b303b15939b9c653dbe7a8c4 < 1c9d664e2e067fca69e5a41d68e23bbc66a583fe
Linux a0b0fd53e1e67639b303b15939b9c653dbe7a8c4 < 6bc345f6d81ebe22e0f355c2a21d7e29691f9332