Read the docs
TI-2026-55939 Aliases CVE-2026-80926GHSA-4r76-cqqc-v36j

ksmbd: fix use-after-free in oplock break notification

Priority MEDIUM 42Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA.

Summary

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in oplock break notification smb2_oplock_break_noti() reads opinfo->conn without any lock and dereferences it after two allocations which may sleep. When the durable handle owning the oplock is disconnected, session_fd_check() clears opinfo->conn and drops its conn reference under ci->m_lock, and the last ksmbd_conn_put() frees the connection. A break triggered by another connection that races with the teardown can then resurrect the freed connection: ksmbd_conn_get() is a plain atomic_inc, and the queued break work later dereferences the stale conn via ksmbd_conn_write(), a use-after-free reachable by any authenticated client holding a durable batch oplock. Thread the caller's inode into the notification path instead of taking a new reference on it. Every caller of oplock_break() already holds a live ksmbd_file (or an explicit ksmbd_inode_lookup_lock() reference, in the parent lease break paths) on the inode that owns the break target's oplock list, so ci cannot be freed during the call, and its lock can be taken without dereferencing opinfo->o_fp, which a concurrent close may free. Select and pin the connection under ci->m_lock, the same lock session_fd_check() and ksmbd_reopen_durable_fd() use to update opinfo->conn, so a concurrent detach either loses the race to the clear or keeps the connection alive until the notification work releases it. Transfer the reference to the work item and release it on allocation failures.

Why it matters now

EPSS 0.00444 38th percentileScored 2026-11-07
Fix Fixed Linux (Linux): 6.6.158, 6.12.111, 6.18.51 +3

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
LinuxLinux6.6.143 to before 6.6.158; 6.12.94 to before 6.12.111; 6.18.36 to before 6.18.51; 7.0.13 to before 7.16.6.158, 6.12.111, 6.18.51, 7.1Patch availableCNA
LinuxLinux7.1 and later6.6.158, 6.12.111, 6.18.51, 7.2.5, 7.3Patch availableCNA
  • Linux VendorLinux Affected 6.6.143 to before 6.6.158; 6.12.94 to before 6.12.111; 6.18.36 to before 6.18.51; 7.0.13 to before 7.1 Fixed in 6.6.158, 6.12.111, 6.18.51, 7.1 Patch available CNA
  • Linux VendorLinux Affected 7.1 and later Fixed in 6.6.158, 6.12.111, 6.18.51, 7.2.5, 7.3 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*——Linux
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions — — ·Linux

Remediation

  • Fix · CNA Linux (Linux) Fixed in 6.6.158, 6.12.111, 6.18.51, 7.1
  • Fix · CNA Linux (Linux) Fixed in 6.6.158, 6.12.111, 6.18.51, 7.2.5, 7.3

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-80926
  2. 2026-10-03 Alias added: GHSA-4r76-cqqc-v36j
  3. 2026-10-03 Fix available: Linux/[email protected], Linux/Linux@892f643b141aee3f7aa7c0fc61ddcb55c59f1996 · CNA
  4. 2026-10-03 1 new reference · CNA
  5. 2026-10-19 Fix available: Linux/[email protected] · CNA

References

  • TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
  • TI-2021-02452 Incorrect authorization in Ubuntu linux kernel KEVCVSS 3.1HIGH 8.8
  • TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
  • TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
  • TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
See all 21741 →

Sources