setsockopt09 in ubuntu_ltp_syscalls hang with T-3.13 (BUG: unable to handle kernel NULL pointer dereference)

Bug #2033018 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned

Bug Description

Issue found with T-3.13.0-193

This failure should not be considered as a regression, as we didn't run ubuntu_ltp_syscalls on this kernel until we have openstack support added recently.

Aug 25 06:15:26 10 kernel: [ 4925.414618] LTP: starting setsockopt09
Aug 25 06:15:26 10 kernel: [ 4925.480100] BUG: unable to handle kernel NULL pointer dereference at 000000000000000c
Aug 25 06:15:26 10 kernel: [ 4925.480933] IP: [<ffffffff81716896>] prb_retire_rx_blk_timer_expired+0x46/0x140
Aug 25 06:15:26 10 kernel: [ 4925.481582] PGD 135862067 PUD 1346fa067 PMD 0
Aug 25 06:15:26 10 kernel: [ 4925.482007] Oops: 0000 [#1] SMP
Aug 25 06:15:26 10 kernel: [ 4925.482328] Modules linked in: nfsd auth_rpcgss nfs_acl nfs lockd sunrpc fscache dm_crypt kvm_amd kvm serio_raw i2c_piix4 virtio_rng mac_hid crct10dif_pclmul crc32_pclmul qxl ghash_clmulni_intel ttm drm_kms_helper aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd psmouse floppy drm pata_acpi
Aug 25 06:15:26 10 kernel: [ 4925.484047] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 3.13.0-193-generic #244-Ubuntu
Aug 25 06:15:26 10 kernel: [ 4925.484047] Hardware name: OpenStack Foundation OpenStack Nova, BIOS 1.13.0-1ubuntu1.1 04/01/2014
Aug 25 06:15:26 10 kernel: [ 4925.484047] task: ffff880139b5e000 ti: ffff880139b88000 task.ti: ffff880139b88000
Aug 25 06:15:26 10 kernel: [ 4925.484047] RIP: 0010:[<ffffffff81716896>] [<ffffffff81716896>] prb_retire_rx_blk_timer_expired+0x46/0x140
Aug 25 06:15:26 10 kernel: [ 4925.484047] RSP: 0018:ffff88013fd03e58 EFLAGS: 00010246
Aug 25 06:15:26 10 kernel: [ 4925.484047] RAX: 0000000000000000 RBX: ffff8800ba2bb800 RCX: 0000000000000000
Aug 25 06:15:26 10 kernel: [ 4925.484047] RDX: ffff8800ba2bd800 RSI: 0000000000000000 RDI: ffff8800ba2bb8a4
Aug 25 06:15:26 10 kernel: [ 4925.484047] RBP: ffff88013fd03e70 R08: 0000000000000000 R09: ffff880139bb4000
Aug 25 06:15:26 10 kernel: [ 4925.484047] R10: 0000000000000002 R11: 0000000000000005 R12: ffff8800ba2bb8a4
Aug 25 06:15:26 10 kernel: [ 4925.484047] R13: 0000000000000100 R14: ffffffff81716850 R15: ffff8800ba2bb800
Aug 25 06:15:26 10 kernel: [ 4925.484047] FS: 0000000000000000(0000) GS:ffff88013fd00000(0000) knlGS:0000000000000000
Aug 25 06:15:26 10 kernel: [ 4925.484047] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Aug 25 06:15:26 10 kernel: [ 4925.484047] CR2: 000000000000000c CR3: 0000000134008000 CR4: 00000000003406f0
Aug 25 06:15:26 10 kernel: [ 4925.484047] Stack:
Aug 25 06:15:26 10 kernel: [ 4925.484047] ffff880139bb4000 ffff8800ba2bbb50 0000000000000100 ffff88013fd03ea8
Aug 25 06:15:26 10 kernel: [ 4925.484047] ffffffff8107ab38 ffff880139bb4000 ffff8800ba2bbb50 ffffffff81716850
Aug 25 06:15:26 10 kernel: [ 4925.484047] 0000000000000000 0000000000000000 ffff88013fd03f10 ffffffff8107c56f
Aug 25 06:15:26 10 kernel: [ 4925.484047] Call Trace:
Aug 25 06:15:26 10 kernel: [ 4925.484047] <IRQ>
Aug 25 06:15:26 10 kernel: [ 4925.484047] [<ffffffff8107ab38>] call_timer_fn+0x38/0x150
Aug 25 06:15:26 10 kernel: [ 4925.484047] [<ffffffff81716850>] ? prb_open_block+0xd0/0xd0
Aug 25 06:15:26 10 kernel: [ 4925.484047] [<ffffffff8107c56f>] run_timer_softirq+0x21f/0x310
Aug 25 06:15:26 10 kernel: [ 4925.484047] [<ffffffff810735d1>] __do_softirq+0x101/0x310
Aug 25 06:15:26 10 kernel: [ 4925.484047] [<ffffffff81073b75>] irq_exit+0x105/0x110
Aug 25 06:15:26 10 kernel: [ 4925.484047] [<ffffffff81752243>] smp_apic_timer_interrupt+0x53/0x70
Aug 25 06:15:26 10 kernel: [ 4925.484047] [<ffffffff8174ecee>] apic_timer_interrupt+0x19e/0x1b0
Aug 25 06:15:26 10 kernel: [ 4925.484047] <EOI>
Aug 25 06:15:26 10 kernel: [ 4925.484047] [<ffffffff81053957>] ? native_safe_halt+0x17/0x20
Aug 25 06:15:26 10 kernel: [ 4925.484047] [<ffffffff8101e18f>] default_idle+0x1f/0x100
Aug 25 06:15:26 10 kernel: [ 4925.484047] [<ffffffff8101eefc>] arch_cpu_idle+0x2c/0x40
Aug 25 06:15:26 10 kernel: [ 4925.484047] [<ffffffff810c6ca1>] cpu_startup_entry+0xc1/0x2c0
Aug 25 06:15:26 10 kernel: [ 4925.484047] [<ffffffff81044a5e>] start_secondary+0x24e/0x300
Aug 25 06:15:26 10 kernel: [ 4925.484047] Code: e8 50 e0 02 00 0f b7 83 fa 02 00 00 80 bb f9 02 00 00 00 48 8b 93 e8 02 00 00 44 0f b6 83 f8 02 00 00 0f b7 c8 48 8b 34 ca 75 5e <8b> 56 0c 85 d2 74 26 8b 93 40 03 00 00 85 d2 74 1c 66 0f 1f 84
Aug 25 06:15:26 10 kernel: [ 4925.484047] RIP [<ffffffff81716896>] prb_retire_rx_blk_timer_expired+0x46/0x140
Aug 25 06:15:26 10 kernel: [ 4925.484047] RSP <ffff88013fd03e58>
Aug 25 06:15:26 10 kernel: [ 4925.484047] CR2: 000000000000000c
Aug 25 06:15:26 10 kernel: [ 4925.484047] ---[ end trace 20d2d07ae77a1eae ]---
Aug 25 06:15:26 10 kernel: [ 4925.484047] Kernel panic - not syncing: Fatal exception in interrupt
Aug 25 06:15:26 10 kernel: [ 4925.484047] Kernel Offset: 0x0 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffff9fffffff)
Aug 25 06:15:26 10 kernel: [ 4925.484047] drm_kms_helper: panic occurred, switching back to text console
Aug 25 06:15:26 10 kernel: [ 4925.508909] ------------[ cut here ]------------
Aug 25 06:15:26 10 kernel: [ 4925.509366] WARNING: CPU: 1 PID: 0 at /build/linux-FXRdV3/linux-3.13.0/arch/x86/kernel/smp.c:124 native_smp_send_reschedule+0x63/0x70()
Aug 25 06:15:26 10 kernel: [ 4925.510393] Modules linked in: nfsd auth_rpcgss nfs_acl nfs lockd sunrpc fscache dm_crypt kvm_amd kvm serio_raw i2c_piix4 virtio_rng mac_hid crct10dif_pclmul crc32_pclmul qxl ghash_clmulni_intel ttm drm_kms_helper aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd psmouse floppy drm pata_acpi
Aug 25 06:15:26 10 kernel: [ 4925.512902] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G D 3.13.0-193-generic #244-Ubuntu
Aug 25 06:15:26 10 kernel: [ 4925.512902] Hardware name: OpenStack Foundation OpenStack Nova, BIOS 1.13.0-1ubuntu1.1 04/01/2014
Aug 25 06:15:26 10 kernel: [ 4925.512902] 0000000000000000 ffff88013fd03468 ffffffff8173c864 0000000000000000
Aug 25 06:15:26 10 kernel: [ 4925.512902] 0000000000000009 ffff88013fd034a0 ffffffff8106db9d 0000000000000000
Aug 25 06:15:26 10 kernel: [ 4925.512902] ffff88013fd13b80 000000010011a519 0000000000000001 ffff88013fc13b80
Aug 25 06:15:26 10 kernel: [ 4925.512902] Call Trace:
Aug 25 06:15:26 10 kernel: [ 4925.512902] <IRQ> [<ffffffff8173c864>] dump_stack+0x64/0x80
Aug 25 06:15:26 10 kernel: [ 4925.512902] [<ffffffff8106db9d>] warn_slowpath_common+0x7d/0xa0
Aug 25 06:15:26 10 kernel: [ 4925.512902] [<ffffffff8106dc7a>] warn_slowpath_null+0x1a/0x20
Aug 25 06:15:26 10 kernel: [ 4925.512902] [<ffffffff81043973>] native_smp_send_reschedule+0x63/0x70
Aug 25 06:15:26 10 kernel: [ 4925.512902] [<ffffffff810afc38>] trigger_load_balance+0x178/0x1e0
Aug 25 06:15:26 10 kernel: [ 4925.512902] [<ffffffff810a0d6a>] scheduler_tick+0xaa/0xf0
Aug 25 06:15:26 10 kernel: [ 4925.512902] [<ffffffff8107d3b0>] update_process_times+0x60/0x70
Aug 25 06:15:26 10 kernel: [ 4925.512902] [<ffffffff810de435>] tick_sched_handle.isra.17+0x25/0x60
Aug 25 06:15:26 10 kernel: [ 4925.512902] [<ffffffff810de4b1>] tick_sched_timer+0x41/0x60
Aug 25 06:15:26 10 kernel: [ 4925.512902] [<ffffffff81095d5a>] __run_hrtimer+0x7a/0x230

I think we should fail this directly to keep tests going.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.