{"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-11-17T07:00:22.315535056Z","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":"2e4f97122f3a9df870dfe9671994136448890768"}]}],"versions":["v5.17-rc1","v5.16","v5.16.10","v5.15.24","v5.16.9","v5.15.23","v5.16.8","v5.15.22","v5.16.7","v5.15.21","v5.16.6","v5.15.20","v5.16.5","v5.15.19","v5.16.4","v5.15.18","v5.16.3","v5.15.17","v5.16.2","v5.15.16","v5.15.15","v5.16.1","v5.16-rc1","v5.15.14","v5.16-rc8","v5.15.13","v5.16-rc5","v5.16-rc6","v5.15.12","v5.16-rc7","v5.15.11","v5.16-rc3","v5.16-rc2","v5.15.10","v5.15.9","v5.16-rc4","v5.15.8","v5.15.7","v5.15","v5.15.6","v5.15.5","v5.15.4","v5.15.3","v5.15.2","v5.15.1","v5.15-rc2","v5.15-rc1","v5.15-rc4","v5.15-rc7","v5.15-rc3","v5.15-rc5","v5.15-rc6","v5.14","v5.14-rc3","v5.14-rc1","v5.14-rc2","v5.14-rc7","v5.14-rc6","v5.13-rc1","v5.14-rc5","v5.14-rc4","v5.13","v5.13-rc6","v5.13-rc7","v5.13-rc3","v5.13-rc2","v5.13-rc4","v5.13-rc5","v5.12.19","v5.12.18","v5.12.17","v5.12.16","v5.12.15","v5.12.14","v5.12.13","v5.12.12","v5.12.11","v5.12.10","v5.12.9","v5.12.8","v5.12.7","v5.12.6","v5.12.5","v5.12.4","v5.12.3","v5.12.2","v5.12.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48784.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.12.1"},{"fixed":"5.13"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.13.0"},{"fixed":"5.15.25"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"5.16.11"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48784.json"}}],"schema_version":"1.9.2"}