Commit 98b3569a authored by Yu'an Wang's avatar Yu'an Wang Committed by Laibin Qiu
Browse files

uacce: add the reference counter protection

driver inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I5VVP6


CVE: NA

--------------------------------

The device driver pointer will be set null during hot plugging.
So should use the device driver null check to pretect put queue.
Otherwise the null pointer may cause the oom ops as doing hot plugging.

Signed-off-by: default avatarYu'an Wang <wangyuan46@huawei.com>
Reviewed-by: default avatarKai Ye <yekai13@huawei.com>
Reviewed-by: default avatarLongfang Liu <liulongfang@huawei.com>
Reviewed-by: default avatarli yongxin <liyongxin1@huawei.com>
Signed-off-by: default avatarLaibin Qiu <qiulaibin@huawei.com>
parent 1260ac5c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment