FS#52778 - [libnl] Crash with kernel 4.9+

Attached to Project: Arch Linux
Opened by GG (gg) - Monday, 30 January 2017, 20:50 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Friday, 03 February 2017, 09:35 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Bartłomiej Piotrowski (Barthalion)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

libnl breaks after upgrading to kernel 4.9+.

Reverting to a 4.8 solves the issue.

Building libnl from the latest commit (3dd2a0f) in master, which includes the fixes to the below bug report, fixes the issue with 4.9.

Links:
segfault in rtnl_link_sriov_parse_vflist during __rtnl_link_alloc_cache #126
https://github.com/thom311/libnl/issues/126

Steps to reproduce:

Enable Network VFs
Use Libvirt.
Upgrade to 4.9+ kernel.

Additional info:
* package version(s)
libnl 3.2.29-1

Jan 30 10:19:33 kernel: libvirtd[3630]: segfault at 7f49ae35d9e0 ip 00007f49d8f77f7f sp 00007f49ae35a600 error 7 in libnl-route-3.so.200.24.0[7f49d8f4b000+6c000]
Jan 30 10:19:33 systemd[1]: Started Process Core Dump (PID 3633/UID 0).
Jan 30 10:19:34 systemd[1]: libvirtd.service: Main process exited, code=killed, status=11/SEGV
Jan 30 10:19:34 systemd[1]: libvirtd.service: Unit entered failed state.
Jan 30 10:19:34 systemd[1]: libvirtd.service: Failed with result 'signal'.
Jan 30 10:19:34 systemd-coredump[3634]: Process 3612 (libvirtd) of user 0 dumped core.

Stack trace of thread 3630:
#0 0x00007f49d8f77f7f n/a (libnl-route-3.so.200)
#1 0x00007f49d8f6c8ad n/a (libnl-route-3.so.200)
#2 0x00007f49d8d353a3 nl_cache_parse (libnl-3.so.200)
#3 0x00007f49d8d353eb n/a (libnl-3.so.200)
#4 0x00007f49d8d3b8fc nl_recvmsgs_report (libnl-3.so.200)
#5 0x00007f49d8d3bd29 nl_recvmsgs (libnl-3.so.200)
#6 0x00007f49d8d3478b n/a (libnl-3.so.200)
#7 0x00007f49d8d3531d nl_cache_pickup (libnl-3.so.200)
#8 0x00007f49d8d35551 nl_cache_refill (libnl-3.so.200)
#9 0x00007f49d8f6b275 rtnl_link_alloc_cache_flags (libnl-route-3.so.200)
<snip>
This task depends upon

Closed by  Bartłomiej Piotrowski (Barthalion)
Friday, 03 February 2017, 09:35 GMT
Reason for closing:  Fixed
Additional comments about closing:  testing/libnl-3.2.29-2
Comment by GG (gg) - Monday, 30 January 2017, 20:57 GMT
Apologies for missing the bug report summary on entry.

Loading...