Bug#886156: systemd: crashes the system on reloading

Michael Biebl biebl at debian.org
Tue Jan 2 19:05:43 GMT 2018


Control: reassign -1 linux-image-4.14.0-2-amd6

Am 02.01.2018 um 19:09 schrieb Kjö Hansi Glaz:
> Package: systemd
> Version: 236-2
> Severity: normal
> 
> Dear Maintainer,
> 
> When I upgrade the system with apt, the system often becomes
> unresponsive after reloading systemd. Please find below the journal
> output when this happens:
> 
> déc. 31 02:11:37 debian systemd[1]: Reloading.
> déc. 31 02:11:37 debian kernel: BUG: unable to handle kernel paging request at 000000440000004b
> déc. 31 02:11:37 debian kernel: IP: __task_pid_nr_ns+0xc7/0xf0
> déc. 31 02:11:37 debian kernel: PGD 0 P4D 0 
> déc. 31 02:11:37 debian kernel: Oops: 0000 [#1] SMP
> déc. 31 02:11:37 debian kernel: Modules linked in: vhost_net vhost tap rfcomm fuse cmac bnep btusb btrtl btbcm btintel bluetooth drbg ansi_cp
> déc. 31 02:11:37 debian kernel:  binfmt_misc thunderbolt xt_nat bcma snd_hda_core snd_hwdep snd_pcm_oss snd_mixer_oss sbs snd_pcm mei_me snd_
> déc. 31 02:11:37 debian kernel:  raid1 raid0 multipath linear md_mod sr_mod cdrom sd_mod uas usb_storage crct10dif_pclmul crc32_pclmul crc32c
> déc. 31 02:11:37 debian kernel: CPU: 3 PID: 1 Comm: systemd Not tainted 4.14.0-2-amd64 #1 Debian 4.14.7-1
> déc. 31 02:11:37 debian kernel: Hardware name: Apple Inc. MacBookPro9,2/Mac-XXXXXXXXXXXXXXXX, BIOS MBP91.88Z.00D3.B08.1208081132 08/08/2012
> déc. 31 02:11:37 debian kernel: task: ffff979d1ce5f040 task.stack: ffffad71018cc000
> déc. 31 02:11:37 debian kernel: RIP: 0010:__task_pid_nr_ns+0xc7/0xf0
> déc. 31 02:11:37 debian kernel: RSP: 0018:ffffad71018cfdc8 EFLAGS: 00010206
> déc. 31 02:11:37 debian kernel: RAX: 0000000000000000 RBX: ffff979d12323400 RCX: 0000004400000047
> déc. 31 02:11:37 debian kernel: RDX: ffffffffb4e42d20 RSI: 0000000000000000 RDI: ffff979d0de8d9a0
> déc. 31 02:11:37 debian kernel: RBP: ffffad71018cfdc8 R08: 0000000000001000 R09: 000000000000001e
> déc. 31 02:11:37 debian kernel: R10: 0000000000000020 R11: ffff979d11bb801d R12: ffffad71018cff18
> déc. 31 02:11:37 debian kernel: R13: ffff979b9d059900 R14: ffff979d0de8d410 R15: ffff979d12323400
> déc. 31 02:11:37 debian kernel: FS:  00007f5d18dd4980(0000) GS:ffff979d2f380000(0000) knlGS:0000000000000000
> déc. 31 02:11:37 debian kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> déc. 31 02:11:37 debian kernel: CR2: 000000440000004b CR3: 000000045c246004 CR4: 00000000001626e0
> déc. 31 02:11:37 debian kernel: Call Trace:
> déc. 31 02:11:37 debian kernel:  cgroup_procs_show+0x19/0x30
> déc. 31 02:11:37 debian kernel:  cgroup_seqfile_show+0x4c/0xb0
> déc. 31 02:11:37 debian kernel:  kernfs_seq_show+0x21/0x30
> déc. 31 02:11:37 debian kernel:  seq_read+0x2ec/0x3f0
> déc. 31 02:11:37 debian kernel:  kernfs_fop_read+0x134/0x180
> déc. 31 02:11:37 debian kernel:  ? security_file_permission+0x9b/0xc0
> déc. 31 02:11:37 debian kernel:  __vfs_read+0x18/0x40
> déc. 31 02:11:37 debian kernel:  vfs_read+0x8e/0x130
> déc. 31 02:11:37 debian kernel:  SyS_read+0x55/0xc0
> déc. 31 02:11:37 debian kernel:  system_call_fast_compare_end+0xc/0x97
> déc. 31 02:11:37 debian kernel: RIP: 0033:0x7f5d1871175d
> déc. 31 02:11:37 debian kernel: RSP: 002b:00007ffea35b1b70 EFLAGS: 00000293 ORIG_RAX: 0000000000000000
> déc. 31 02:11:37 debian kernel: RAX: ffffffffffffffda RBX: 000055c69a002910 RCX: 00007f5d1871175d
> déc. 31 02:11:37 debian kernel: RDX: 0000000000001000 RSI: 000055c699feb290 RDI: 0000000000000018
> déc. 31 02:11:37 debian kernel: RBP: 00007f5d189cd440 R08: 00007f5d189d1178 R09: 0000000000001010
> déc. 31 02:11:37 debian kernel: R10: 0000000000000020 R11: 0000000000000293 R12: 0000000000000000
> déc. 31 02:11:37 debian kernel: R13: 0000000000000000 R14: 0000000000000018 R15: 000055c69a06fff0
> déc. 31 02:11:37 debian kernel: Code: 04 74 0e 89 f6 48 8d 04 76 48 8d 04 c5 90 05 00 00 48 8b bf 58 05 00 00 48 01 c7 31 c0 48 8b 0f 48 85 c
> déc. 31 02:11:37 debian kernel: RIP: __task_pid_nr_ns+0xc7/0xf0 RSP: ffffad71018cfdc8
> déc. 31 02:11:37 debian kernel: CR2: 000000440000004b
> déc. 31 02:11:37 debian kernel: ---[ end trace b6c75a92425e9881 ]---
> déc. 31 02:11:37 debian kernel: ------------[ cut here ]------------
> déc. 31 02:11:37 debian kernel: WARNING: CPU: 1 PID: 1 at /build/linux-NHzxYj/linux-4.14.7/kernel/fork.c:419 __put_task_struct+0xf0/0x150
> déc. 31 02:11:37 debian kernel: Modules linked in: vhost_net vhost tap rfcomm fuse cmac bnep btusb btrtl btbcm btintel bluetooth drbg ansi_cp
> déc. 31 02:11:37 debian kernel:  binfmt_misc thunderbolt xt_nat bcma snd_hda_core snd_hwdep snd_pcm_oss snd_mixer_oss sbs snd_pcm mei_me snd_
> déc. 31 02:11:37 debian kernel:  raid1 raid0 multipath linear md_mod sr_mod cdrom sd_mod uas usb_storage crct10dif_pclmul crc32_pclmul crc32c
> déc. 31 02:11:37 debian kernel: CPU: 1 PID: 1 Comm: systemd Tainted: G      D         4.14.0-2-amd64 #1 Debian 4.14.7-1
> déc. 31 02:11:37 debian kernel: Hardware name: Apple Inc. MacBookPro9,2/Mac-XXXXXXXXXXXXXXXX, BIOS MBP91.88Z.00D3.B08.1208081132 08/08/2012
> déc. 31 02:11:37 debian kernel: task: ffff979d1ce5f040 task.stack: ffffad71018cc000
> déc. 31 02:11:37 debian kernel: RIP: 0010:__put_task_struct+0xf0/0x150
> déc. 31 02:11:37 debian kernel: RSP: 0018:ffffad71018cfda0 EFLAGS: 00010246
> déc. 31 02:11:37 debian kernel: RAX: 0000000000000000 RBX: ffff979d0de8d410 RCX: dead000000000200
> déc. 31 02:11:37 debian kernel: RDX: 0000000000000001 RSI: ffff979d0e018ce0 RDI: ffff979d0de8d410
> déc. 31 02:11:37 debian kernel: R10: 0000000000000020 R11: ffff979d11bb801d R12: ffffad71018cff18
> déc. 31 02:11:37 debian kernel: R13: ffff979b9d059900 R14: ffff979d0de8d410 R15: ffff979d12323400
> déc. 31 02:11:37 debian kernel: FS:  00007f5d18dd4980(0000) GS:ffff979d2f380000(0000) knlGS:0000000000000000
> déc. 31 02:11:37 debian kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> déc. 31 02:11:37 debian kernel: CR2: 000000440000004b CR3: 000000045c246004 CR4: 00000000001626e0
> déc. 31 02:11:37 debian kernel: Call Trace:
> déc. 31 02:11:37 debian kernel:  cgroup_procs_show+0x19/0x30
> déc. 31 02:11:37 debian kernel:  cgroup_seqfile_show+0x4c/0xb0
> déc. 31 02:11:37 debian kernel:  kernfs_seq_show+0x21/0x30
> déc. 31 02:11:37 debian kernel:  seq_read+0x2ec/0x3f0
> déc. 31 02:11:37 debian kernel:  kernfs_fop_read+0x134/0x180
> déc. 31 02:11:37 debian kernel:  ? security_file_permission+0x9b/0xc0
> déc. 31 02:11:37 debian kernel:  __vfs_read+0x18/0x40
> déc. 31 02:11:37 debian kernel:  vfs_read+0x8e/0x130
> déc. 31 02:11:37 debian kernel:  SyS_read+0x55/0xc0
> déc. 31 02:11:37 debian kernel:  system_call_fast_compare_end+0xc/0x97
> déc. 31 02:11:37 debian kernel: RIP: 0033:0x7f5d1871175d
> déc. 31 02:11:37 debian kernel: RSP: 002b:00007ffea35b1b70 EFLAGS: 00000293 ORIG_RAX: 0000000000000000
> déc. 31 02:11:37 debian kernel: RAX: ffffffffffffffda RBX: 000055c69a002910 RCX: 00007f5d1871175d
> déc. 31 02:11:37 debian kernel: RDX: 0000000000001000 RSI: 000055c699feb290 RDI: 0000000000000018
> déc. 31 02:11:37 debian kernel: RBP: 00007f5d189cd440 R08: 00007f5d189d1178 R09: 0000000000001010
> déc. 31 02:11:37 debian kernel: R10: 0000000000000020 R11: 0000000000000293 R12: 0000000000000000
> déc. 31 02:11:37 debian kernel: R13: 0000000000000000 R14: 0000000000000018 R15: 000055c69a06fff0
> déc. 31 02:11:37 debian kernel: Code: 04 74 0e 89 f6 48 8d 04 76 48 8d 04 c5 90 05 00 00 48 8b bf 58 05 00 00 48 01 c7 31 c0 48 8b 0f 48 85 c
> déc. 31 02:11:37 debian kernel: RIP: __task_pid_nr_ns+0xc7/0xf0 RSP: ffffad71018cfdc8
> déc. 31 02:11:37 debian kernel: CR2: 000000440000004b
> déc. 31 02:11:37 debian kernel: ---[ end trace b6c75a92425e9881 ]---
> déc. 31 02:11:37 debian kernel: ------------[ cut here ]------------
> déc. 31 02:11:37 debian kernel: WARNING: CPU: 1 PID: 1 at /build/linux-NHzxYj/linux-4.14.7/kernel/fork.c:419 __put_task_struct+0xf0/0x150
> déc. 31 02:11:37 debian kernel: Modules linked in: vhost_net vhost tap rfcomm fuse cmac bnep btusb btrtl btbcm btintel bluetooth drbg ansi_cp
> déc. 31 02:11:37 debian kernel:  binfmt_misc thunderbolt xt_nat bcma snd_hda_core snd_hwdep snd_pcm_oss snd_mixer_oss sbs snd_pcm mei_me snd_
> déc. 31 02:11:37 debian kernel:  raid1 raid0 multipath linear md_mod sr_mod cdrom sd_mod uas usb_storage crct10dif_pclmul crc32_pclmul crc32c
> déc. 31 02:11:37 debian kernel: CPU: 1 PID: 1 Comm: systemd Tainted: G      D         4.14.0-2-amd64 #1 Debian 4.14.7-1
> déc. 31 02:11:37 debian kernel: Hardware name: Apple Inc. MacBookPro9,2/Mac-XXXXXXXXXXXXXXXX, BIOS MBP91.88Z.00D3.B08.1208081132 08/08/2012
> déc. 31 02:11:37 debian kernel: task: ffff979d1ce5f040 task.stack: ffffad71018cc000
> déc. 31 02:11:37 debian kernel: RIP: 0010:__put_task_struct+0xf0/0x150
> déc. 31 02:11:37 debian kernel: RSP: 0018:ffffad71018cfda0 EFLAGS: 00010246
> déc. 31 02:11:37 debian kernel: RAX: 0000000000000000 RBX: ffff979d0de8d410 RCX: dead000000000200
> déc. 31 02:11:37 debian kernel: RDX: 0000000000000001 RSI: ffff979d0e018ce0 RDI: ffff979d0de8d410
> déc. 31 02:11:37 debian kernel: RBP: ffffad71018cfdb0 R08: 0000000000000000 R09: 0000000000000000
> déc. 31 02:11:37 debian kernel: R10: ffff979d195435f0 R11: ffff979b9d059910 R12: ffff979d0eb61c00
> déc. 31 02:11:37 debian kernel: R13: ffff979d195435f0 R14: ffff979b9d059900 R15: ffff979d19542780
> déc. 31 02:11:37 debian kernel: FS:  00007f5d18dd4980(0000) GS:ffff979d2f280000(0000) knlGS:0000000000000000
> déc. 31 02:11:37 debian kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> déc. 31 02:11:37 debian kernel: CR2: 00007f5c3dbd1010 CR3: 0000000414809005 CR4: 00000000001626e0
> déc. 31 02:11:37 debian kernel: Call Trace:
> déc. 31 02:11:37 debian kernel:  css_task_iter_end+0xa8/0xe0
> déc. 31 02:11:37 debian kernel:  cgroup_procs_release+0x1e/0x30
> déc. 31 02:11:37 debian kernel:  cgroup_file_release+0x1e/0x30
> déc. 31 02:11:37 debian kernel:  kernfs_fop_release+0x83/0xa0
> déc. 31 02:11:37 debian kernel:  __fput+0xe7/0x220
> déc. 31 02:11:37 debian kernel:  ____fput+0xe/0x10
> déc. 31 02:11:37 debian kernel:  task_work_run+0x97/0xc0
> déc. 31 02:11:37 debian kernel:  do_exit+0x2e6/0xb40
> déc. 31 02:11:37 debian kernel:  ? SyS_read+0x55/0xc0
> déc. 31 02:11:37 debian kernel:  rewind_stack_do_exit+0x17/0x20
> déc. 31 02:11:37 debian kernel: RIP: 0033:0x7f5d1871175d
> déc. 31 02:11:37 debian kernel: RSP: 002b:00007ffea35b1b70 EFLAGS: 00000293 ORIG_RAX: 0000000000000000
> déc. 31 02:11:37 debian kernel: RAX: ffffffffffffffda RBX: 000055c69a002910 RCX: 00007f5d1871175d
> déc. 31 02:11:37 debian kernel: RDX: 0000000000001000 RSI: 000055c699feb290 RDI: 0000000000000018
> déc. 31 02:11:37 debian kernel: RBP: 00007f5d189cd440 R08: 00007f5d189d1178 R09: 0000000000001010
> déc. 31 02:11:37 debian kernel: R10: 0000000000000020 R11: 0000000000000293 R12: 0000000000000000
> déc. 31 02:11:37 debian kernel: R13: 0000000000000000 R14: 0000000000000018 R15: 000055c69a06fff0
> déc. 31 02:11:37 debian kernel: Code: 49 8b 94 24 d8 03 00 00 48 85 d2 74 06 f0 ff 4a 5c 74 2c 48 8b 3d 29 42 e5 00 4c 89 e6 e8 c9 a7 19 00 e
> déc. 31 02:11:37 debian kernel: ---[ end trace b6c75a92425e9882 ]---
> déc. 31 02:11:37 debian kernel: BUG: unable to handle kernel NULL pointer dereference at 00000000000000b0
> déc. 31 02:11:37 debian kernel: IP: pids_free+0x15/0x40
> déc. 31 02:11:37 debian kernel: PGD 0 P4D 0 
> déc. 31 02:11:37 debian kernel: Oops: 0000 [#2] SMP
> déc. 31 02:11:37 debian kernel: Modules linked in: vhost_net vhost tap rfcomm fuse cmac bnep btusb btrtl btbcm btintel bluetooth drbg ansi_cp
> déc. 31 02:11:37 debian kernel:  binfmt_misc thunderbolt xt_nat bcma snd_hda_core snd_hwdep snd_pcm_oss snd_mixer_oss sbs snd_pcm mei_me snd_
> déc. 31 02:11:37 debian kernel:  raid1 raid0 multipath linear md_mod sr_mod cdrom sd_mod uas usb_storage crct10dif_pclmul crc32_pclmul crc32c
> déc. 31 02:11:37 debian kernel: CPU: 1 PID: 1 Comm: systemd Tainted: G      D W       4.14.0-2-amd64 #1 Debian 4.14.7-1
> déc. 31 02:11:37 debian kernel: Hardware name: Apple Inc. MacBookPro9,2/Mac-XXXXXXXXXXXXXXXX, BIOS MBP91.88Z.00D3.B08.1208081132 08/08/2012
> déc. 31 02:11:37 debian kernel: task: ffff979d1ce5f040 task.stack: ffffad71018cc000
> déc. 31 02:11:37 debian kernel: RIP: 0010:pids_free+0x15/0x40
> déc. 31 02:11:37 debian kernel: RSP: 0018:ffffad71018cfd48 EFLAGS: 00010246
> déc. 31 02:11:37 debian kernel: RAX: ffff979b9d05a938 RBX: 0000000000000000 RCX: 000000000000000a
> déc. 31 02:11:37 debian kernel: RDX: 000000000000000a RSI: 000000000000000b RDI: ffff979d0de8d410
> déc. 31 02:11:37 debian kernel: RBP: ffffad71018cfd50 R08: 0000000000000000 R09: 0000000000000000
> déc. 31 02:11:37 debian kernel: R10: ffff979d195435f0 R11: ffff979b9d059910 R12: ffff979d0de8d410
> déc. 31 02:11:37 debian kernel: R13: ffffffffb4e5c1a0 R14: ffff979b9d05a938 R15: ffff979d19542780
> déc. 31 02:11:37 debian kernel: FS:  00007f5d18dd4980(0000) GS:ffff979d2f280000(0000) knlGS:0000000000000000
> déc. 31 02:11:37 debian kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> déc. 31 02:11:37 debian kernel: CR2: 00000000000000b0 CR3: 0000000414809005 CR4: 00000000001626e0
> déc. 31 02:11:37 debian kernel: Call Trace:
> déc. 31 02:11:37 debian kernel:  cgroup_free+0x62/0xe0
> déc. 31 02:11:37 debian kernel:  __put_task_struct+0x42/0x150
> déc. 31 02:11:37 debian kernel:  css_task_iter_end+0xa8/0xe0
> déc. 31 02:11:37 debian kernel:  cgroup_procs_release+0x1e/0x30
> déc. 31 02:11:37 debian kernel:  cgroup_file_release+0x1e/0x30
> déc. 31 02:11:37 debian kernel:  kernfs_fop_release+0x83/0xa0
> déc. 31 02:11:37 debian kernel:  __fput+0xe7/0x220
> déc. 31 02:11:37 debian kernel:  ____fput+0xe/0x10
> déc. 31 02:11:37 debian kernel:  task_work_run+0x97/0xc0
> déc. 31 02:11:37 debian kernel:  do_exit+0x2e6/0xb40
> déc. 31 02:11:37 debian kernel:  ? SyS_read+0x55/0xc0
> déc. 31 02:11:37 debian kernel:  rewind_stack_do_exit+0x17/0x20
> déc. 31 02:11:37 debian kernel: RIP: 0033:0x7f5d1871175d
> déc. 31 02:11:37 debian kernel: RSP: 002b:00007ffea35b1b70 EFLAGS: 00000293 ORIG_RAX: 0000000000000000
> déc. 31 02:11:37 debian kernel: RAX: ffffffffffffffda RBX: 000055c69a002910 RCX: 00007f5d1871175d
> déc. 31 02:11:37 debian kernel: RDX: 0000000000001000 RSI: 000055c699feb290 RDI: 0000000000000018
> déc. 31 02:11:37 debian kernel: RBP: 00007f5d189cd440 R08: 00007f5d189d1178 R09: 0000000000001010
> déc. 31 02:11:37 debian kernel: R10: 0000000000000020 R11: 0000000000000293 R12: 0000000000000000
> déc. 31 02:11:37 debian kernel: R13: 0000000000000000 R14: 0000000000000018 R15: 000055c69a06fff0
> déc. 31 02:11:37 debian kernel: Code: b0 00 00 00 00 75 e7 5b 5d c3 66 90 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 55 48 89 e5 53 48 8b 8
> déc. 31 02:11:37 debian kernel: RIP: pids_free+0x15/0x40 RSP: ffffad71018cfd48
> déc. 31 02:11:37 debian kernel: CR2: 00000000000000b0
> déc. 31 02:11:37 debian kernel: ---[ end trace b6c75a92425e9883 ]---
> déc. 31 02:11:38 debian kernel: Fixing recursive fault but reboot is needed!
> 
> 
> -- Package-specific info:
> 
> -- System Information:
> Debian Release: buster/sid
>   APT prefers unstable
>   APT policy: (900, 'unstable')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 4.14.0-2-amd64 (SMP w/4 CPU cores)

I assume this is a bug in the kernel which is merely triggered by a
systemd reload, thus reassigning to the kernel.

If it turns out to be an actual bug in systemd, please reassign back
with more information.

Regards,
Michael



-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20180102/295711d3/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list