Bug 57050 - Include upstream patch for segfault smb panic
Include upstream patch for segfault smb panic
Status: NEW
Product: UCS
Classification: Unclassified
Component: Samba4
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: Samba maintainers
Samba maintainers
https://bugzilla.samba.org/show_bug.c...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2024-02-09 12:13 CET by Christina Scheinig
Modified: 2024-02-09 12:13 CET (History)
0 users

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.034
Enterprise Customer affected?: Yes
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2023111621000126
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christina Scheinig univentionstaff 2024-02-09 12:13:09 CET
smbd crashes from time to time

[2024/01/18 02:32:38.269500,  0, pid=7611] ../../lib/util/fault.c:173(smb_panic_log)
  ===============================================================
[2024/01/18 02:32:38.269536,  0, pid=7611] ../../lib/util/fault.c:177(smb_panic_log)
  INTERNAL ERROR: Signal 11: Segmentation fault in pid 7611 (4.18.3-Univention)
[2024/01/18 02:32:38.269541,  0, pid=7611] ../../lib/util/fault.c:182(smb_panic_log)
  If you are running a recent Samba version, and if you think this problem is not yet fixed in the latest versions, please consider reporting this bug, see https://wiki.s
amba.org/index.php/Bug_Reporting
[2024/01/18 02:32:38.269544,  0, pid=7611] ../../lib/util/fault.c:183(smb_panic_log)
  ===============================================================
[2024/01/18 02:32:38.269547,  0, pid=7611] ../../lib/util/fault.c:185(smb_panic_log)
  PANIC (pid 7611): Signal 11: Segmentation fault in 4.18.3-Univention
[2024/01/18 02:32:38.470554,  0, pid=7611] ../../lib/util/fault.c:293(log_stack_trace)
  BACKTRACE: 31 stack frames:
   #0 /usr/lib/x86_64-linux-gnu/samba/libgenrand-samba4.so.0(log_stack_trace+0x30) [0x7f3582dc7690]
   #1 /usr/lib/x86_64-linux-gnu/samba/libgenrand-samba4.so.0(smb_panic+0x9) [0x7f3582dc78e9]
   #2 /usr/lib/x86_64-linux-gnu/samba/libgenrand-samba4.so.0(+0x1981) [0x7f3582dc7981]
   #3 /lib/x86_64-linux-gnu/libpthread.so.0(+0x12730) [0x7f3582d71730]
   #4 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base-samba4.so.0(+0xb3dfe) [0x7f3583232dfe]
   #5 /usr/lib/x86_64-linux-gnu/libtalloc.so.2(+0xa310) [0x7f3582d2a310]
   #6 /usr/lib/x86_64-linux-gnu/libtalloc.so.2(+0x9dc5) [0x7f3582d29dc5]
   #7 /usr/lib/x86_64-linux-gnu/libtalloc.so.2(+0x9dc5) [0x7f3582d29dc5]
   #8 /usr/lib/x86_64-linux-gnu/libtalloc.so.2(_talloc_free+0xd0) [0x7f3582d257a0]
   #9 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base-samba4.so.0(+0xe2b73) [0x7f3583261b73]
   #10 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base-samba4.so.0(smbd_reinit_after_fork+0) [0x7f3583261fc0]
   #11 /usr/lib/x86_64-linux-gnu/samba/libsmbd-shim-samba4.so.0(exit_server_cleanly+0x14) [0x7f3582dcc264]
   #12 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base-samba4.so.0(smbd_server_connection_terminate_ex+0x47e) [0x7f358323787e]
   #13 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base-samba4.so.0(+0xbcc89) [0x7f358323bc89]
   #14 /usr/lib/x86_64-linux-gnu/libtevent.so.0(tevent_common_invoke_fd_handler+0x93) [0x7f3582d3fbe3]
   #15 /usr/lib/x86_64-linux-gnu/libtevent.so.0(+0xf22f) [0x7f3582d4622f]
   #16 /usr/lib/x86_64-linux-gnu/libtevent.so.0(+0xd2a7) [0x7f3582d442a7]
   #17 /usr/lib/x86_64-linux-gnu/libtevent.so.0(_tevent_loop_once+0x91) [0x7f3582d3ef01]
   #18 /usr/lib/x86_64-linux-gnu/libtevent.so.0(tevent_common_loop_wait+0x1b) [0x7f3582d3f19b]
   #19 /usr/lib/x86_64-linux-gnu/libtevent.so.0(+0xd247) [0x7f3582d44247]
   #20 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base-samba4.so.0(smbd_process+0x830) [0x7f3583228eb0]
   #21 smbd: client [192.168.10.32](+0xa0be) [0x557a70da70be]
   #22 /usr/lib/x86_64-linux-gnu/libtevent.so.0(tevent_common_invoke_fd_handler+0x93) [0x7f3582d3fbe3]
   #23 /usr/lib/x86_64-linux-gnu/libtevent.so.0(+0xf22f) [0x7f3582d4622f]
   #24 /usr/lib/x86_64-linux-gnu/libtevent.so.0(+0xd2a7) [0x7f3582d442a7]
   #25 /usr/lib/x86_64-linux-gnu/libtevent.so.0(_tevent_loop_once+0x91) [0x7f3582d3ef01]
   #26 /usr/lib/x86_64-linux-gnu/libtevent.so.0(tevent_common_loop_wait+0x1b) [0x7f3582d3f19b]
   #27 /usr/lib/x86_64-linux-gnu/libtevent.so.0(+0xd247) [0x7f3582d44247]
   #28 smbd: client [192.168.10.32](main+0x1453) [0x557a70da4233]
   #29 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xeb) [0x7f3582b8409b]
   #30 smbd: client [192.168.10.32](_start+0x2a) [0x557a70da4ada]
[2024/01/18 02:32:38.470635,  0, pid=7611] ../../source3/lib/dumpcore.c:315(dump_core)
  dumping core in /var/tmp/core
[2024/01/18 05:33:25.201758,  0, pid=2297] ../../source3/smbd/server.c:1746(main)
  smbd version 4.18.3-Univention started.
  Copyright Andrew Tridgell and the Samba Team 1992-2023