Samba segfault with NT1 connections in smbXsrv_session_create() #6 sig_fault (sig=<optimized out>) at ../lib/util/fault.c:94 #7 <signal handler called> #8 smbXsrv_session_create (conn=conn@entry=0x5654d3512af0, now=now@entry=131594481870263270, _session=_session@entry=0x7ffc93a778e8) at ../source3/smbd/smbXsrv_session.c:1212 #9 0x00007f7618aa21ef in reply_sesssetup_and_X (req=req@entry=0x5654d3517490) at ../source3/smbd/sesssetup.c:961 #10 0x00007f7618ae17b0 in switch_message (type=<optimized out>, req=req@entry=0x5654d3517490) at ../source3/smbd/process.c:1726 #11 0x00007f7618ae3550 in construct_reply (deferred_pcd=0x0, encrypted=false, seqnum=0, unread_bytes=0, size=103, inbuf=0x0, xconn=0x5654d3514ee0) at ../source3/smbd/process.c:1762 Patch will follow.
Created attachment 14012 [details] patch for 4.8
Created attachment 14013 [details] patch for 4.7
Created attachment 14014 [details] patch for 4.6
Re-assigning to Karolin for inclusion in 4.8.0rcNext, 4.7.next, 4.6.next.
Pushed to autobuild-v4-8-test.
Pushed to v4-8-test. Pushed to autobuild-v4-{6,7}-test.
Pushed to v4-{6,7}-test
Is there a simple reproducer for this?
I don't have a reproducer for this. I've just had the backtraces and followed the code.