提交 d6d08807 编写于 作者: G Greg Kroah-Hartman 提交者: Yongqiang Liu

lightnvm: disable the subsystem

stable inclusion
from stable-v5.10.114
commit 549209caabc89f2877ad5f62d11fca5c052e0e8f
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/I5O6A9
CVE: CVE-2022-2991

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

In commit 9ea9b9c4 ("remove the lightnvm subsystem") the lightnvm
subsystem was removed as there is no hardware in the wild for it, and
the code is known to have problems.  This should also be disabled for
older LTS kernels as well to prevent anyone from accidentally using it.

Cc: Christoph Hellwig <hch@lst.de>
Cc: Matias Bjørling <mb@lightnvm.io>
Cc: Javier González <javier@javigon.com>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: NGuo Mengqi <guomengqi3@huawei.com>
Reviewed-by: NWeilong Chen <chenweilong@huawei.com>
Reviewed-by: NXiu Jianfeng <xiujianfeng@huawei.com>
Signed-off-by: NYongqiang Liu <liuyongqiang13@huawei.com>
上级 006398db
......@@ -4,7 +4,7 @@
menuconfig NVM
bool "Open-Channel SSD target support"
depends on BLOCK && PCI
depends on BLOCK && PCI && BROKEN
select BLK_DEV_NVME
help
Say Y here to get to enable Open-channel SSDs.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册