Unverified Commit df23a8e9 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!2825 Add error handle for driver

Merge Pull Request from: @ci-robot 
 
PR sync from: Li Nan <linan122@huawei.com>
https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/I5NZWYXZ7EHSYUGQ42OSX2TY5UVULXVQ/ 
Christoph Hellwig (9):
  block: add blk_alloc_disk and blk_cleanup_disk APIs
  blk-mq: add the blk_mq_alloc_disk APIs
  loop: use blk_mq_alloc_disk and blk_cleanup_disk
  loop: fix order of cleaning up the queue and freeing the tagset
  nbd: use blk_mq_alloc_disk and blk_cleanup_disk
  block: add a flag to make put_disk on partially initalized disks safer
  nvme: use blk_mq_alloc_disk
  brd: convert to blk_alloc_disk/blk_cleanup_disk
  ubi: use blk_mq_alloc_disk and blk_cleanup_disk

Dan Carpenter (1):
  blk-mq: fix an IS_ERR() vs NULL bug

Li Lingfeng (1):
  nbd: fix uaf in nbd_open

Luis Chamberlain (6):
  loop: add error handling support for add_disk()
  nbd: add error handling support for add_disk()
  nvme: add error handling support for add_disk()
  block/brd: add error handling support for add_disk()
  scsi: sr: Add error handling support for add_disk()
  mtd/ubi/block: add error handling support for add_disk()

Wang Qing (1):
  nbd: fix order of cleaning up the queue and freeing the tagset

Zhong Jinghua (2):
  mtd/ubi/block: Fix null pointer dereference issue in error path
  mtd/ubi/block: Fix uaf problem in ubiblock_cleanup


-- 
2.39.2
 
https://gitee.com/openeuler/kernel/issues/I81XCK 
 
Link:https://gitee.com/openeuler/kernel/pulls/2825

 

Reviewed-by: default avatarYu Kuai <yukuai3@huawei.com>
Reviewed-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
Signed-off-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
parents a161cb25 467373dd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment