CVE-2026-98897
Last modified
CVE-2026-98897 is a vulnerability of currently unknown severity. In the Linux kernel, the following vulnerability has been resolved: ksmbd: don't hold ci->m_lock while waiting for a lease break ack When a cifs.ko client caches a read-handle (RH) lease via deferred close and a conflicting open arrives, ksmbd breaks the lease and waits for the acknowledgment in wait_for_break_ack() for up to OPLOCK_WAIT_TIME (35s). __smb_break_all_levII_oplock() runs that wait while holding ci->m_lock for read. cifs.ko reacts to a handle-lease break by closing the deferred handle rather than sending a lease break acknowledgment. That close path (close_id_del_oplock() -> opinfo_del()) takes ci->m_lock for write and is exactly what would wake the waiter, but it blocks on the read lock held by the waiting thread. EPSS estimates a 0.16% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: don't hold ci->m_lock while waiting for a lease break ack When a cifs.ko client caches a read-handle (RH) lease via deferred close and a conflicting open arrives, ksmbd breaks the lease and waits for the acknowledgment in wait_for_break_ack() for up to OPLOCK_WAIT_TIME (35s). __smb_break_all_levII_oplock() runs that wait while holding ci->m_lock for read. cifs.ko reacts to a handle-lease break by closing the deferred handle rather than sending a lease break acknowledgment. That close path (close_id_del_oplock() -> opinfo_del()) takes ci->m_lock for write and is exactly what would wake the waiter, but it blocks on the read lock held by the waiting thread. The break is then resolved only by the 35s timeout, so xfstests generic/001 takes ~78s with leases enabled versus ~4s with oplocks only. Collect the target opinfos (each pinned with a reference) while holding ci->m_lock, then break them after releasing it, matching how smb_grant_oplock() already breaks a conflicting lease using only a reference. The reference keeps the opinfo (and its conn and lease) alive across the unlocked window, and a close racing the break is handled by the existing OPLOCK_CLOSING state check. Apply the same fix to the parent lease break paths.
Metrics
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= d1c189c6cb8b0fb7b5ee549237d27889c40c2f8b, < 868c9038ffd4af39766d087f68c8f543a3f66635; >= d1c189c6cb8b0fb7b5ee549237d27889c40c2f8b, < 27a9bc968d4ae809a3f5ca2f2b136856ee613cb4; 16ece7c5645a68efca22a0a69a7718c8e50c3232; >= 6.6.35, < 6.7 |
| Linux | Linux | 6.9 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-98897?
How severe is CVE-2026-98897?
How do I fix CVE-2026-98897?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-98891In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98892In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98893In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98894In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98895In the Linux kernel, the following vulnerability has been re…7
- CVE-2026-98896In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98898In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98899In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-9890Use after free in XR in Google Chrome on Windows prior to 14…8.3
- CVE-2026-98900In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98901In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98902In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-98897?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
