lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <eccdc57d-d5ea-ddc5-9f07-269e4a6786ae@incorrekt.com>
Date:   Sun, 17 Dec 2017 13:29:16 +0000
From:   Bronek Kozicki <brok@...orrekt.com>
To:     Bronek Kozicki <brok@...orrekt.com>, linux-kernel@...r.kernel.org
Subject: Re: PROBLEM: NULL pointer dereference in kernel 4.14.6

This has happend again, and hopefully the report is not as mangled as
the previous one. I was also trying to start "systemctl status", only
once this time. The kernel build is different because I've just disabled
RCU tracing/debugging options. One more thing, this kernel was built with gcc 7.2.1


B.


2017-12-17T12:50:38,640725+0000 ------------[ cut here ]------------
2017-12-17T12:50:38,640741+0000 WARNING: CPU: 10 PID: 16921 at kernel/fork.c:414 __put_task_struct+0x160/0x230
2017-12-17T12:50:38,640742+0000 Modules linked in: ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter devlink joydev hid_logitech_hidpp mxm_wmi intel_rapl sb_edac x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel ext4 kvm crct10dif_pclmul crc32_pc
lmul crc32c_intel ghash_clmulni_intel pcbc crc16 mbcache aesni_intel jbd2 aes_x86_64 crypto_simd glue_helper cryptd nls_iso8859_1 nls_cp437 vfat fscrypto fat intel_cstate evdev input_leds led_class intel_rapl_perf mac_hid pcspkr igb hid_logitech_dj ptp pps_core i2c_alg
o_bit tpm_tis ioatdma mei_me i2c_i801 tpm_tis_core lpc_ich mei dca shpchp tpm wmi button sch_fq_codel sg ip_tables x_tables usbhid hid zfs(PO) zunicode(PO) zavl(PO) icp(PO) sd_mod serio_raw atkbd libps2 isci ehci_pci ahci xhci_pci libsas libahci mpt3sas xhci_hcd ehci_h
cd raid_class libata
2017-12-17T12:50:38,640812+0000  scsi_transport_sas usbcore scsi_mod usb_common i8042 serio zcommon(PO) znvpair(PO) spl(O) nvme nvme_core bridge stp llc vhost_net tun tap vhost vfio_pci irqbypass vfio_virqfd vfio_iommu_type1 vfio
2017-12-17T12:50:38,640833+0000 CPU: 10 PID: 16921 Comm: systemctl Tainted: P           O    4.14.6-3-ARCH #1
2017-12-17T12:50:38,640835+0000 Hardware name: Supermicro X9DA7/E/X9DA7/E, BIOS 3.0a 07/02/2014
2017-12-17T12:50:38,640837+0000 task: ffff9c4b5475c140 task.stack: ffffb4bf8641c000
2017-12-17T12:50:38,640840+0000 RIP: 0010:__put_task_struct+0x160/0x230
2017-12-17T12:50:38,640841+0000 RSP: 0018:ffffb4bf8641fd50 EFLAGS: 00010246
2017-12-17T12:50:38,640843+0000 RAX: 0000000000000000 RBX: ffff9c4b4f2c33f8 RCX: 0000000000000001
2017-12-17T12:50:38,640845+0000 RDX: ffffb4bf8641fdf8 RSI: ffff9c4b4f2c33f8 RDI: ffff9c4b4f2c33f8
2017-12-17T12:50:38,640846+0000 RBP: ffffffffb21ddda0 R08: 0000000000ffff0a R09: 0000000000000008
2017-12-17T12:50:38,640847+0000 R10: ffffb4bf8641fcf8 R11: 0000000000000000 R12: ffffb4bf8641fdf8
2017-12-17T12:50:38,640849+0000 R13: ffff9c4b4f2c33f8 R14: ffff9c4b4f2c33f8 R15: ffff9c655f98c578
2017-12-17T12:50:38,640851+0000 FS:  00007fb1df5308c0(0000) GS:ffff9c65bfa80000(0000) knlGS:0000000000000000
2017-12-17T12:50:38,640852+0000 CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
2017-12-17T12:50:38,640853+0000 CR2: 000055e957fd6f78 CR3: 00000006042fb001 CR4: 00000000001626e0
2017-12-17T12:50:38,640855+0000 Call Trace:
2017-12-17T12:50:38,640862+0000  ? seq_printf+0x4e/0x70
2017-12-17T12:50:38,640870+0000  css_task_iter_next+0x74/0x90
2017-12-17T12:50:38,640876+0000  kernfs_seq_next+0x58/0x110
2017-12-17T12:50:38,640878+0000  seq_read+0x36c/0x620
2017-12-17T12:50:38,640886+0000  ? __handle_mm_fault+0xb10/0x1630
2017-12-17T12:50:38,640889+0000  __vfs_read+0x54/0x2e0
2017-12-17T12:50:38,640891+0000  vfs_read+0x9d/0x200
2017-12-17T12:50:38,640893+0000  SyS_read+0x52/0xc0
2017-12-17T12:50:38,640899+0000  entry_SYSCALL_64_fastpath+0x1a/0xa5
2017-12-17T12:50:38,640902+0000 RIP: 0033:0x7fb1dee49a11
2017-12-17T12:50:38,640903+0000 RSP: 002b:00007ffcf8aa5268 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
2017-12-17T12:50:38,640905+0000 RAX: ffffffffffffffda RBX: 00007fb1df114aa0 RCX: 00007fb1dee49a11
2017-12-17T12:50:38,640907+0000 RDX: 0000000000001000 RSI: 000055e957fd5f70 RDI: 0000000000000008
2017-12-17T12:50:38,640908+0000 RBP: 00007fb1df114b00 R08: 0000000000000003 R09: ffffffffffffffb0
2017-12-17T12:50:38,640909+0000 R10: 0000000000001000 R11: 0000000000000246 R12: 0000000000001010
2017-12-17T12:50:38,640910+0000 R13: 00007fb1df114b00 R14: 0000000000001000 R15: 0000000000000001
2017-12-17T12:50:38,640912+0000 Code: 44 24 10 65 48 33 04 25 28 00 00 00 0f 85 85 00 00 00 48 83 c4 18 48 89 df 5b 5d 41 5c 41 5d e9 27 fe ff ff 0f ff e9 ee fe ff ff <0f> ff e9 d2 fe ff ff 0f ff e9 f2 fe ff ff 4d 8d ac 24 d0 03 00
2017-12-17T12:50:38,640950+0000 ---[ end trace bc939269a984f4e0 ]---
2017-12-17T12:50:38,640953+0000 ================================================================================
2017-12-17T12:50:38,649395+0000 UBSAN: Undefined behaviour in kernel/cgroup/pids.c:67:9
2017-12-17T12:50:38,655693+0000 member access within null pointer of type 'struct pids_cgroup'
2017-12-17T12:50:38,662630+0000 CPU: 10 PID: 16921 Comm: systemctl Tainted: P        W  O    4.14.6-3-ARCH #1
2017-12-17T12:50:38,662631+0000 Hardware name: Supermicro X9DA7/E/X9DA7/E, BIOS 3.0a 07/02/2014
2017-12-17T12:50:38,662632+0000 Call Trace:
2017-12-17T12:50:38,662638+0000  dump_stack+0x70/0xae
2017-12-17T12:50:38,662645+0000  ubsan_epilogue+0x9/0x40
2017-12-17T12:50:38,662648+0000  __ubsan_handle_type_mismatch+0x104/0x180
2017-12-17T12:50:38,662653+0000  pids_free+0x99/0xb0
2017-12-17T12:50:38,662657+0000  cgroup_free+0xaa/0x190
2017-12-17T12:50:38,662661+0000  __put_task_struct+0x68/0x230
2017-12-17T12:50:38,662664+0000  ? seq_printf+0x4e/0x70
2017-12-17T12:50:38,662668+0000  css_task_iter_next+0x74/0x90
2017-12-17T12:50:38,662671+0000  kernfs_seq_next+0x58/0x110
2017-12-17T12:50:38,662674+0000  seq_read+0x36c/0x620
2017-12-17T12:50:38,662678+0000  ? __handle_mm_fault+0xb10/0x1630
2017-12-17T12:50:38,662680+0000  __vfs_read+0x54/0x2e0
2017-12-17T12:50:38,662683+0000  vfs_read+0x9d/0x200
2017-12-17T12:50:38,662685+0000  SyS_read+0x52/0xc0
2017-12-17T12:50:38,662688+0000  entry_SYSCALL_64_fastpath+0x1a/0xa5
2017-12-17T12:50:38,662691+0000 RIP: 0033:0x7fb1dee49a11
2017-12-17T12:50:38,662692+0000 RSP: 002b:00007ffcf8aa5268 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
2017-12-17T12:50:38,662695+0000 RAX: ffffffffffffffda RBX: 00007fb1df114aa0 RCX: 00007fb1dee49a11
2017-12-17T12:50:38,662696+0000 RDX: 0000000000001000 RSI: 000055e957fd5f70 RDI: 0000000000000008
2017-12-17T12:50:38,662698+0000 RBP: 00007fb1df114b00 R08: 0000000000000003 R09: ffffffffffffffb0
2017-12-17T12:50:38,662699+0000 R10: 0000000000001000 R11: 0000000000000246 R12: 0000000000001010
2017-12-17T12:50:38,662700+0000 R13: 00007fb1df114b00 R14: 0000000000001000 R15: 0000000000000001
2017-12-17T12:50:38,662703+0000 ================================================================================
2017-12-17T12:50:38,671300+0000 BUG: unable to handle kernel NULL pointer dereference at 00000000000000b0
2017-12-17T12:50:38,679128+0000 IP: pids_free+0x28/0xb0
2017-12-17T12:50:38,682627+0000 PGD 0 P4D 0
2017-12-17T12:50:38,685166+0000 Oops: 0000 [#1] SMP
2017-12-17T12:50:38,688305+0000 Modules linked in: ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter devlink joydev hid_logitech_hidpp mxm_wmi intel_rapl sb_edac x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel ext4 kvm crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel pcbc crc16 mbcache aesni_intel jbd2 aes_x86_64 crypto_simd glue_helper cryptd nls_iso8859_1 nls_cp437 vfat fscrypto fat intel_cstate evdev input_leds led_class intel_rapl_perf mac_hid pcspkr igb hid_logitech_dj ptp pps_core i2c_algo_bit tpm_tis ioatdma mei_me i2c_i801 tpm_tis_core lpc_ich mei dca shpchp tpm wmi button sch_fq_codel sg ip_tables x_tables usbhid hid zfs(PO) zunicode(PO) zavl(PO) icp(PO) sd_mod serio_raw atkbd libps2 isci ehci_pci ahci xhci_pci libsas libahci mpt3sas xhci_hcd ehci_hcd raid_class libata
2017-12-17T12:50:38,758799+0000  scsi_transport_sas usbcore scsi_mod usb_common i8042 serio zcommon(PO) znvpair(PO) spl(O) nvme nvme_core bridge stp llc vhost_net tun tap vhost vfio_pci irqbypass vfio_virqfd vfio_iommu_type1 vfio
2017-12-17T12:50:38,777383+0000 CPU: 10 PID: 16921 Comm: systemctl Tainted: P        W  O    4.14.6-3-ARCH #1
2017-12-17T12:50:38,785554+0000 Hardware name: Supermicro X9DA7/E/X9DA7/E, BIOS 3.0a 07/02/2014
2017-12-17T12:50:38,792504+0000 task: ffff9c4b5475c140 task.stack: ffffb4bf8641c000
2017-12-17T12:50:38,798418+0000 RIP: 0010:pids_free+0x28/0xb0
2017-12-17T12:50:38,802426+0000 RSP: 0018:ffffb4bf8641fce8 EFLAGS: 00010282
2017-12-17T12:50:38,807644+0000 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000006
2017-12-17T12:50:38,814767+0000 RDX: 0000000000000000 RSI: 0000000000000202 RDI: 0000000000000202
2017-12-17T12:50:38,821893+0000 RBP: ffff9c4b4f2c33f8 R08: 0000000000000790 R09: 0000000000000000
2017-12-17T12:50:38,829015+0000 R10: 00000000001f586a R11: 00000000000a1caf R12: 000000004de21a48
2017-12-17T12:50:38,836141+0000 R13: ffffffffb21de5c0 R14: ffff9c4b53afc980 R15: ffffffffb21cd0a0
2017-12-17T12:50:38,843273+0000 FS:  00007fb1df5308c0(0000) GS:ffff9c65bfa80000(0000) knlGS:0000000000000000
2017-12-17T12:50:38,851349+0000 CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
2017-12-17T12:50:38,857088+0000 CR2: 00000000000000b0 CR3: 00000006042fb001 CR4: 00000000001626e0
2017-12-17T12:50:38,864211+0000 Call Trace:
2017-12-17T12:50:38,866661+0000  cgroup_free+0xaa/0x190
2017-12-17T12:50:38,870154+0000  __put_task_struct+0x68/0x230
2017-12-17T12:50:38,874164+0000  ? seq_printf+0x4e/0x70
2017-12-17T12:50:38,877654+0000  css_task_iter_next+0x74/0x90
2017-12-17T12:50:38,881670+0000  kernfs_seq_next+0x58/0x110
2017-12-17T12:50:38,885507+0000  seq_read+0x36c/0x620
2017-12-17T12:50:38,888831+0000  ? __handle_mm_fault+0xb10/0x1630
2017-12-17T12:50:38,893187+0000  __vfs_read+0x54/0x2e0
2017-12-17T12:50:38,896589+0000  vfs_read+0x9d/0x200
2017-12-17T12:50:38,899814+0000  SyS_read+0x52/0xc0
2017-12-17T12:50:38,902955+0000  entry_SYSCALL_64_fastpath+0x1a/0xa5
2017-12-17T12:50:38,907573+0000 RIP: 0033:0x7fb1dee49a11
2017-12-17T12:50:38,911150+0000 RSP: 002b:00007ffcf8aa5268 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
2017-12-17T12:50:38,918707+0000 RAX: ffffffffffffffda RBX: 00007fb1df114aa0 RCX: 00007fb1dee49a11
2017-12-17T12:50:38,925839+0000 RDX: 0000000000001000 RSI: 000055e957fd5f70 RDI: 0000000000000008
2017-12-17T12:50:38,932963+0000 RBP: 00007fb1df114b00 R08: 0000000000000003 R09: ffffffffffffffb0
2017-12-17T12:50:38,940088+0000 R10: 0000000000001000 R11: 0000000000000246 R12: 0000000000001010
2017-12-17T12:50:38,947211+0000 R13: 00007fb1df114b00 R14: 0000000000001000 R15: 0000000000000001
2017-12-17T12:50:38,954336+0000 Code: 44 00 00 0f 1f 44 00 00 48 81 ff c8 f7 ff ff 55 53 48 89 fb 74 4c 48 8b 9b 38 08 00 00 48 85 db 74 7c 48 8b 5b 50 48 85 db 74 63 <48> 83 bb b0 00 00 00 00 74 2a 48 c7 c5 60 2e 1e b2 48 89 df e8
2017-12-17T12:50:38,973186+0000 RIP: pids_free+0x28/0xb0 RSP: ffffb4bf8641fce8
2017-12-17T12:50:38,978663+0000 CR2: 00000000000000b0
2017-12-17T12:50:38,981994+0000 ---[ end trace bc939269a984f4e1 ]---



Download attachment "config-4.14.6-3.gz" of type "application/x-gzip" (48220 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ