Skip to main content

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… (CVE-2026-98897)

0
Medium
Published: 10/23/2026 (10/23/2026, 12:31:37 UTC)
Source: GCVE Database

Description

A vulnerability in the Linux kernel's ksmbd component related to lease break handling has been resolved. The issue involved holding a read lock (ci->m_lock) while waiting for a lease break acknowledgment, causing a deadlock scenario that delayed lease break resolution by up to 35 seconds. This resulted in significantly increased operation times in tests with leases enabled. The fix changes the locking strategy to avoid holding the lock during the wait, preventing the deadlock.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/23/2026, 19:04:56 UTC

Technical Analysis

The vulnerability in the Linux kernel's ksmbd subsystem involved holding the ci->m_lock read lock while waiting for a lease break acknowledgment in wait_for_break_ack(). When a conflicting open arrived while a cifs.ko client cached a read-handle lease, ksmbd broke the lease and waited for acknowledgment. However, the close path that should have woken the waiter required a write lock on ci->m_lock, which was blocked by the waiting thread's read lock, causing a deadlock resolved only by a 35-second timeout. This led to significant delays in lease break handling and increased test execution times. The fix collects target opinfo references while holding the lock, then releases the lock before breaking leases, avoiding the deadlock by ensuring the lock is not held during the wait.

Potential Impact

The vulnerability caused a deadlock condition in the ksmbd lease break handling, resulting in lease break acknowledgments being delayed by up to 35 seconds. This significantly increased operation times in affected scenarios, such as the xfstests generic/001 test, which took approximately 78 seconds with leases enabled compared to about 4 seconds with oplocks only. There is no indication of direct security compromise or exploitation in the wild.

Mitigation Recommendations

A fix has been implemented in the Linux kernel to resolve this issue by changing the locking strategy during lease break acknowledgment waits. Users should update to the fixed kernel version once available. No additional mitigation is indicated or required beyond applying the official fix.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-83j5-g9m2-9mf4
Osv Schema Version
1.4.0
Aliases
["CVE-2026-98897"]

Threat ID: 6adbaad9d73cc49347b2071a

Added to database: 10/23/2026, 18:43:37 UTC

Last enriched: 10/23/2026, 19:04:56 UTC

Last updated: 10/23/2026, 20:05:24 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses