Skip to content
VulniPulse
Advisory severityHigh7.0Vendor: MediumRed Hat Linux

High [CVE-2026-68381] Use-after-free vulnerability due to race condition in connection handling

This high-severity Red Hat Linux advisory covers CVE-2026-68381.

Aggregated and source-linked by VulniPulse. Data sources, validation and limitations.

CVE-2026-68381 Source published Source updated

VulniPulse record published Record updated

Affected products & platforms
Red Hat LinuxUnclassified
Open source advisory

Android app · Google Play

Monitor future Red Hat Linux CVEs from your phone.

Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 34 official vendor sources and 160+ reviewed platform categories.

Matching phone alertsOptional email delivery

Summary

In the Linux kernel, the following vulnerability has been resolved: ksmbd: pin conn during async oplock break notification smb2_oplock_break_noti() and smb2_lease_break_noti() store a ksmbd_conn pointer in an async ksmbd_work and then queue that work on ksmbd-io.

The work only increments conn->r_count, which prevents teardown from passing the pending-request wait after the increment, but it does not pin the struct ksmbd_conn object. If connection teardown races with an oplock break notification, the last conn reference can be dropped before the queued worker finishes.

The worker then uses the freed conn in ksmbd_conn_write() and ksmbd_conn_r_count_dec(). Take a real conn reference when publishing the conn pointer to the async work item, and drop it after the notification work has decremented r_count.

Apply the same lifetime rule to lease break notification, which uses the same work->conn pattern. A flaw was found in ksmbd, a Linux kernel module that provides an in-kernel SMB server.

A race condition exists during connection teardown and asynchronous oplock or lease break notifications. This can lead to a use-after-free vulnerability, where a freed connection object is still accessed by a queued worker.

This issue could potentially result in memory corruption, leading to system instability or a denial of service.

Affected versions

No affected-version range was extracted from the source record. The vendor advisory is authoritative — check it before change work.

Official advisory · high-confidence parse· fetched 3 hours ago·verify at source

Fixed versions

No fixed release is recorded yet. That does not prove no patch exists — confirm against the vendor advisory.

Official advisory · high-confidence parse· fetched 3 hours ago·verify at source

Mitigation checklist

Recommended fix / mitigation
  • To mitigate this vulnerability, prevent the ksmbd kernel module from loading if its functionality is not required. Create a file /etc/modprobe.d/disable-ksmbd.conf with the content `blacklist ksmbd`. Regenerate the initramfs using `dracut -f -v` and reboot the system for the changes to take effect. Disabling ksmbd will prevent the system from serving SMB shares.

Official advisory · high-confidence parse· fetched 3 hours ago·verify at source

Discussion(0)

No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.

Sign in to join the discussion.