Takashi Iwai
99c23da0ee
Bluetooth: sco: Fix lock_sock() blockage by memcpy_from_msg()
...
The sco_send_frame() also takes lock_sock() during memcpy_from_msg()
call that may be endlessly blocked by a task with userfaultd
technique, and this will result in a hung task watchdog trigger.
Just like the similar fix for hci_sock_sendmsg() in commit
92c685dc5de0 ("Bluetooth: reorganize functions..."), this patch moves
the memcpy_from_msg() out of lock_sock() for addressing the hang.
This should be the last piece for fixing CVE-2021-3640 after a few
already queued fixes.
Signed-off-by: Takashi Iwai <tiwai@suse.de >
Signed-off-by: Marcel Holtmann <marcel@holtmann.org >
2021-08-30 16:47:31 +02:00
..
2021-07-22 16:19:03 +02:00
2021-06-02 14:01:55 -07:00
2021-08-13 16:30:35 -07:00
2021-07-27 20:11:45 +01:00
2021-07-23 14:20:25 +01:00
2021-06-10 14:08:09 -07:00
2021-08-03 11:21:39 +01:00
2021-08-18 18:39:00 +02:00
2021-08-30 16:47:31 +02:00
2021-08-13 06:41:22 -07:00
2021-06-25 13:13:50 +02:00
2021-08-24 16:51:09 -07:00
2021-07-15 11:08:33 -07:00
2021-08-05 13:27:50 +01:00
2021-06-30 15:51:09 -07:00
2021-08-30 10:57:54 +01:00
2021-06-01 17:01:33 -07:00
2021-08-13 06:41:22 -07:00
2021-08-05 13:27:50 +01:00
2021-08-25 11:14:34 +01:00
2021-08-03 13:05:26 +01:00
2021-08-24 07:38:29 -07:00
2021-06-16 12:13:01 -07:00
2021-08-13 06:41:22 -07:00
2021-08-30 12:47:09 +01:00
2021-08-30 12:21:38 +01:00
2021-08-09 10:13:32 +01:00
2021-06-29 11:28:21 -07:00
2021-05-26 07:03:39 +02:00
2021-06-07 14:08:30 -07:00
2021-06-08 16:31:25 -07:00
2021-08-05 13:27:50 +01:00
2021-08-26 10:18:56 +02:00
2021-08-11 16:01:17 -07:00
2021-07-23 17:17:56 +01:00
2021-08-27 09:45:07 +01:00
2021-07-08 14:16:39 -07:00
2021-08-30 01:51:36 +02:00
2021-08-30 12:23:18 +01:00
2021-07-30 18:35:47 +02:00
2021-08-05 13:27:50 +01:00
2021-08-13 14:09:19 -07:00
2021-08-19 18:09:18 -07:00
2021-08-05 13:27:50 +01:00
2021-08-05 13:27:50 +01:00
2021-08-30 12:26:57 +01:00
2021-08-18 15:35:50 -07:00
2021-08-18 10:12:11 +01:00
2021-08-30 12:24:40 +01:00
2021-08-03 11:43:43 +01:00
2021-08-13 06:41:22 -07:00
2021-06-29 11:28:21 -07:00
2021-08-25 16:58:09 -04:00
2021-08-04 12:35:07 +01:00
2021-08-19 18:09:18 -07:00
2021-06-29 15:45:27 -07:00
2021-08-16 11:12:37 +01:00
2021-08-12 10:57:27 -07:00
2021-08-26 11:04:55 +02:00
2021-06-10 14:08:09 -07:00
2021-06-29 15:45:27 -07:00
2021-08-27 11:16:29 +01:00
2021-06-03 15:13:56 -07:00
2021-06-11 12:55:28 -07:00
2021-07-29 15:06:49 +01:00
2021-07-29 15:06:49 +01:00
2021-07-29 15:06:49 +01:00