public inbox for linux-cifs@vger.kernel.org
 help / color / mirror / Atom feed
* generic/013 failure to Samba
@ 2025-12-23  0:19 Steve French
  2025-12-24 15:02 ` Henrique Carvalho
  0 siblings, 1 reply; 11+ messages in thread
From: Steve French @ 2025-12-23  0:19 UTC (permalink / raw)
  To: ChenXiaoSong, David Howells, CIFS; +Cc: Meetakshi Setiya

Do you see this dmesg when running generic/013 to Samba (with 6.19-rc2)?

21943.198920] UBSAN: array-index-out-of-bounds in
fs/smb/client/smb2ops.c:1912:27
[21943.198930] index 1 is out of range for type 'srv_copychunk [*]'
[21943.198938] CPU: 6 UID: 0 PID: 13663 Comm: fsstress Kdump: loaded
Not tainted 6.19.
0-rc2+ #16 PREEMPT(voluntary)
[21943.198944] Hardware name: LENOVO 21KAS0JB00/21KAS0JB00, BIOS
R2FET63W (1.43 ) 03/2
0/2025
[21943.198947] Call Trace:
[21943.198951]  <TASK>
[21943.198960]  dump_stack_lvl+0x5f/0x90
[21943.198972]  dump_stack+0x10/0x18
[21943.198976]  ubsan_epilogue+0x9/0x39
[21943.198982]  __ubsan_handle_out_of_bounds.cold+0x50/0x55
[21943.198996]  smb2_copychunk_range+0xa2e/0xc50 [cifs]
[21943.199074]  smb3_fallocate+0xaa3/0xf90 [cifs]
[21943.199116]  ? cap_inode_need_killpriv+0x1e/0x40
[21943.199123]  ? srso_alias_return_thunk+0x5/0xfbef5
[21943.199128]  ? security_inode_need_killpriv+0x4f/0x140
[21943.199135]  ? aa_file_perm+0x68/0x5e0
[21943.199141]  ? srso_alias_return_thunk+0x5/0xfbef5
[21943.199146]  cifs_fallocate+0xfe/0x1a0 [cifs]
[21943.199202]  ? srso_alias_return_thunk+0x5/0xfbef5
[21943.199204]  ? common_file_perm+0x5d/0x1e0
[21943.199209]  vfs_fallocate+0x178/0x3c0
[21943.199218]  __x64_sys_fallocate+0x4a/0xc0
[21943.199221]  ? __do_sys_newfstatat+0x57/0x90
[21943.199227]  x64_sys_call+0x163c/0x2360
[21943.199231]  do_syscall_64+0x82/0x4d0
[21943.199243]  ? srso_alias_return_thunk+0x5/0xfbef5
[21943.199245]  ? __x64_sys_newfstatat+0x1c/0x30
[21943.199248]  ? srso_alias_return_thunk+0x5/0xfbef5
[21943.199250]  ? x64_sys_call+0x1510/0x2360
[21943.199252]  ? srso_alias_return_thunk+0x5/0xfbef5
[21943.199255]  ? do_syscall_64+0xbf/0x4d0
[21943.199259]  ? srso_alias_return_thunk+0x5/0xfbef5
[21943.199262]  ? srso_alias_return_thunk+0x5/0xfbef5
[21943.199264]  ? do_syscall_64+0x271/0x4d0
[21943.199268]  ? srso_alias_return_thunk+0x5/0xfbef5
[21943.199271]  ? __x64_sys_newfstatat+0x1c/0x30
[21943.199273]  ? srso_alias_return_thunk+0x5/0xfbef5
[21943.199276]  ? x64_sys_call+0x1510/0x2360
[21943.199278]  ? srso_alias_return_thunk+0x5/0xfbef5
[21943.199280]  ? do_syscall_64+0xbf/0x4d0
[21943.199284]  ? srso_alias_return_thunk+0x5/0xfbef5
[21943.199287]  ? do_user_addr_fault+0x2ee/0x830
[21943.199293]  ? srso_alias_return_thunk+0x5/0xfbef5
[21943.199295]  ? irqentry_exit+0xa5/0x600
[21943.199300]  ? srso_alias_return_thunk+0x5/0xfbef5
[21943.199303]  ? exc_page_fault+0x90/0x1b0
[21943.199306]  entry_SYSCALL_64_after_hwframe+0x76/0x7e
[21943.199308] RIP: 0033:0x74b2186a0186
[21943.199312] Code: 47 ba 04 00 00 00 48 8b 05 87 3c 19 00 64 89 10
48 c7 c2 ff ff ff
 ff c9 48 89 d0 c3 0f 1f 84 00 00 00 00 00 48 8b 45 10 0f 05 <48> 89
c2 48 3d 00 f0 ff
 ff 77 0f c9 48 89 d0 c3 66 2e 0f 1f 84 00
[21943.199314] RSP: 002b:00007ffd142f3610 EFLAGS: 00000202 ORIG_RAX:
000000000000011d
[21943.199318] RAX: ffffffffffffffda RBX: 00007ffd142f3710 RCX: 000074b2186a0186
[21943.199320] RDX: 000000000095c82c RSI: 0000000000000020 RDI: 0000000000000004
[21943.199322] RBP: 00007ffd142f3620 R08: 0000000000000000 R09: 0000000000000000
[21943.199324] R10: 00000000000011e7 R11: 0000000000000202 R12: 0000000000000004
[21943.199325] R13: 00000000000011e7 R14: 0000000000000054 R15: 0000000000000020
[21943.199331]  </TASK>


-- 
Thanks,

Steve

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2025-12-26 23:46 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-23  0:19 generic/013 failure to Samba Steve French
2025-12-24 15:02 ` Henrique Carvalho
2025-12-26  4:36   ` ChenXiaoSong
2025-12-26  6:44     ` ChenXiaoSong
2025-12-26  7:49       ` ChenXiaoSong
2025-12-26 15:45       ` Henrique Carvalho
2025-12-26 16:01         ` ChenXiaoSong
2025-12-26 18:05           ` Henrique Carvalho
2025-12-26 22:48             ` ChenXiaoSong
     [not found]               ` <CAH2r5mtaGgiWLnMebWeGNoyVKY81xj6DkZY5iTmWkJZ_gvyeLw@mail.gmail.com>
     [not found]                 ` <7919537a-d3b5-45cd-9032-0a5312b28dfb@linux.dev>
2025-12-26 23:46                   ` ChenXiaoSong
2025-12-26 15:33   ` Henrique Carvalho

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox