Steve French
1eecd880a3
Revert "smb: client: make SHA-512 TFM ephemeral"
The original patch causes a crash with signed mounts when using
the SMB2.1 dialect
RIP: 0010:smb2_calc_signature+0x10e/0x460 [cifs]
Code: 46 30 00 00 00 00 49 c7 46 38 00 00 00 00 0f 85 3e 01 00 00 48 8b 83 a8 02 00 00 48 89 85 68 ff ff ff 49 8b b4 24 58 01 00 00 <48> 8b 38 ba 10 00 00 00 e8 55 0f 0c e0 41 89 c7 85 c0 0f 85 44 01
RSP: 0018:ffffb349422fb5c8 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff98028765b800 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffff980200f2b100 RDI: 0000000000000000
RBP: ffffb349422fb680 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff980235e37800
R13: ffffb349422fb900 R14: ffff98027c160700 R15: ffff98028765b820
FS: 000074139b98f780(0000) GS:ffff98097b980000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000011cb78006 CR4: 00000000003726f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
? show_regs+0x6c/0x80
? __die+0x24/0x80
? page_fault_oops+0x175/0x5c0
? hrtimer_try_to_cancel.part.0+0x55/0xf0
? do_user_addr_fault+0x4b2/0x870
? exc_page_fault+0x85/0x1c0
? asm_exc_page_fault+0x27/0x30
? smb2_calc_signature+0x10e/0x460 [cifs]
? smb2_calc_signature+0xa7/0x460 [cifs]
? kmem_cache_alloc_noprof+0x101/0x300
smb2_sign_rqst+0xa2/0xe0 [cifs]
smb2_setup_request+0x12d/0x240 [cifs]
compound_send_recv+0x304/0x1220 [cifs]
cifs_send_recv+0x22/0x40 [cifs]
SMB2_tcon+0x2d9/0x8c0 [cifs]
cifs_get_smb_ses+0x910/0xef0 [cifs]
? cifs_get_smb_ses+0x910/0xef0 [cifs]
cifs_mount_get_session+0x6a/0x250 [cifs]
Reported-by: Paulo Alcantara (Red Hat) <pc@manguebit.com>
Suggested-by: Paulo Alcantara (Red Hat) <pc@manguebit.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
This reverts commit 220d83b52c.
2024-09-30 22:07:45 -05:00
..
2024-09-12 12:20:41 +02:00
2024-08-07 11:33:21 +02:00
2024-09-16 13:07:59 +02:00
2024-09-12 12:20:41 +02:00
2024-08-30 08:22:36 +02:00
2024-09-29 09:17:44 -07:00
2024-05-31 12:31:39 +02:00
2024-08-07 11:33:21 +02:00
2024-09-23 11:49:02 -07:00
2024-09-12 12:20:41 +02:00
2024-09-28 08:40:36 -07:00
2024-08-19 13:45:03 +02:00
2024-06-17 20:42:57 +02:00
2024-07-15 11:14:59 -07:00
2024-05-19 09:21:03 -07:00
2024-09-27 08:18:43 -07:00
2024-09-27 08:18:43 -07:00
2024-08-07 11:33:21 +02:00
2024-09-27 08:18:43 -07:00
2024-07-15 11:14:59 -07:00
2024-09-12 23:00:09 +08:00
2024-09-23 21:38:13 +09:00
2024-05-28 15:57:23 +02:00
2024-09-16 09:14:02 +02:00
2024-09-23 09:35:36 -07:00
2024-09-24 15:12:38 -07:00
2024-08-07 11:33:21 +02:00
2024-03-26 09:04:53 +01:00
2024-09-27 08:18:43 -07:00
2024-09-23 11:55:17 -07:00
2024-08-07 11:33:21 +02:00
2024-08-07 11:33:21 +02:00
2024-08-07 11:33:21 +02:00
2024-08-07 11:33:21 +02:00
2024-08-07 11:33:21 +02:00
2024-09-20 17:53:17 -07:00
2024-09-02 15:52:56 +02:00
2024-08-26 23:49:15 -04:00
2024-08-19 13:40:00 +02:00
2024-09-19 06:38:43 +02:00
2024-05-04 19:02:39 +02:00
2024-09-20 19:31:03 -04:00
2024-08-07 11:33:36 +02:00
2024-09-26 17:45:20 -05:00
2024-09-24 15:44:18 -07:00
2024-09-23 15:03:30 -04:00
2024-09-23 15:03:30 -04:00
2024-09-21 08:20:50 -07:00
2024-06-03 16:37:07 +02:00
2024-09-23 09:35:36 -07:00
2024-08-07 11:33:21 +02:00
2024-09-26 14:01:45 -07:00
2024-08-07 11:33:21 +02:00
2024-06-20 09:46:01 +02:00
2024-09-20 19:34:00 -07:00
2024-09-27 12:38:47 -07:00
2024-09-24 11:08:40 -07:00
2024-09-19 10:18:15 +02:00
2024-05-28 11:52:53 +02:00
2024-08-07 11:31:56 +02:00
2024-09-23 10:49:28 -07:00
2024-04-25 20:56:25 -07:00
2024-08-07 11:33:36 +02:00
2024-08-21 22:32:58 +02:00
2024-09-30 22:07:45 -05:00
2024-09-21 08:20:50 -07:00
2024-04-23 13:27:43 +02:00
2024-08-07 11:33:36 +02:00
2024-07-22 18:25:47 -07:00
2024-09-05 10:18:48 -04:00
2024-09-27 08:18:43 -07:00
2024-09-16 09:14:02 +02:00
2024-09-16 09:14:02 +02:00
2024-06-20 19:30:02 -04:00
2024-08-07 11:32:02 +02:00
2024-08-20 14:03:18 -04:00
2024-09-23 09:35:36 -07:00
2024-09-03 15:01:23 +02:00
2024-08-19 13:45:03 +02:00
2024-04-26 10:33:05 +02:00
2024-08-29 06:20:44 +12:00
2024-08-23 13:08:31 +02:00
2024-08-26 13:00:38 -07:00
2024-09-26 11:39:02 -07:00
2024-08-09 20:19:00 -07:00
2024-07-15 11:14:59 -07:00
2024-05-28 12:06:51 +02:00
2024-08-07 11:26:54 -07:00
2024-09-16 08:54:30 +02:00
2024-09-26 11:39:02 -07:00
2024-04-25 20:56:20 -07:00
2024-09-16 08:35:09 +02:00
2024-08-19 13:45:02 +02:00
2024-07-24 20:59:29 +02:00
2024-08-12 22:00:43 -04:00
2024-09-23 09:35:36 -07:00
2024-09-21 07:29:05 -07:00
2024-09-23 09:35:36 -07:00
2024-09-23 09:35:36 -07:00
2024-09-18 08:53:53 +02:00
2024-09-23 09:35:36 -07:00
2024-07-02 06:20:49 +02:00
2024-08-30 08:22:39 +02:00
2024-09-27 08:18:43 -07:00
2024-09-23 10:05:41 -07:00
2024-08-28 13:05:39 +02:00
2024-08-12 22:00:43 -04:00
2024-09-24 15:44:18 -07:00
2024-06-19 13:13:55 -07:00
2024-08-12 22:00:43 -04:00
2024-09-16 08:54:30 +02:00
2024-09-23 09:35:36 -07:00
2024-08-06 09:01:41 -07:00
2024-09-24 15:29:42 -07:00
2024-09-16 11:15:26 +02:00
2024-05-31 12:31:43 +02:00
2024-09-23 09:35:36 -07:00
2024-09-24 15:29:42 -07:00
2024-09-27 08:18:43 -07:00
2024-09-23 09:35:36 -07:00
2024-07-24 10:53:13 +02:00
2024-09-27 08:18:43 -07:00
2024-08-30 08:22:37 +02:00
2024-06-28 14:36:43 +02:00
2024-09-23 09:35:36 -07:00
2024-08-12 22:00:43 -04:00
2024-08-12 22:00:43 -04:00
2024-09-23 09:35:36 -07:00
2024-05-02 16:28:20 +02:00
2024-09-23 09:35:36 -07:00
2024-08-12 22:00:43 -04:00
2024-08-12 22:00:43 -04:00
2024-08-12 22:00:43 -04:00
2024-09-16 08:35:09 +02:00
2024-08-12 22:00:43 -04:00
2024-08-12 22:00:43 -04:00
2024-09-01 20:25:57 -07:00
2024-08-12 22:00:43 -04:00
2024-08-12 22:00:43 -04:00