Comment 0 for bug 1973678

Revision history for this message
Matthew Hoberg (hobermat) wrote : CIFS creash mounting DFS share in 22.04

I am trying to mount a DFS share in 22.04 and receive a kernel issue with cifs when trying to browse. The DFS share is a combination of 2 shared folders on server into one single share.

lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04 LTS"

mount -v -t cifs -o rw,credentials=/etc/creds.conf,iocharset=utf8,file_mode=0777,dir_mode=0777 //server/dfsroot /shares/dfs-share

The mount command doesn't show error, but show "Killed" when trying to list directory.

In dmesg I see the following error.
[ 277.443961] BUG: kernel NULL pointer dereference, address: 0000000000000000
[ 277.446091] #PF: supervisor instruction fetch in kernel mode
[ 277.447677] #PF: error_code(0x0010) - not-present page
[ 277.449108] PGD 0 P4D 0
[ 277.449613] Oops: 0010 [#1] SMP PTI
[ 277.450456] CPU: 0 PID: 741 Comm: ls Not tainted 5.15.0-1005-kvm #5-Ubuntu
[ 277.452491] Hardware name: Nutanix AHV, BIOS 0.0.0 02/06/2015
[ 277.454110] RIP: 0010:0x0000000000000000
[ 277.455096] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
[ 277.457115] RSP: 0018:ffffb443007c3b50 EFLAGS: 00010293
[ 277.458566] RAX: 0000000000000000 RBX: ffffb443007c3cf4 RCX: 0000000000000001
[ 277.460693] RDX: 0000000000000000 RSI: 0000000000220004 RDI: ffffb443007c3bc0
[ 277.463268] RBP: ffffb443007c3b98 R08: 0000000000000004 R09: ffffb443007c3a38
[ 277.466096] R10: 000000005fbea222 R11: 00000000bbd3941c R12: 0000000000000004
[ 277.468906] R13: 0000000000000000 R14: ffffb443007c3bc0 R15: 0000000000000000
[ 277.471698] FS: 00007fa2a8ad6800(0000) GS:ffff953afaa00000(0000) knlGS:0000000000000000
[ 277.474735] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 277.476383] CR2: ffffffffffffffd6 CR3: 000000000b370006 CR4: 00000000000206b0
[ 277.478882] Call Trace:
[ 277.479496] <TASK>
[ 277.479955] 0xffffffffab8cc4a5
[ 277.480883] ? 0xffffffffab8ceae7
[ 277.481883] 0xffffffffab8ce02d
[ 277.482803] ? 0xffffffffab8ce23f
[ 277.483805] 0xffffffffab8ce6eb
[ 277.484724] ? 0xffffffffab8ceae7
[ 277.485716] 0xffffffffab8cf839
[ 277.486628] 0xffffffffab8d32ba
[ 277.487546] ? 0xffffffffab8b986b
[ 277.488549] ? 0xffffffffabb1f8c4
[ 277.489556] ? 0xffffffffab8d2b27
[ 277.490571] 0xffffffffab8d34ca
[ 277.491493] 0xffffffffab8c67b5
[ 277.492424] ? 0xffffffffab827f1d
[ 277.493423] 0xffffffffab8c7170
[ 277.494341] ? 0xffffffffab8280e8
[ 277.495343] ? 0xffffffffab749e59
[ 277.496338] ? 0xffffffffab749f29
[ 277.497331] ? 0xffffffffabec05e1
[ 277.498312] 0xffffffffab8c71ca
[ 277.499043] 0xffffffffabebdea4
[ 277.499743] ? 0xffffffffabec0699
[ 277.500517] ? 0xffffffffabec01b3
[ 277.501293] ? 0xffffffffac000a65
[ 277.502069] 0xffffffffac00007c
[ 277.502775] RIP: 0033:0x00007fa2a8c841ee
[ 277.503767] Code: ff 64 c7 00 16 00 00 00 e9 8e fd ff ff e8 4a 25 02 00 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 41 89 ca b8 4c 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 2a 41 89 c1 85 c0 74 0f 48 8b 05 0c 4c 10 00
[ 277.510054] RSP: 002b:00007ffd9922c858 EFLAGS: 00000246 ORIG_RAX: 000000000000014c
[ 277.512340] RAX: ffffffffffffffda RBX: 00005629a7abc108 RCX: 00007fa2a8c841ee
[ 277.514486] RDX: 0000000000000100 RSI: 00007ffd9922c990 RDI: 00000000ffffff9c
[ 277.516608] RBP: 0000000000000002 R08: 00007ffd9922c860 R09: 0000000000000005
[ 277.518721] R10: 0000000000000002 R11: 0000000000000246 R12: 00007fa2a868a083
[ 277.520856] R13: 00007ffd9922c990 R14: 0000000000000003 R15: 0000000000000000
[ 277.522986] </TASK>
[ 277.523363] Modules linked in: cmac nls_utf8 cifs cifs_arc4 cifs_md4 dns_resolver sunrpc nls_iso8859_1 nls_cp437 vfat fat loop pata_acpi dm_multipath dm_mod fuse configfs efivarfs ip_tables x_tables
[ 277.529854] CR2: 0000000000000000
[ 277.530627] ---[ end trace bd7cbad450f78cc5 ]---
[ 277.531864] RIP: 0010:0x0000000000000000
[ 277.532866] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
[ 277.534884] RSP: 0018:ffffb443007c3b50 EFLAGS: 00010293
[ 277.536319] RAX: 0000000000000000 RBX: ffffb443007c3cf4 RCX: 0000000000000001
[ 277.538436] RDX: 0000000000000000 RSI: 0000000000220004 RDI: ffffb443007c3bc0
[ 277.540536] RBP: ffffb443007c3b98 R08: 0000000000000004 R09: ffffb443007c3a38
[ 277.542647] R10: 000000005fbea222 R11: 00000000bbd3941c R12: 0000000000000004
[ 277.544746] R13: 0000000000000000 R14: ffffb443007c3bc0 R15: 0000000000000000
[ 277.546861] FS: 00007fa2a8ad6800(0000) GS:ffff953afaa00000(0000) knlGS:0000000000000000
[ 277.549309] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 277.550934] CR2: ffffffffffffffd6 CR3: 000000000b370006 CR4: 00000000000206b0
[ 281.886307] BUG: kernel NULL pointer dereference, address: 0000000000000000
[ 281.888856] #PF: supervisor instruction fetch in kernel mode
[ 281.890757] #PF: error_code(0x0010) - not-present page
[ 281.892412] PGD 0 P4D 0
[ 281.893007] Oops: 0010 [#2] SMP PTI
[ 281.893984] CPU: 0 PID: 746 Comm: ls Tainted: G D 5.15.0-1005-kvm #5-Ubuntu
[ 281.896918] Hardware name: Nutanix AHV, BIOS 0.0.0 02/06/2015
[ 281.898825] RIP: 0010:0x0000000000000000
[ 281.899990] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
[ 281.902350] RSP: 0018:ffffb44300d87ab0 EFLAGS: 00010293
[ 281.904093] RAX: 0000000000000000 RBX: ffffb44300d87c54 RCX: 0000000000000001
[ 281.906556] RDX: 0000000000000000 RSI: 0000000000220004 RDI: ffffb44300d87b20
[ 281.909042] RBP: ffffb44300d87af8 R08: 0000000000000004 R09: 0000000000000064
[ 281.911515] R10: ffff953acd6b4cf8 R11: 0000000000000001 R12: 0000000000000004
[ 281.914350] R13: 0000000000000000 R14: ffffb44300d87b20 R15: 0000000000000000
[ 281.916856] FS: 00007f6652df4800(0000) GS:ffff953afaa00000(0000) knlGS:0000000000000000
[ 281.919756] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 281.921647] CR2: ffffffffffffffd6 CR3: 000000001122a006 CR4: 00000000000206b0
[ 281.924157] Call Trace:
[ 281.924702] <TASK>
[ 281.925106] 0xffffffffab8cc4a5
[ 281.925936] 0xffffffffab8ce02d
[ 281.926831] ? 0xffffffffab8ce2e4
[ 281.927735] 0xffffffffab8ce6eb
[ 281.928565] 0xffffffffab8cf839
[ 281.929398] 0xffffffffab8d32ba
[ 281.930241] ? 0xffffffffab8b986b
[ 281.931163] ? 0xffffffffabb1f8c4
[ 281.932065] ? 0xffffffffab8d2b27
[ 281.932976] 0xffffffffab8d34ca
[ 281.933808] 0xffffffffab8c67b5
[ 281.934624] 0xffffffffab8c7170
[ 281.935477] ? 0xffffffffc04d6049
[ 281.936381] ? 0xffffffffc04cd9e3
[ 281.937284] ? 0xffffffffc04d6051
[ 281.938178] ? 0xffffffffab827ca6
[ 281.939108] 0xffffffffab8c71ca
[ 281.939946] 0xffffffffabebdea4
[ 281.940774] ? 0xffffffffab8280e8
[ 281.941661] ? 0xffffffffab749e59
[ 281.942588] ? 0xffffffffab749f29
[ 281.943488] ? 0xffffffffabec05e1
[ 281.944386] ? 0xffffffffabebdeb1
[ 281.945281] 0xffffffffac00007c
[ 281.946107] RIP: 0033:0x00007f6652fa21ee
[ 281.947254] Code: ff 64 c7 00 16 00 00 00 e9 8e fd ff ff e8 4a 25 02 00 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 41 89 ca b8 4c 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 2a 41 89 c1 85 c0 74 0f 48 8b 05 0c 4c 10 00
[ 281.954528] RSP: 002b:00007ffc37b0f6c8 EFLAGS: 00000246 ORIG_RAX: 000000000000014c
[ 281.957173] RAX: ffffffffffffffda RBX: 00005567df50c5a8 RCX: 00007f6652fa21ee
[ 281.959654] RDX: 0000000000000100 RSI: 00007ffc37b0f800 RDI: 00000000ffffff9c
[ 281.962130] RBP: 000000000000025e R08: 00007ffc37b0f6d0 R09: 0000000000000005
[ 281.964599] R10: 000000000000025e R11: 0000000000000246 R12: 00007f66529a8083
[ 281.967076] R13: 00007ffc37b0f800 R14: 0000000000000003 R15: 0000000000000000
[ 281.969569] </TASK>
[ 281.970010] Modules linked in: cmac nls_utf8 cifs cifs_arc4 cifs_md4 dns_resolver sunrpc nls_iso8859_1 nls_cp437 vfat fat loop pata_acpi dm_multipath dm_mod fuse configfs efivarfs ip_tables x_tables
[ 281.976827] CR2: 0000000000000000
[ 281.977716] ---[ end trace bd7cbad450f78cc6 ]---
[ 281.979186] RIP: 0010:0x0000000000000000
[ 281.980352] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
[ 281.982716] RSP: 0018:ffffb443007c3b50 EFLAGS: 00010293
[ 281.984414] RAX: 0000000000000000 RBX: ffffb443007c3cf4 RCX: 0000000000000001
[ 281.986893] RDX: 0000000000000000 RSI: 0000000000220004 RDI: ffffb443007c3bc0
[ 281.989367] RBP: ffffb443007c3b98 R08: 0000000000000004 R09: ffffb443007c3a38
[ 281.991849] R10: 000000005fbea222 R11: 00000000bbd3941c R12: 0000000000000004
[ 281.994319] R13: 0000000000000000 R14: ffffb443007c3bc0 R15: 0000000000000000
[ 281.996789] FS: 00007f6652df4800(0000) GS:ffff953afaa00000(0000) knlGS:0000000000000000
[ 281.999670] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 282.001572] CR2: ffffffffffffffd6 CR3: 000000001122a006 CR4: 00000000000206b0