aboutsummaryrefslogtreecommitdiff
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorzhengbin <[email protected]>2019-08-13 16:59:44 +0800
committerJens Axboe <[email protected]>2019-09-04 07:00:33 -0600
commitecf4d59a4ebf1237bde1cb2de71a0a6e927d4b0c (patch)
tree182b556cc5ec16e6e99e5e4d559461081b12ff5d /lib/dynamic_debug.c
parentc5ef62e60d50e2e9e0ff7aa240ad621eeda35939 (diff)
paride/pf: need to set queue to NULL before put_disk
In pf_init_units, if blk_mq_init_sq_queue fails, need to set queue to NULL before put_disk, otherwise null-ptr-deref Read will occur. put_disk kobject_put disk_release blk_put_queue(disk->queue) Fixes: 77218ddf46d8 ("paride: convert pf to blk-mq") Reported-by: Hulk Robot <[email protected]> Signed-off-by: zhengbin <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions