Bug#841261: ulogd2: reliably crashes (SIGSEGV) on Debian's new arm64 nodes: acker/aagaard
Control: reassign -1 src:linux 4.8~rc8-1~exp1 Control: retitle -1 linux: 4.8 causes crashes in ulogd2 due to bug in netfilter code On Thu, 2016-10-20 at 11:00 +0200, Julien Cristau wrote: > I think this should just be reassigned, there's not much point working > around a kernel bug. Doing that with this mail. Linux folks: please close this bug when this netfilter patch for Linux 4.8 reaches Debian. https://patchwork.ozlabs.org/patch/680773/ It is needed for acker.d.o and aagaard.d.o, which run the Linux 4.8 version from Debian experimental. -- bye, pabs https://wiki.debian.org/PaulWise signature.asc Description: This is a digitally signed message part
Bug#841261: ulogd2: reliably crashes (SIGSEGV) on Debian's new arm64 nodes: acker/aagaard
On Thu, Oct 20, 2016 at 09:14:06 +0100, Chris Boot wrote: > On 19/10/16 09:18, Paul Wise wrote: > > On Wed, 2016-10-19 at 11:47 +0800, Paul Wise wrote: > > > >> On Debian's new arm64 nodes (acker and aagaard) ulogd2 always crashes > >> with SIGSEGV some time after startup. This does not happen on our other > >> arm64 nodes (asachi, arm-arm-03, arm-arm-04). Backtrace below: > > > > According to aurel32 this might fix it: > > > > https://patchwork.ozlabs.org/patch/680773/ > > > > We are indeed running Linux 4.8 on the affected machines. > > Hi Paul, > > Thanks for the detailed bug report. It does appear that the cause of the > crash is due to being fed garbage by the kernel, and upgrading to a > later kernel when that comes along should fix things. > > I'll try to raise this upstream to see whether this can be worked around > in ulogd2 at all, but I suspect there's little that can be done within > ulogd2 itself. > > Have you raised this bug against src:linux as well? If not do let me > know, or feel free to clone this bug yourself. > I think this should just be reassigned, there's not much point working around a kernel bug. Cheers, Julien
Bug#841261: ulogd2: reliably crashes (SIGSEGV) on Debian's new arm64 nodes: acker/aagaard
On Thu, 2016-10-20 at 09:14 +0100, Chris Boot wrote: > Thanks for the detailed bug report. It does appear that the cause of the > crash is due to being fed garbage by the kernel, and upgrading to a > later kernel when that comes along should fix things. Thanks for the analysis. > I'll try to raise this upstream to see whether this can be worked around > in ulogd2 at all, but I suspect there's little that can be done within > ulogd2 itself. Ok. > Have you raised this bug against src:linux as well? If not do let me > know, or feel free to clone this bug yourself. I have not. -- bye, pabs https://wiki.debian.org/PaulWise signature.asc Description: This is a digitally signed message part
Bug#841261: ulogd2: reliably crashes (SIGSEGV) on Debian's new arm64 nodes: acker/aagaard
On 19/10/16 09:18, Paul Wise wrote: > On Wed, 2016-10-19 at 11:47 +0800, Paul Wise wrote: > >> On Debian's new arm64 nodes (acker and aagaard) ulogd2 always crashes >> with SIGSEGV some time after startup. This does not happen on our other >> arm64 nodes (asachi, arm-arm-03, arm-arm-04). Backtrace below: > > According to aurel32 this might fix it: > > https://patchwork.ozlabs.org/patch/680773/ > > We are indeed running Linux 4.8 on the affected machines. Hi Paul, Thanks for the detailed bug report. It does appear that the cause of the crash is due to being fed garbage by the kernel, and upgrading to a later kernel when that comes along should fix things. I'll try to raise this upstream to see whether this can be worked around in ulogd2 at all, but I suspect there's little that can be done within ulogd2 itself. Have you raised this bug against src:linux as well? If not do let me know, or feel free to clone this bug yourself. Cheers, Chris -- Chris Boot bo...@debian.org GPG: 8467 53CB 1921 3142 C56D C918 F5C8 3C05 D9CE signature.asc Description: OpenPGP digital signature
Bug#841261: ulogd2: reliably crashes (SIGSEGV) on Debian's new arm64 nodes: acker/aagaard
On Wed, 2016-10-19 at 11:47 +0800, Paul Wise wrote: > On Debian's new arm64 nodes (acker and aagaard) ulogd2 always crashes > with SIGSEGV some time after startup. This does not happen on our other > arm64 nodes (asachi, arm-arm-03, arm-arm-04). Backtrace below: According to aurel32 this might fix it: https://patchwork.ozlabs.org/patch/680773/ We are indeed running Linux 4.8 on the affected machines. -- bye, pabs https://wiki.debian.org/PaulWise signature.asc Description: This is a digitally signed message part
Bug#841261: ulogd2: reliably crashes (SIGSEGV) on Debian's new arm64 nodes: acker/aagaard
Package: ulogd2 Version: 2.0.4-2+deb8u1 Severity: important X-Debbugs-CC: debian-ad...@lists.debian.org User: debian-ad...@lists.debian.org Usertags: needed-by-DSA-Team On Debian's new arm64 nodes (acker and aagaard) ulogd2 always crashes with SIGSEGV some time after startup. This does not happen on our other arm64 nodes (asachi, arm-arm-03, arm-arm-04). Backtrace below: pabs@acker:~$ sudo gdb -batch -n -ex 'set pagination off' -ex run -ex bt -ex 'thread apply all bt full' --args /usr/sbin/ulogd -v --uid ulog --pidfile /run/ulog/ulogd.pid [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1". Program received signal SIGSEGV, Segmentation fault. _interp_iphdr (pi=0x5557ab40, len=0) at ulogd_raw2packet_BASE.c:718 718 ulogd_raw2packet_BASE.c: No such file or directory. #0 _interp_iphdr (pi=0x5557ab40, len=0) at ulogd_raw2packet_BASE.c:718 #1 0x9e38 in ulogd_propagate_results (pi=0x55578640, pi@entry=0x0) at ulogd.c:518 #2 0x7fffb7da31ac in interp_packet (ldata=0x7120, pf_family=68 'D', upi=0x0) at ulogd_inppkt_NFLOG.c:400 #3 msg_cb (gh=, nfmsg=0x7fffb7bf0020, nfa=0x7120, data=0x0) at ulogd_inppkt_NFLOG.c:483 #4 0x7fffb7d8e3f4 in __nflog_rcv_pkt (nlh=, nfa=, data=) at libnetfilter_log.c:162 #5 0x7fffb7d79a88 in __nfnl_handle_msg (len=124, nlh=0x7fffb7bf0010, h=0x5557a210) at libnfnetlink.c:1236 #6 nfnl_handle_packet (h=0x5557a210, buf=0x7fffb7bf0010 "|", len=len@entry=124) at libnfnetlink.c:1256 #7 0x7fffb7d8e5f0 in nflog_handle_packet (h=, buf=, len=len@entry=124) at libnetfilter_log.c:325 #8 0x7fffb7da2b64 in nful_read_cb (fd=, what=, param=0x55578640) at ulogd_inppkt_NFLOG.c:463 #9 0xa340 in ulogd_select_main (tv=0x0) at select.c:105 #10 0x7f80 in ulogd_main_loop () at ulogd.c:934 #11 main (argc=, argv=) at ulogd.c:1477 Thread 1 (Thread 0x7fffb7ff2000 (LWP 9808)): #0 _interp_iphdr (pi=0x5557ab40, len=0) at ulogd_raw2packet_BASE.c:718 ret = 0x5557acd8 nexthdr = #1 0x9e38 in ulogd_propagate_results (pi=0x55578640, pi@entry=0x0) at ulogd.c:518 ret = cur = 0x5557ab40 abort_stack = 0 #2 0x7fffb7da31ac in interp_packet (ldata=0x7120, pf_family=68 'D', upi=0x0) at ulogd_inppkt_NFLOG.c:400 ph = 0x7fffb7bf0028 payload = 0x0 mark = 0 indev = 2 gid = 32767 ret = 0x555792b8 hw = 0x7fffb7bf0048 prefix = 0x7fffb7bf0030 "REJECT: " outdev = 0 uid = 3086556916 payload_len = -1 ts = {tv_sec = 1476846114, tv_usec = 105901} seq = 21845 #3 msg_cb (gh=, nfmsg=0x7fffb7bf0020, nfa=0x7120, data=0x0) at ulogd_inppkt_NFLOG.c:483 gh = data = 0x0 nfa = 0x7120 nfmsg = 0x7fffb7bf0020 upi = 0x0 npi = ret = #4 0x7fffb7d8e3f4 in __nflog_rcv_pkt (nlh=, nfa=, data=) at libnetfilter_log.c:162 nfmsg = h = group = nfldata = {nfa = 0x7130} #5 0x7fffb7d79a88 in __nfnl_handle_msg (len=124, nlh=0x7fffb7bf0010, h=0x5557a210) at libnfnetlink.c:1236 nfa = 0x7130 ssh = type = subsys_id = err = #6 nfnl_handle_packet (h=0x5557a210, buf=0x7fffb7bf0010 "|", len=len@entry=124) at libnfnetlink.c:1256 rlen = 124 nlh = 0x7fffb7bf0010 #7 0x7fffb7d8e5f0 in nflog_handle_packet (h=, buf=, len=len@entry=124) at libnetfilter_log.c:325 No locals. #8 0x7fffb7da2b64 in nful_read_cb (fd=, what=, param=0x55578640) at ulogd_inppkt_NFLOG.c:463 len = 124 what = param = 0x55578640 upi = 0x55578640 #9 0xa340 in ulogd_select_main (tv=0x0) at select.c:105 flags = 1 ufd = 0x555786d0 rds_tmp = {__fds_bits = {64, 0 }} wrs_tmp = {__fds_bits = {0 }} exs_tmp = {__fds_bits = {0 }} i = 1 #10 0x7f80 in ulogd_main_loop () at ulogd.c:934 ret = next_alarm = {tv_sec = 1, tv_usec = 0} next = 0x0 #11 main (argc=, argv=) at ulogd.c:1477 argch = daemonize = 0 change_uid = 1 user = 0x5556e030 "ulog" pw = uid = 113 gid = 118 loglevel = 0 -- System Information: Debian Release: 8.6 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: arm64 (aarch64) Kernel: Linux 4.8.0-rc8-arm64 (SMP w/8 CPU cores) LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages ulogd2 depends on: ii adduser 3.113+nmu3 ii init-system-helpers 1.22 ii libc62.19-18+deb8u6 ii libmnl0 1.0.3-5 ii libnetfilter-acct1 1.0