В ядре Linux устранена следующая уязвимость:
nvme: target: rdma: исправлена утечка счетчика ссылок ndev при подключении к очереди
nvmet_rdma_queue_connect() вызывает nvmet_rdma_find_get_device(), который
получает ссылку на возвращенный ndev через kref_get(). По пути
где превышено отставание в очереди хоста и функция возвращает
NVME_SC_CONNECT_CTRL_BUSY, ссылка на ndev не выпущена, утечка
креф.
Исправьте это, добавив переход к существующей метке put_device перед
ранний возврат.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: nvme: target: rdma: fix ndev refcount leak on queue connect nvmet_rdma_queue_connect() calls nvmet_rdma_find_get_device() which acquires a reference on the returned ndev via kref_get(). On the path where the host queue backlog is exceeded and the function returns NVME_SC_CONNECT_CTRL_BUSY, reference of ndev is not released, leaking the kref. Fix this by adding a goto to the existing put_device label before the early return.
Характеристики атаки
Последствия
Строка CVSS v3.1
Уязвимые продукты 3
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.8
|
6.12.96
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.13
|
6.18.39
|
|
Linux Linux_Kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
|
6.19
|
7.1.4
|