Ad

CVE-2026-98619

NONE EPSS 0.15%
Обновлено 19 октября 2026
Linux
Параметр Значение
Поставщик Linux
Публичный эксплойт Нет

В ядре Linux устранена следующая уязвимость: net: ethtool: keep rtnl_lock for the ioctl self test Автономный самотест, который выводит интерфейс вниз и резервное копирование с помощью netif_close() / netif_open() требует rtnl_lock для обоих. Поскольку путь ettool IOCTL стал rtnl-опциональным для драйверов с блокировкой ops, ETHTOOL_TEST ioctl работает, удерживая только блокировку экземпляра netdev, поэтому на драйвере с блокировкой ops самопроверка теперь разрывает устройство без rtnl_lock. С lockdep это детерминированно воспроизводит каждый автономный самотест на таком драйвере; обратите внимание, что единственным блокировкой является блокировка экземпляра, а не rtnl: WARNING: подозрительное использование RCU net/core/netpoll.c:207 подозрительное использование rcu_dereference_protected ()! 1 замок, удерживаемый ethtool/107: 0: (&dev->lock){+.+., в: dev_ethtool Call Trace: netpoll_poll_disable __dev_close_many netif_close_many netif_close fbnic_self_test dev_ethtool_locked dev_ethtool dev_ioctl sock_ioctl __x64_sys_ioctl Without lockdep те же условия, что и ASSERT_RTNL () в __dev_close_many () / __dev_open (); что проверяет только образцы глобального состояния rtnl, поэтому его можно маскировать параллельным держателем rtnl, но устройство все еще реконфигурируется без блокировки.

Ethtool self_test - это устаревшая команда только для ioctl, поэтому случай ETHTOOL_TEST нужен только на пути ioctl. Add an opt-in bit for drivers whose self test needs rtnl_lock and set it on the ops-locked drivers whose offline self test tears the interface down and up: - fbnic (ops-locked via queue_mgmt_ops): fbnic_self_test() offline path uses netif_close() / netif_open(). - bnxt (ops-locked via queue_mgmt_ops): bnxt_self_test() offline path goes through bnxt_close_nic() / bnxt_half_open_nic() / bnxt_half_close_nic() / bnxt_open_nic(), which close and reopen the device.

Показать оригинальное описание (EN)

In the Linux kernel, the following vulnerability has been resolved: net: ethtool: keep rtnl_lock for the ioctl self test An offline self test that brings the interface down and back up with netif_close() / netif_open() requires rtnl_lock for both. Since the ethtool IOCTL path became rtnl-optional for ops-locked drivers, the ETHTOOL_TEST ioctl runs holding only the netdev instance lock, so on an ops-locked driver the self test now tears the device down without rtnl_lock. With lockdep this reproduces deterministically on every offline self test on such a driver; note the sole lock held is the instance lock, not rtnl: WARNING: suspicious RCU usage net/core/netpoll.c:207 suspicious rcu_dereference_protected() usage! 1 lock held by ethtool/107: #0: (&dev->lock){+.+.}, at: dev_ethtool Call Trace: netpoll_poll_disable __dev_close_many netif_close_many netif_close fbnic_self_test dev_ethtool_locked dev_ethtool dev_ioctl sock_ioctl __x64_sys_ioctl Without lockdep the same condition trips ASSERT_RTNL() in __dev_close_many() / __dev_open(); that check only samples the global rtnl state, so it can be masked by a concurrent rtnl holder, but the device is still being reconfigured without the lock it requires. The ethtool self_test is a legacy ioctl-only command, so an ETHTOOL_TEST case is only needed on the ioctl path. Add an opt-in bit for drivers whose self test needs rtnl_lock and set it on the ops-locked drivers whose offline self test tears the interface down and up: - fbnic (ops-locked via queue_mgmt_ops): fbnic_self_test() offline path uses netif_close() / netif_open(). - bnxt (ops-locked via queue_mgmt_ops): bnxt_self_test() offline path goes through bnxt_close_nic() / bnxt_half_open_nic() / bnxt_half_close_nic() / bnxt_open_nic(), which close and reopen the device.