Bug 15995 - smbd does not cleanup on disconnect of the transport connection on lease break errors
Summary: smbd does not cleanup on disconnect of the transport connection on lease brea...
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: File services (show other bugs)
Version: 4.23.0rc4
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL: https://gitlab.com/samba-team/samba/-...
Keywords:
Depends on:
Blocks:
 
Reported: 2026-02-09 12:11 UTC by Stefan Metzmacher
Modified: 2026-02-12 12:56 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Metzmacher 2026-02-09 12:11:15 UTC
When we hit an error from sendmsg() called via:
smbd_smb2_flush_send_queue() from smbd_smb2_break_send()

We'll end up in smbXsrv_pending_break_done() and
smbXsrv_pending_break_submit() returning NT_STATUS_ABANDONED
in order to indicate that there's no more valid channel/transport
connection remaining for the smbXsrv_client.

In that case smbd stays for ever most likely sitting
in epoll_wait().