[Bug 819524] New: nscd segfault
https://bugzilla.novell.com/show_bug.cgi?id=819524 https://bugzilla.novell.com/show_bug.cgi?id=819524#c0 Summary: nscd segfault Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: Other OS/Version: openSUSE 12.3 Status: NEW Severity: Minor Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: twild@gmx.de QAContact: qa-bugs@suse.de Found By: System Test Blocker: No nscd[2320]: segfault at 0 ip 00007f911bd87741 sp 00007f910e202188 error 4 in libc-2.17.so[7f911bc38000+1a3000] I get frequently the error in syslog files: nscd[2320]: segfault at 0 ip 00007f911bd87741 sp 00007f910e202188 error 4 in libc-2.17.so fortunately the systemd re-spawns the nscd immediately. After my quick core dump analysis I'm quite sure that the problem comes from: glibc-2.17-4.4.1, nscd netgroupcache.c in line 205: size_t userlen = strlen (nuser) + 1; <------ core dump because nuser in the triple code is 0 in case of (host,,) entries in NIS! This may causes the core dump. I found two work arounds to avoid a nscd crash: 1.) switch off netgroup in nscd.conf enable-cache netgroup yes -> no or 2.) in NIS change entries in netgroup (host,,) -> (host,-,<youdomain> regards Thomas -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=819524 https://bugzilla.novell.com/show_bug.cgi?id=819524#c Ye Yuan <yyuan@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yyuan@suse.com AssignedTo|bnc-team-screening@forge.pr |kukuk@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=819524 https://bugzilla.novell.com/show_bug.cgi?id=819524#c Thorsten Kukuk <kukuk@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kukuk@suse.com |bnc-team-screening@forge.pr | |ovo.novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=819524 https://bugzilla.novell.com/show_bug.cgi?id=819524#c Ye Yuan <yyuan@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |schwab@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=819524 https://bugzilla.novell.com/show_bug.cgi?id=819524#c1 Eberhard Kümmerle <E.Kuemmerle@fz-juelich.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |E.Kuemmerle@fz-juelich.de --- Comment #1 from Eberhard Kümmerle <E.Kuemmerle@fz-juelich.de> 2013-07-04 15:03:19 UTC --- I can confirm that bug, I observe exactly the same segfaults on my server: (gdb) where #0 0x00007f32fd360741 in __strlen_sse2_pminub () from /lib64/libc.so.6 #1 0x00007f32fde513cd in addgetnetgrentX (db=db@entry=0x7f32fe059640 <dbs+1440>, fd=fd@entry=-1, req=req@entry=0x7f32f19977a0, key=key@entry=0x7f32f19979e0 "asslgc", uid=uid@entry=4294967295, he=he@entry=0x0, dh=dh@entry=0x0, resultp=resultp@entry=0x7f32f1997798) at netgroupcache.c:205 #2 0x00007f32fde51eb5 in addinnetgrX (db=db@entry=0x7f32fe059640 <dbs+1440>, fd=fd@entry=15, req=req@entry=0x7f32f1997860, key=<optimized out>, key@entry=0x7f32f19979e0 "asslgc", uid=uid@entry=4294967295, he=he@entry=0x0, dh=dh@entry=0x0) at netgroupcache.c:487 #3 0x00007f32fde52074 in addinnetgr (db=db@entry=0x7f32fe059640 <dbs+1440>, fd=fd@entry=15, req=req@entry=0x7f32f1997860, key=key@entry=0x7f32f19979e0, uid=uid@entry=4294967295) at netgroupcache.c:652 #4 0x00007f32fde3ed36 in handle_request (pid=<optimized out>, key=0x7f32f19979e0, req=0x7f32f1997860, fd=15, uid=<optimized out>) at connections.c:1326 #5 nscd_run_worker (p=<optimized out>) at connections.c:1792 #6 0x00007f32fd9fde0f in start_thread () from /lib64/libpthread.so.0 #7 0x00007f32fd2f97dd in clone () from /lib64/libc.so.6 (gdb) print data.val.triple $3 = {host = 0x7f32f19971c8 "ass801", user = 0x0, domain = 0x0} -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=819524 https://bugzilla.novell.com/show_bug.cgi?id=819524#c Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |obs:running:2020:moderate -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=819524 https://bugzilla.novell.com/show_bug.cgi?id=819524#c Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|obs:running:2020:moderate | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=819524 https://bugzilla.novell.com/show_bug.cgi?id=819524#c2 --- Comment #2 from Swamp Workflow Management <swamp@suse.de> 2013-09-30 16:05:48 UTC --- openSUSE-SU-2013:1510-1: An update that solves 6 vulnerabilities and has 5 fixes is now available. Category: security (moderate) Bug References: 779320,801246,805054,813121,813306,819383,819524,824046,830257,834594,839870 CVE References: CVE-2012-4412,CVE-2013-0242,CVE-2013-1914,CVE-2013-2207,CVE-2013-4237,CVE-2013-4332 Sources used: openSUSE 12.3 (src): glibc-2.17-4.7.1, glibc-testsuite-2.17-4.7.2, glibc-testsuite-2.17-4.7.3, glibc-utils-2.17-4.7.1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=819524 https://bugzilla.novell.com/show_bug.cgi?id=819524#c3 Andreas Schwab <schwab@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #3 from Andreas Schwab <schwab@suse.com> 2013-10-01 08:49:23 CEST --- Fixed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com