Fengnan Chang
4d0e1f2139
blk-mq: use queue_hctx in blk_mq_map_queue_type
...
Some caller of blk_mq_map_queue_type now didn't grab
'q_usage_counter', such as blk_mq_cpu_mapped_to_hctx, so we need
protect 'queue_hw_ctx' through rcu.
Also checked all other functions, no more missed cases.
Fixes: 89e1fb7ceffd ("blk-mq: fix potential uaf for 'queue_hw_ctx'")
Reported-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Fengnan Chang <changfengnan@bytedance.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2025-12-01 07:18:31 -07:00
..
2025-11-20 07:44:29 -07:00
2025-03-10 07:41:58 -06:00
2025-09-15 16:09:42 +02:00
2024-11-19 19:05:32 -07:00
2025-09-05 13:52:52 -06:00
2025-08-07 06:30:17 -06:00
2025-11-04 12:41:50 -07:00
2025-11-04 12:41:50 -07:00
2025-11-06 18:11:58 -07:00
2024-04-03 09:10:17 -06:00
2025-01-13 07:47:09 -07:00
2025-10-15 08:00:19 -06:00
2025-09-10 05:23:45 -06:00
2025-11-25 10:39:49 -07:00
2025-09-10 05:23:46 -06:00
2025-02-10 09:54:19 -07:00
2025-05-06 19:08:08 +02:00
2025-02-10 09:54:19 -07:00
2025-02-10 09:54:19 -07:00
2025-03-12 08:25:28 -06:00
2025-01-29 07:16:47 -07:00
2025-10-02 10:16:56 -07:00
2025-09-01 15:31:34 +02:00
2025-11-20 07:44:29 -07:00
2025-09-10 05:23:45 -06:00
2025-03-11 09:22:55 -10:00
2024-07-28 16:47:51 -06:00
2025-11-25 12:19:39 -07:00
2025-11-06 18:11:58 -07:00
2025-11-18 15:00:12 -07:00
2025-07-01 10:24:19 -06:00
2025-09-10 05:23:45 -06:00
2024-04-17 08:44:03 -06:00
2025-11-14 05:09:56 -07:00
2025-11-13 09:27:49 -07:00
2025-11-13 09:27:49 -07:00
2025-09-08 08:05:32 -06:00
2025-11-28 09:09:19 -07:00
2025-11-28 09:09:19 -07:00
2025-12-01 07:18:31 -07:00
2025-01-31 07:20:08 -07:00
2025-08-21 07:11:11 -06:00
2025-08-26 10:34:08 -06:00
2025-11-11 07:51:08 -07:00
2025-06-08 09:07:37 +02:00
2025-04-05 10:30:12 +02:00
2025-11-18 15:00:11 -07:00
2025-11-17 09:39:48 -07:00
2025-09-08 08:24:44 -06:00
2025-08-11 10:21:38 -06:00
2023-12-26 09:28:10 -07:00
2025-11-13 09:10:04 -07:00
2025-11-13 09:27:49 -07:00
2025-03-13 05:46:19 -06:00
2023-06-30 11:57:07 -07:00
2023-10-28 13:29:23 +02:00
2024-05-02 17:48:09 -04:00
2025-11-13 09:27:49 -07:00
2025-11-18 16:27:19 -07:00
2025-10-07 08:05:44 -06:00
2025-11-25 10:36:37 -07:00
2024-02-23 07:44:19 -07:00
2025-11-05 08:07:21 -07:00
2025-05-08 09:04:12 -06:00
2025-05-14 05:43:56 -06:00
2025-11-13 09:27:49 -07:00
2025-05-16 08:43:41 -06:00
2025-10-20 10:37:42 -06:00
2024-02-16 15:52:45 -07:00
2024-10-22 08:16:40 -06:00
2025-07-01 14:00:14 +02:00