PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-45924 Linux CVE debrief

A resource leak vulnerability in the Linux kernel's ksmbd SMB server implementation can lead to deadlocks and system instability. The flaw occurs when error paths fail to properly release inode locks and references acquired during path lookup operations, resulting in unbalanced locking that triggers kernel warnings and potential denial of service.

Vendor
Linux
Product
Unknown
CVSS
MEDIUM 5.5
CISA KEV
Not listed in stored evidence
Original CVE published
2026-05-27
Original CVE updated
2026-06-24
Advisory published
2026-05-27
Advisory updated
2026-06-24

Who should care

System administrators running Linux kernels with ksmbd (kernel SMB server) enabled; security teams tracking kernel SMB implementation vulnerabilities; organizations using ksmbd for file sharing services who need to ensure service availability

Technical summary

The ksmbd kernel SMB server contains a resource management flaw where two error paths fail to invoke ksmbd_vfs_kern_path_end_removing() after successful calls to ksmbd_vfs_kern_path_start_removing(). This omission leaves inode locks held and references unreleased, causing lock imbalance detected by the kernel's lock debugging infrastructure. The bug triggers 'workqueue leaked lock or atomic' warnings with stack traces showing ksmbd_vfs_kern_path_locked holding sb_writers and i_mutex_dir_key locks. While the immediate symptom is a warning, the underlying unbalanced locking can lead to deadlocks affecting SMB server availability. The vulnerability is local in nature (requires SMB operations that trigger the error paths) and affects systems with ksmbd enabled. Multiple stable kernel branches have received backports of the fix.

Defensive priority

medium

Recommended defensive actions

  • Apply kernel updates from your Linux distribution that include the ksmbd fix for CVE-2026-45924
  • If running custom kernels with ksmbd enabled, cherry-pick the appropriate stable branch commit for your kernel version
  • Monitor kernel logs for 'workqueue leaked lock or atomic' messages indicating potential trigger of this bug
  • Consider temporarily disabling ksmbd if patches are unavailable and the SMB server functionality is not critical
  • Review ksmbd error handling paths if maintaining out-of-tree ksmbd patches

Evidence notes

The CVE description confirms the vulnerability exists in ksmbd, the kernel SMB server. The fix involves adding missing calls to ksmbd_vfs_kern_path_end_removing() on two error paths to properly balance lock acquisition and reference counting. Kernel log evidence shows the bug manifests as 'workqueue leaked lock or atomic' warnings with 2 locks held (sb_writers and i_mutex_dir_key) in the ksmbd_vfs_kern_path_locked function. Multiple stable kernel commits are referenced, indicating backports to supported kernel versions.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-45924 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-45924

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-45924 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-45924

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/0c578e8065c4b08d5635a4cbc0f6321df9d20f79

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/34d6691933682f0516259a31b39d2cebcedec0a5

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/4c38600feb81c670edb82e49d201d3d2d00cd4c3

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/8e3a3192ef78d8302916408d62813b1fddfc8972

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/a09dc10d1353f0e92c21eae2a79af1c2b1ddcde8

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/cf29329a13df79c198b45dfc92577638d30b56fa

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/f221baa80e5959a0c08a7e34abbf2a4d3cf0e1c2

    416baaa9-dc9f-4396-8d5f-8c081fb06d67

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.