{"schema":"threatline.record/2","record":{"id":"CVE-2026-98619","aliases":[],"summary":"net: ethtool: keep rtnl_lock for the ioctl self test","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: ethtool: keep rtnl_lock for the ioctl self test\n\nAn offline self test that brings the interface down and back up with\nnetif_close() / netif_open() requires rtnl_lock for both. Since the\nethtool IOCTL path became rtnl-optional for ops-locked drivers, the\nETHTOOL_TEST ioctl runs holding only the netdev instance lock, so on an\nops-locked driver the self test now tears the device down without\nrtnl_lock.\n\nWith lockdep this reproduces deterministically on every offline self\ntest on such a driver; note the sole lock held is the instance lock, not\nrtnl:\n\n  WARNING: suspicious RCU usage\n  net/core/netpoll.c:207 suspicious rcu_dereference_protected() usage!\n  1 lock held by ethtool/107:\n   #0: (&dev->lock){+.+.}, at: dev_ethtool\n  Call Trace:\n   netpoll_poll_disable\n   __dev_close_many\n   netif_close_many\n   netif_close\n   fbnic_self_test\n   dev_ethtool_locked\n   dev_ethtool\n   dev_ioctl\n   sock_ioctl\n   __x64_sys_ioctl\n\nWithout lockdep the same condition trips ASSERT_RTNL() in\n__dev_close_many() / __dev_open(); that check only samples the global\nrtnl state, so it can be masked by a concurrent rtnl holder, but the\ndevice is still being reconfigured without the lock it requires.\n\nThe ethtool self_test is a legacy ioctl-only command, so an ETHTOOL_TEST\ncase is only needed on the ioctl path. Add an opt-in bit for drivers whose\nself test needs rtnl_lock and set it on the ops-locked drivers whose\noffline self test tears the interface down and up:\n\n  - fbnic (ops-locked via queue_mgmt_ops): fbnic_self_test() offline path\n    uses netif_close() / netif_open().\n  - bnxt (ops-locked via queue_mgmt_ops): bnxt_self_test() offline path\n    goes through bnxt_close_nic() / bnxt_half_open_nic() /\n    bnxt_half_close_nic() / bnxt_open_nic(), which close and reopen the\n    device.","categories":["Operating systems"],"product":"Linux","vendor":"Linux","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98619","source_modified_at":"2026-10-19T09:22:47.182Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"f994752b11273ded7ec6b49ae5c1d319eef21743","lessThan":"4ca1503491f1f25a954c13ac5775bf6775c5abc8","status":"affected","versionType":"git"},{"version":"f994752b11273ded7ec6b49ae5c1d319eef21743","lessThan":"1b82958f3f035df5ccaab5430a2302f08a5d5351","status":"affected","versionType":"git"}],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98619","source_modified_at":"2026-10-19T09:22:47.182Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"7.2","status":"affected"},{"version":"0","lessThan":"7.2","status":"unaffected","versionType":"semver"},{"version":"7.2.9","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"defaultStatus":"affected"}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98619","source_modified_at":"2026-10-19T09:22:47.182Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"4ca1503491f1f25a954c13ac5775bf6775c5abc8","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98619","source_modified_at":"2026-10-19T09:22:47.182Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"1b82958f3f035df5ccaab5430a2302f08a5d5351","basis":"first unaffected version stated in the CVE record"}],"cvss":null,"severity":null,"kev":{"listed":false},"epss":{"probability":0.00155,"percentile":0.04324,"score_date":"2026-10-23"},"published_at":"2026-10-18T15:19:39.448Z","modified_at":"2026-10-19T09:22:47.182Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-98619","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-19T09:22:47.182Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-98619","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://git.kernel.org/stable/c/4ca1503491f1f25a954c13ac5775bf6775c5abc8"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/1b82958f3f035df5ccaab5430a2302f08a5d5351"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"product","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-19T09:22:47.182Z","content_hash":"1707b6c686e6f0cf90df17ac908166b331b4db3669a27be87bb3b9686cd88c4c"}}
