{"id":"CVE-2022-48784","summary":"cfg80211: fix race in netlink owner interface destruction","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ncfg80211: fix race in netlink owner interface destruction\n\nMy previous fix here to fix the deadlock left a race where\nthe exact same deadlock (see the original commit referenced\nbelow) can still happen if cfg80211_destroy_ifaces() already\nruns while nl80211_netlink_notify() is still marking some\ninterfaces as nl_owner_dead.\n\nThe race happens because we have two loops here - first we\ndev_close() all the netdevs, and then we destroy them. If we\nalso have two netdevs (first one need only be a wdev though)\nthen we can find one during the first iteration, close it,\nand go to the second iteration -- but then find two, and try\nto destroy also the one we didn't close yet.\n\nFix this by only iterating once.","modified":"2026-03-20T12:21:51.256713Z","published":"2024-07-16T11:13:20.462Z","related":["SUSE-SU-2024:2894-1","SUSE-SU-2024:2902-1","SUSE-SU-2024:2929-1","SUSE-SU-2024:2939-1","SUSE-SU-2024:2947-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48784.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/241e633cb379c4f332fc1baf2abec95ec840cbeb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c979f792a2baf6d0f3419587668a1a6eba46a3d2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f0a6fd1527067da537e9c48390237488719948ed"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48784.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48784"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"ea6b2098dd02789f68770fd3d5a373732207be2f"},{"fixed":"241e633cb379c4f332fc1baf2abec95ec840cbeb"},{"fixed":"c979f792a2baf6d0f3419587668a1a6eba46a3d2"},{"fixed":"f0a6fd1527067da537e9c48390237488719948ed"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"2e4f97122f3a9df870dfe9671994136448890768"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-48784.json"}}],"schema_version":"1.7.5"}