[LU-13158] crash in sanity-sec test_28: NULL pointer dereference Created: 20/Jan/20  Updated: 20/Jan/20

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Maloo Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

This issue was created by maloo for S Buisson <sbuisson@ddn.com>

This issue relates to the following test suite run: https://testing.whamcloud.com/test_sets/e526c5fa-397c-11ea-b1e8-52540065bddc

test_28 failed with the following error:

trevis-37vm1 crashed during sanity-sec test_28

VVVVVVV DO NOT REMOVE LINES BELOW, Added by Maloo for auto-association VVVVVVV
sanity-sec test_28 - trevis-37vm1 crashed during sanity-sec test_28



 Comments   
Comment by Sebastien Buisson [ 20/Jan/20 ]

Console contains:

[20099.305346] BUG: unable to handle kernel NULL pointer dereference at 0000000000000008
[20099.307672] IP: [<ffffffffc0d889ec>] lustre_msg_set_conn_cnt+0xc/0xa0 [ptlrpc]
[20099.309454] PGD 8000000064e2a067 PUD 6770a067 PMD 0 
[20099.311003] Oops: 0000 [#1] SMP 
[20099.311752] Modules linked in: lustre(OE) obdecho(OE) mgc(OE) lov(OE) mdc(OE) osc(OE) lmv(OE) fid(OE) fld(OE) ptlrpc_gss(OE) ptlrpc(OE) obdclass(OE) ksocklnd(OE) lnet(OE) libcfs(OE) nfsd nfs_acl brd loop rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver nfs lockd grace fscache rpcrdma ib_isert iscsi_target_mod ib_iser libiscsi scsi_transport_iscsi ib_srpt target_core_mod crc_t10dif crct10dif_generic ib_srp scsi_transport_srp scsi_tgt ib_ipoib rdma_ucm ib_ucm ib_uverbs ib_umad rdma_cm ib_cm iw_cm ib_core sunrpc iosf_mbi crc32_pclmul ghash_clmulni_intel ppdev aesni_intel lrw gf128mul glue_helper ablk_helper cryptd virtio_balloon joydev pcspkr i2c_piix4 parport_pc parport ip_tables ext4 mbcache jbd2 ata_generic pata_acpi virtio_blk ata_piix libata 8139too crct10dif_pclmul crct10dif_common crc32c_intel
[20099.329541]  serio_raw virtio_pci 8139cp virtio_ring virtio mii floppy [last unloaded: libcfs]
[20099.331158] CPU: 0 PID: 5858 Comm: bash Kdump: loaded Tainted: G           OE  ------------   3.10.0-957.27.2.el7.x86_64 #1
[20099.333092] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011
[20099.334108] task: ffff93c40883e180 ti: ffff93c467ca4000 task.ti: ffff93c467ca4000
[20099.335676] RIP: 0010:[<ffffffffc0d889ec>]  [<ffffffffc0d889ec>] lustre_msg_set_conn_cnt+0xc/0xa0 [ptlrpc]
[20099.337735] RSP: 0018:ffff93c467ca7630  EFLAGS: 00010246
[20099.338673] RAX: ffff93c465012800 RBX: ffff93c43687fd00 RCX: ffff93c467ca7fd8
[20099.339862] RDX: 0000000000000100 RSI: 0000000000000001 RDI: 0000000000000000
[20099.341058] RBP: ffff93c467ca7640 R08: ffff93c41e66a078 R09: ffff93c460fa5680
[20099.342240] R10: 0000000000000000 R11: ffff93c467ca7386 R12: ffff93c460fa5680
[20099.343424] R13: 0000000000000000 R14: ffff93c460fa5698 R15: ffff93c460fa5778
[20099.344602] FS:  00007f5e50a25740(0000) GS:ffff93c47fc00000(0000) knlGS:0000000000000000
[20099.345950] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[20099.346900] CR2: 0000000000000008 CR3: 0000000036a9c000 CR4: 00000000000606f0
[20099.348100] Call Trace:
[20099.348718]  [<ffffffffc0db53c8>] sptlrpc_req_refresh_ctx+0x3c8/0xa50 [ptlrpc]
[20099.350467]  [<ffffffffc0996359>] ? lprocfs_counter_add+0xf9/0x160 [obdclass]
[20099.351842]  [<ffffffffc0db5bd0>] sptlrpc_import_check_ctx+0x180/0x3b0 [ptlrpc]
[20099.353428]  [<ffffffffc0d4c6e6>] ldlm_lock_match_with_skip+0x216/0x7f0 [ptlrpc]
[20099.354990]  [<ffffffff845846d4>] ? vsnprintf+0x234/0x6a0
[20099.356015]  [<ffffffffc0cd95e9>] mdc_lock_match+0xb9/0x180 [mdc]
[20099.357050]  [<ffffffffc0cdcb9b>] mdc_revalidate_lock+0x12b/0x1f0 [mdc]
[20099.358159]  [<ffffffffc0cdcf02>] mdc_intent_lock+0x2a2/0x560 [mdc]
[20099.359321]  [<ffffffffc10184a0>] ? ll_md_need_convert+0x1b0/0x1b0 [lustre]
[20099.360506]  [<ffffffffc0d5aff0>] ? ldlm_expired_completion_wait+0x220/0x220 [ptlrpc]
[20099.361843]  [<ffffffffc0ce0370>] ? mdc_changelog_cdev_finish+0x1f0/0x1f0 [mdc]
[20099.363123]  [<ffffffffc0bd1d4a>] lmv_intent_lock+0x47a/0xaf0 [lmv]
[20099.364162]  [<ffffffff842cb121>] ? in_group_p+0x31/0x40
[20099.365069]  [<ffffffffc1018765>] ? ll_i2suppgid+0x15/0x40 [lustre]
[20099.366300]  [<ffffffffc10187c3>] ? ll_i2gids+0x33/0xb0 [lustre]
[20099.367452]  [<ffffffff8432f572>] ? from_kgid+0x12/0x20
[20099.368638]  [<ffffffffc10184a0>] ? ll_md_need_convert+0x1b0/0x1b0 [lustre]
[20099.369817]  [<ffffffffc0fe616e>] ll_inode_revalidate+0x12e/0x690 [lustre]
[20099.371088]  [<ffffffffc0fe7203>] ll_inode_permission+0x203/0x3f0 [lustre]
[20099.372385]  [<ffffffff8444d857>] ? __follow_mount_rcu+0x37/0x100
[20099.373417]  [<ffffffff8444e451>] __inode_permission+0x71/0xd0
[20099.374412]  [<ffffffff8444e4c8>] inode_permission+0x18/0x50
[20099.375623]  [<ffffffff8445230e>] link_path_walk+0x27e/0x8b0
[20099.377177]  [<ffffffff84452aaa>] path_lookupat+0x7a/0x8b0
[20099.378718]  [<ffffffff8441ccc1>] ? __slab_free+0x81/0x2f0
[20099.380235]  [<ffffffff8441d7a9>] ? kmem_cache_alloc+0x179/0x1f0
[20099.381949]  [<ffffffff8445415f>] ? getname_flags+0x4f/0x1a0
[20099.383568]  [<ffffffff8445330b>] filename_lookup+0x2b/0xc0
[20099.385019]  [<ffffffff844552f7>] user_path_at_empty+0x67/0xc0
[20099.386021]  [<ffffffff843ed3ad>] ? handle_mm_fault+0x39d/0x9b0
[20099.387023]  [<ffffffff8441d112>] ? kmem_cache_free+0x1e2/0x200
[20099.388013]  [<ffffffff84455361>] user_path_at+0x11/0x20
[20099.388924]  [<ffffffff84448223>] vfs_fstatat+0x63/0xc0
[20099.389781]  [<ffffffff844485de>] SYSC_newstat+0x2e/0x60
[20099.390673]  [<ffffffff84976d21>] ? system_call_after_swapgs+0xae/0x146
[20099.391774]  [<ffffffff84976d15>] ? system_call_after_swapgs+0xa2/0x146
[20099.392848]  [<ffffffff84976d21>] ? system_call_after_swapgs+0xae/0x146
[20099.393907]  [<ffffffff84976d15>] ? system_call_after_swapgs+0xa2/0x146
[20099.394988]  [<ffffffff84976d21>] ? system_call_after_swapgs+0xae/0x146
[20099.396060]  [<ffffffff84976d15>] ? system_call_after_swapgs+0xa2/0x146
[20099.397124]  [<ffffffff84976d21>] ? system_call_after_swapgs+0xae/0x146
[20099.398221]  [<ffffffff84976d15>] ? system_call_after_swapgs+0xa2/0x146
[20099.399293]  [<ffffffff84976d21>] ? system_call_after_swapgs+0xae/0x146
[20099.400356]  [<ffffffff84976d15>] ? system_call_after_swapgs+0xa2/0x146
[20099.401456]  [<ffffffff84976d21>] ? system_call_after_swapgs+0xae/0x146
[20099.402982]  [<ffffffff84448a9e>] SyS_newstat+0xe/0x10
[20099.404049]  [<ffffffff84976ddb>] system_call_fastpath+0x22/0x27
[20099.405058]  [<ffffffff84976d21>] ? system_call_after_swapgs+0xae/0x146
[20099.406161] Code: c0 c7 05 ec ed 07 00 00 00 04 00 e8 3f db a8 ff 48 c7 c7 a0 77 e0 c0 e8 33 7f a8 ff 0f 1f 00 66 66 66 66 90 55 48 89 e5 41 54 53 <81> 7f 08 d3 0b d0 0b 48 89 fb 75 1d 41 89 f4 ba 98 00 00 00 31 
[20099.411580] RIP  [<ffffffffc0d889ec>] lustre_msg_set_conn_cnt+0xc/0xa0 [ptlrpc]
[20099.412862]  RSP <ffff93c467ca7630>
[20099.413477] CR2: 0000000000000008
Generated at Sat Feb 10 02:58:53 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.