Bug#999758: iptables: segfault at 88 ip 00007ff6a8db8e47 sp 00007fffd39bdf08 error 4 in libnftnl.so.11.3.0[7ff6a8db4000+16000]
On 2021-11-19 19:18:37, Jeremy Sowden wrote: Some of those seg-faults occurred in libnftnl.so.11.2.0, the remainder in libnftnl.so.11.3.0. Are all those log messages from one node? The libnftnl11 package in Debian 11 (1.1.9-1) contains libnftnl.so.11.5.0. What have you got installed? Sorry, I didn't recognize. The nodes in the cluster are running Debian 11, i.e. libnftnl.so.11.5.0 and libnftnl11:amd64 version 1.1.9-1 are correct. The libnftnl.so.11.2.0 and libnftnl.so.11.3.0 must have been used inside the containers ruuning on the cluster. Same goes for iptables and iptables- save. I do not even know if they are based on Debian. Case can be closed Harri
Bug#999758: iptables: segfault at 88 ip 00007ff6a8db8e47 sp 00007fffd39bdf08 error 4 in libnftnl.so.11.3.0[7ff6a8db4000+16000]
On 2021-11-16, at 09:50:11 +0100, Harald Dunkel wrote: > Package: iptables > Version: 1.8.7-1 > > iptables-nft gives me SIGSEGVs on the nodes of my Kubernetes > cluster, e.g. > > : > [Fri Nov 12 11:43:46 2021] iptables-save[4166038]: segfault at 80 ip > 7effd99c3964 sp 7ffee513d5f8 error 4 in > libnftnl.so.11.2.0[7effd99be000+19000] > [Fri Nov 12 11:43:46 2021] Code: 83 c4 08 5b 5d 41 5c 41 5d c3 0f 1f 40 00 48 > 83 c4 08 31 c0 5b 5d 41 5c 41 5d c3 66 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e > fa <48> 8b 87 80 00 00 00 48 83 ef 80 48 39 f8 74 1b 85 f6 75 0c eb 18 > [Fri Nov 12 11:43:46 2021] iptables-save[4166042]: segfault at 80 ip > 7fc431f54964 sp 7ffd014950e8 error 4 in > libnftnl.so.11.2.0[7fc431f4f000+19000] > [Fri Nov 12 11:43:46 2021] Code: 83 c4 08 5b 5d 41 5c 41 5d c3 0f 1f 40 00 48 > 83 c4 08 31 c0 5b 5d 41 5c 41 5d c3 66 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e > fa <48> 8b 87 80 00 00 00 48 83 ef 80 48 39 f8 74 1b 85 f6 75 0c eb 18 > [Fri Nov 12 12:13:35 2021] iptables-save[9693]: segfault at 80 ip > 7f6b1b7a8964 sp 7ffeb79a9098 error 4 in > libnftnl.so.11.2.0[7f6b1b7a3000+19000] > [Fri Nov 12 12:13:35 2021] Code: 83 c4 08 5b 5d 41 5c 41 5d c3 0f 1f 40 00 48 > 83 c4 08 31 c0 5b 5d 41 5c 41 5d c3 66 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e > fa <48> 8b 87 80 00 00 00 48 83 ef 80 48 39 f8 74 1b 85 f6 75 0c eb 18 > [Fri Nov 12 12:13:35 2021] iptables-save[9698]: segfault at 80 ip > 7f865a8ad964 sp 7ffdb51fac98 error 4 in > libnftnl.so.11.2.0[7f865a8a8000+19000] > [Fri Nov 12 12:13:35 2021] Code: 83 c4 08 5b 5d 41 5c 41 5d c3 0f 1f 40 00 48 > 83 c4 08 31 c0 5b 5d 41 5c 41 5d c3 66 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e > fa <48> 8b 87 80 00 00 00 48 83 ef 80 48 39 f8 74 1b 85 f6 75 0c eb 18 > [Fri Nov 12 17:42:57 2021] perf: interrupt took too long (4093 > 4062), > lowering kernel.perf_event_max_sample_rate to 48750 > [Sat Nov 13 05:35:44 2021] perf: interrupt took too long (5158 > 5116), > lowering kernel.perf_event_max_sample_rate to 38750 > [Sat Nov 13 09:28:43 2021] iptables[1326141]: segfault at 88 ip > 7ff6a8db8e47 sp 7fffd39bdf08 error 4 in > libnftnl.so.11.3.0[7ff6a8db4000+16000] > [Sat Nov 13 09:28:43 2021] Code: bf 88 00 00 00 48 8b 2f 48 39 df 74 13 4c 89 > ee 41 ff d4 85 c0 78 0b 48 89 ef 48 8b 6d 00 eb e8 31 c0 5a 5b 5d 41 5c 41 5d > c3 <48> 8b 87 88 00 00 00 48 81 c7 88 00 00 00 48 39 f8 74 0b 85 f6 74 > [Sun Nov 14 22:20:44 2021] iptables[3588851]: segfault at 88 ip > 7ff99f6a0e47 sp 7ffe44963518 error 4 in > libnftnl.so.11.3.0[7ff99f69c000+16000] > [Sun Nov 14 22:20:44 2021] Code: bf 88 00 00 00 48 8b 2f 48 39 df 74 13 4c 89 > ee 41 ff d4 85 c0 78 0b 48 89 ef 48 8b 6d 00 eb e8 31 c0 5a 5b 5d 41 5c 41 5d > c3 <48> 8b 87 88 00 00 00 48 81 c7 88 00 00 00 48 39 f8 74 0b 85 f6 74 > [Mon Nov 15 07:49:44 2021] perf: interrupt took too long (6455 > 6447), > lowering kernel.perf_event_max_sample_rate to 30750 > [Mon Nov 15 21:16:08 2021] iptables[805097]: segfault at 88 ip > 7f5520b78e47 sp 7ffdea2e22c8 error 4 in > libnftnl.so.11.3.0[7f5520b74000+16000] > [Mon Nov 15 21:16:08 2021] Code: bf 88 00 00 00 48 8b 2f 48 39 df 74 13 4c 89 > ee 41 ff d4 85 c0 78 0b 48 89 ef 48 8b 6d 00 eb e8 31 c0 5a 5b 5d 41 5c 41 5d > c3 <48> 8b 87 88 00 00 00 48 81 c7 88 00 00 00 48 39 f8 74 0b 85 f6 74 > [Tue Nov 16 06:44:57 2021] iptables[1385202]: segfault at 88 ip > 7f3834592e47 sp 7ffdfb74e0f8 error 4 in > libnftnl.so.11.3.0[7f383458e000+16000] > [Tue Nov 16 06:44:57 2021] Code: bf 88 00 00 00 48 8b 2f 48 39 df 74 13 4c 89 > ee 41 ff d4 85 c0 78 0b 48 89 ef 48 8b 6d 00 eb e8 31 c0 5a 5b 5d 41 5c 41 5d > c3 <48> 8b 87 88 00 00 00 48 81 c7 88 00 00 00 48 39 f8 74 0b 85 f6 74 > : > > This is Debian 11 and iptables-nft. My other clusters (running > Debian 10 and legacy iptables) are fine. Some of those seg-faults occurred in libnftnl.so.11.2.0, the remainder in libnftnl.so.11.3.0. Are all those log messages from one node? The libnftnl11 package in Debian 11 (1.1.9-1) contains libnftnl.so.11.5.0. What have you got installed? J. signature.asc Description: PGP signature
Bug#999758: iptables: segfault at 88 ip 00007ff6a8db8e47 sp 00007fffd39bdf08 error 4 in libnftnl.so.11.3.0[7ff6a8db4000+16000]
Package: iptables Version: 1.8.7-1 iptables-nft gives me SIGSEGVs on the nodes of my Kubernetes cluster, e.g. : [Fri Nov 12 11:43:46 2021] iptables-save[4166038]: segfault at 80 ip 7effd99c3964 sp 7ffee513d5f8 error 4 in libnftnl.so.11.2.0[7effd99be000+19000] [Fri Nov 12 11:43:46 2021] Code: 83 c4 08 5b 5d 41 5c 41 5d c3 0f 1f 40 00 48 83 c4 08 31 c0 5b 5d 41 5c 41 5d c3 66 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa <48> 8b 87 80 00 00 00 48 83 ef 80 48 39 f8 74 1b 85 f6 75 0c eb 18 [Fri Nov 12 11:43:46 2021] iptables-save[4166042]: segfault at 80 ip 7fc431f54964 sp 7ffd014950e8 error 4 in libnftnl.so.11.2.0[7fc431f4f000+19000] [Fri Nov 12 11:43:46 2021] Code: 83 c4 08 5b 5d 41 5c 41 5d c3 0f 1f 40 00 48 83 c4 08 31 c0 5b 5d 41 5c 41 5d c3 66 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa <48> 8b 87 80 00 00 00 48 83 ef 80 48 39 f8 74 1b 85 f6 75 0c eb 18 [Fri Nov 12 12:13:35 2021] iptables-save[9693]: segfault at 80 ip 7f6b1b7a8964 sp 7ffeb79a9098 error 4 in libnftnl.so.11.2.0[7f6b1b7a3000+19000] [Fri Nov 12 12:13:35 2021] Code: 83 c4 08 5b 5d 41 5c 41 5d c3 0f 1f 40 00 48 83 c4 08 31 c0 5b 5d 41 5c 41 5d c3 66 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa <48> 8b 87 80 00 00 00 48 83 ef 80 48 39 f8 74 1b 85 f6 75 0c eb 18 [Fri Nov 12 12:13:35 2021] iptables-save[9698]: segfault at 80 ip 7f865a8ad964 sp 7ffdb51fac98 error 4 in libnftnl.so.11.2.0[7f865a8a8000+19000] [Fri Nov 12 12:13:35 2021] Code: 83 c4 08 5b 5d 41 5c 41 5d c3 0f 1f 40 00 48 83 c4 08 31 c0 5b 5d 41 5c 41 5d c3 66 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa <48> 8b 87 80 00 00 00 48 83 ef 80 48 39 f8 74 1b 85 f6 75 0c eb 18 [Fri Nov 12 17:42:57 2021] perf: interrupt took too long (4093 > 4062), lowering kernel.perf_event_max_sample_rate to 48750 [Sat Nov 13 05:35:44 2021] perf: interrupt took too long (5158 > 5116), lowering kernel.perf_event_max_sample_rate to 38750 [Sat Nov 13 09:28:43 2021] iptables[1326141]: segfault at 88 ip 7ff6a8db8e47 sp 7fffd39bdf08 error 4 in libnftnl.so.11.3.0[7ff6a8db4000+16000] [Sat Nov 13 09:28:43 2021] Code: bf 88 00 00 00 48 8b 2f 48 39 df 74 13 4c 89 ee 41 ff d4 85 c0 78 0b 48 89 ef 48 8b 6d 00 eb e8 31 c0 5a 5b 5d 41 5c 41 5d c3 <48> 8b 87 88 00 00 00 48 81 c7 88 00 00 00 48 39 f8 74 0b 85 f6 74 [Sun Nov 14 22:20:44 2021] iptables[3588851]: segfault at 88 ip 7ff99f6a0e47 sp 7ffe44963518 error 4 in libnftnl.so.11.3.0[7ff99f69c000+16000] [Sun Nov 14 22:20:44 2021] Code: bf 88 00 00 00 48 8b 2f 48 39 df 74 13 4c 89 ee 41 ff d4 85 c0 78 0b 48 89 ef 48 8b 6d 00 eb e8 31 c0 5a 5b 5d 41 5c 41 5d c3 <48> 8b 87 88 00 00 00 48 81 c7 88 00 00 00 48 39 f8 74 0b 85 f6 74 [Mon Nov 15 07:49:44 2021] perf: interrupt took too long (6455 > 6447), lowering kernel.perf_event_max_sample_rate to 30750 [Mon Nov 15 21:16:08 2021] iptables[805097]: segfault at 88 ip 7f5520b78e47 sp 7ffdea2e22c8 error 4 in libnftnl.so.11.3.0[7f5520b74000+16000] [Mon Nov 15 21:16:08 2021] Code: bf 88 00 00 00 48 8b 2f 48 39 df 74 13 4c 89 ee 41 ff d4 85 c0 78 0b 48 89 ef 48 8b 6d 00 eb e8 31 c0 5a 5b 5d 41 5c 41 5d c3 <48> 8b 87 88 00 00 00 48 81 c7 88 00 00 00 48 39 f8 74 0b 85 f6 74 [Tue Nov 16 06:44:57 2021] iptables[1385202]: segfault at 88 ip 7f3834592e47 sp 7ffdfb74e0f8 error 4 in libnftnl.so.11.3.0[7f383458e000+16000] [Tue Nov 16 06:44:57 2021] Code: bf 88 00 00 00 48 8b 2f 48 39 df 74 13 4c 89 ee 41 ff d4 85 c0 78 0b 48 89 ef 48 8b 6d 00 eb e8 31 c0 5a 5b 5d 41 5c 41 5d c3 <48> 8b 87 88 00 00 00 48 81 c7 88 00 00 00 48 39 f8 74 0b 85 f6 74 : This is Debian 11 and iptables-nft. My other clusters (running Debian 10 and legacy iptables) are fine. Regards Harri