View Issue Details

IDProjectCategoryView StatusLast Update
0016719CentOS-7sambapublic2019-11-12 09:01
Reportermx_ 
PriorityimmediateSeveritymajorReproducibilityalways
Status newResolutionopen 
Product Version7.7-1908 
Target VersionFixed in Version 
Summary0016719: WARNING ! samba user in ROOT directory
DescriptionCentOS 7.7 + last update.
user connect in samba and see ROOT directory
....
Nov 12 09:24:13 cex1-srv5 smbd_audit: [2019/11/12 09:24:13.582967, 0] ../source3/smbd/uid.c:417(change_to_user_internal)
Nov 12 09:24:13 cex1-srv5 smbd_audit: change_to_user_internal: chdir_current_service() failed!
Nov 12 09:24:13 cex1-srv5 smbd_audit: [2019/11/12 09:24:13.744531, 0] ../source3/smbd/uid.c:591(pop_conn_ctx)
Nov 12 09:24:13 cex1-srv5 smbd_audit: pop_conn_ctx: vfs_ChDir() failed!
Nov 12 09:24:13 cex1-srv5 smbd_audit: [2019/11/12 09:24:13.744604, 0] ../source3/lib/util.c:816(smb_panic_s3)
Nov 12 09:24:13 cex1-srv5 smbd_audit: PANIC (pid 37274): vfs_ChDir() failed!
Nov 12 09:24:13 cex1-srv5 smbd_audit:
Nov 12 09:24:13 cex1-srv5 smbd_audit: [2019/11/12 09:24:13.746555, 0] ../lib/util/fault.c:261(log_stack_trace)
Nov 12 09:24:13 cex1-srv5 smbd_audit: BACKTRACE: 35 stack frames:
Nov 12 09:24:13 cex1-srv5 smbd_audit: #0 /lib64/libsamba-util.so.0(log_stack_trace+0x2d) [0x7fc2b1353a8d]
Nov 12 09:24:13 cex1-srv5 smbd_audit: #1 /lib64/libsmbconf.so.0(smb_panic_s3+0x20) [0x7fc2b0b56a40]
Nov 12 09:24:13 cex1-srv5 smbd_audit: #2 /lib64/libsamba-util.so.0(smb_panic+0x2f) [0x7fc2b1353b8f]
Nov 12 09:24:13 cex1-srv5 smbd_audit: #3 /usr/lib64/samba/libsmbd-base-samba4.so(+0x17cc1c) [0x7fc2b0f23c1c]
Nov 12 09:24:13 cex1-srv5 smbd_audit: #4 /usr/lib64/samba/libsmbd-base-samba4.so(get_ea_dos_attribute+0x3a8) [0x7fc2b0f25888]
Nov 12 09:24:13 cex1-srv5 smbd_audit: #5 /usr/lib64/samba/libsmbd-base-samba4.so(+0xe7950) [0x7fc2b0e8e950]
Nov 12 09:24:13 cex1-srv5 smbd_audit: #6 /usr/lib64/samba/libsmbd-base-samba4.so(smb_vfs_call_get_dos_attributes+0x2d) [0x7fc2b0f3
Nov 12 09:24:13 cex1-srv5 smbd_audit: #7 /usr/lib64/samba/vfs/full_audit.so(+0x72e2) [0x7fc296dce2e2]
Nov 12 09:24:13 cex1-srv5 smbd_audit: #8 /usr/lib64/samba/libsmbd-base-samba4.so(smb_vfs_call_get_dos_attributes+0x2d) [0x7fc2b0f3
Nov 12 09:24:13 cex1-srv5 smbd_audit: #9 /usr/lib64/samba/libsmbd-base-samba4.so(dos_mode+0x82) [0x7fc2b0f26052]
Nov 12 09:24:13 cex1-srv5 smbd_audit: #10 /usr/lib64/samba/libsmbd-base-samba4.so(+0x165e68) [0x7fc2b0f0ce68]
Nov 12 09:24:13 cex1-srv5 smbd_audit: #11 /usr/lib64/samba/libsmbd-base-samba4.so(smbd_dirptr_get_entry+0x3ca) [0x7fc2b0ed417a]
Nov 12 09:24:13 cex1-srv5 smbd_audit: #12 /usr/lib64/samba/libsmbd-base-samba4.so(smbd_dirptr_lanman2_entry+0x1e4) [0x7fc2b0f11234
Nov 12 09:24:13 cex1-srv5 smbd_audit: #13 /usr/lib64/samba/libsmbd-base-samba4.so(+0x1d06c1) [0x7fc2b0f776c1]
Nov 12 09:24:13 cex1-srv5 smbd_audit: #14 /usr/lib64/samba/libsmbd-base-samba4.so(smbd_smb2_request_process_query_directory+0x300)
Nov 12 09:24:13 cex1-srv5 smbd_audit: #15 /usr/lib64/samba/libsmbd-base-samba4.so(smbd_smb2_request_dispatch+0xf3c) [0x7fc2b0f6180
Nov 12 09:24:13 cex1-srv5 smbd_audit: #16 /usr/lib64/samba/libsmbd-base-samba4.so(smbd_smb2_request_dispatch_immediate+0x5d) [0x7f
Nov 12 09:24:13 cex1-srv5 smbd_audit: #17 /lib64/libtevent.so.0(tevent_common_invoke_immediate_handler+0x139) [0x7fc2ada35879]
Nov 12 09:24:13 cex1-srv5 smbd_audit: #18 /lib64/libtevent.so.0(tevent_common_loop_immediate+0x20) [0x7fc2ada358a0]
Nov 12 09:24:13 cex1-srv5 smbd_audit: #19 /lib64/libtevent.so.0(+0xc36d) [0x7fc2ada3b36d]
Nov 12 09:24:13 cex1-srv5 smbd_audit: #20 /lib64/libtevent.so.0(+0xa837) [0x7fc2ada39837]
Nov 12 09:24:13 cex1-srv5 smbd_audit: #21 /lib64/libtevent.so.0(_tevent_loop_once+0x9d) [0x7fc2ada34bdd]
Nov 12 09:24:13 cex1-srv5 smbd_audit: #22 /lib64/libtevent.so.0(tevent_common_loop_wait+0x1b) [0x7fc2ada34e0b]
Nov 12 09:24:13 cex1-srv5 smbd_audit: #23 /lib64/libtevent.so.0(+0xa7d7) [0x7fc2ada397d7]
Nov 12 09:24:13 cex1-srv5 smbd_audit: #24 /usr/lib64/samba/libsmbd-base-samba4.so(smbd_process+0x734) [0x7fc2b0f50b64]
Nov 12 09:24:13 cex1-srv5 smbd_audit: #25 /usr/sbin/smbd(+0xd160) [0x55839e9f9160]
Nov 12 09:24:13 cex1-srv5 smbd_audit: #26 /lib64/libtevent.so.0(tevent_common_invoke_fd_handler+0x83) [0x7fc2ada35423]
Nov 12 09:24:13 cex1-srv5 smbd_audit: #27 /lib64/libtevent.so.0(+0xc5a7) [0x7fc2ada3b5a7]
Nov 12 09:24:13 cex1-srv5 smbd_audit: #28 /lib64/libtevent.so.0(+0xa837) [0x7fc2ada39837]
...
Nov 12 09:24:13 cex1-srv5 smbd_audit: #34 /usr/sbin/smbd(+0x8579) [0x55839e9f4579]
Nov 12 09:24:13 cex1-srv5 smbd_audit: [2019/11/12 09:24:13.747179, 0] ../source3/lib/dumpcore.c:318(dump_core)
Nov 12 09:24:13 cex1-srv5 smbd_audit: coredump is handled by helper binary specified at /proc/sys/kernel/core_pattern
Nov 12 09:24:13 cex1-srv5 abrt-hook-ccpp: Process 37274 (smbd) of user 0 killed by SIGABRT - dumping core
Steps To Reproduceuser correct have HOME directory and no correct right in group.
TagsNo tags attached.
abrt_hash
URL

Activities

mx_

mx_

2019-11-12 09:01

reporter   ~0035677

Sorry for my English.
The fact is that an ordinary user who has a house and is closed by rights leads to a kernel crash and then connects to the central directory of the server.

Issue History

Date Modified Username Field Change
2019-11-12 05:53 mx_ New Issue
2019-11-12 09:01 mx_ Note Added: 0035677