{"id":"CVE-2026-98347","summary":"IB/IPoIB: Avoid restoring OPER_UP after multicast flush","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nIB/IPoIB: Avoid restoring OPER_UP after multicast flush\n\nipoib_ib_dev_flush_light() temporarily clears IPOIB_FLAG_OPER_UP to\nprevent multicast joins while ipoib_mcast_dev_flush() is running, and\nrestores the flag afterwards if it was previously set.\n\nThis restore races with ipoib_ib_dev_down(). If the interface is brought\ndown while the flush is in progress, ipoib_ib_dev_down() clears\nIPOIB_FLAG_OPER_UP, but the flush path may set it again after the device\nhas already gone down.\n\nSince commit 894021a75291 (\"IB/ipoib: Make the carrier_on_task race\naware\"), ipoib_mcast_carrier_on_task() relies on IPOIB_FLAG_OPER_UP\nbeing cleared to terminate its rtnl_trylock() retry loop. If the flag is\nleft set after shutdown, the workqueue retries forever, causing teardown\nto deadlock when ipoib_ndo_uninit() waits in destroy_workqueue() while\nholding RTNL.\n\nInstead of overloading IPOIB_FLAG_OPER_UP to block multicast joins\nduring a light flush, introduce a dedicated IPOIB_FLAG_MCAST_FLUSH flag.\nUse it together with IPOIB_FLAG_OPER_UP to determine whether multicast\njoins are allowed, avoiding the race with device shutdown.","modified":"2026-11-15T17:28:23.855968535Z","published":"2026-10-06T08:46:36.136Z","related":["SUSE-SU-2026:24371-1","SUSE-SU-2026:24379-1","SUSE-SU-2026:24386-1","SUSE-SU-2026:24422-1","SUSE-SU-2026:24437-1","SUSE-SU-2026:24446-1","SUSE-SU-2026:24473-1","SUSE-SU-2026:24553-1","SUSE-SU-2026:24691-1","SUSE-SU-2026:4892-1","SUSE-SU-2026:4935-1","SUSE-SU-2026:4940-1","openSUSE-SU-2026:12131-1","openSUSE-SU-2026:22167-1","openSUSE-SU-2026:22309-1","openSUSE-SU-2026:22313-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98347.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/188b334a6db36a8e0bfaaf59bc4020639a0f3aad"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1b11e4b55b41d9e69a8e8d07622614202e2eaca9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1ff3add37c329704ec46181b4ae4f00f9f16ce6f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/326f7d34bd7e64de535566b65c0533b640df5a81"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5ad925d45f28464a5e043c9620880bb6a030da89"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9a141d3dc869d18b2eab35e999f4790a9b84e40f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b72f38929f4b5aa83161fd3b22a7327207e51ec5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f973769fb7cb33ba0d4a64b7dcfee0cabaead938"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98347.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98347"},{"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":"344bacca8cd811809fc33a249f2738ab757d327f"},{"fixed":"f973769fb7cb33ba0d4a64b7dcfee0cabaead938"},{"fixed":"b72f38929f4b5aa83161fd3b22a7327207e51ec5"},{"fixed":"1b11e4b55b41d9e69a8e8d07622614202e2eaca9"},{"fixed":"326f7d34bd7e64de535566b65c0533b640df5a81"},{"fixed":"5ad925d45f28464a5e043c9620880bb6a030da89"},{"fixed":"188b334a6db36a8e0bfaaf59bc4020639a0f3aad"},{"fixed":"1ff3add37c329704ec46181b4ae4f00f9f16ce6f"},{"fixed":"9a141d3dc869d18b2eab35e999f4790a9b84e40f"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"a289c65ca49d2680a3d797e633e57a45573d1df2"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b81459c78935e4579a577b2366c5f8878d3c7fee"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"8a9d8dc9ce83a90bfbbe69181acc4cf1beff46f5"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"dfe809702a11bd7fb91c882fb55620e39ce22109"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"87160fb51bc343793cc8f5f031a87f1a35aecb82"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"749fd55dd210f9676f0d445a6efaaa3bec65174a"}]}],"versions":["v3.2.102","v3.2.101","v3.2.100","v3.2.99","v3.2.98","v3.2.97","v3.2.96","v3.2.95","v3.2.94","v3.2.93","v3.2.92","v3.2.91","v3.2.90","v3.2.89","v3.2.88","v3.2.87","v3.2.86","v3.2.85","v3.2.84","v3.10.108","v3.10.107","v3.10.106","v3.10.105","v3.12.74","v3.12.73","v3.12.72","v3.12.71","v3.12.70","v3.12.69","v3.12.68","v3.12.67","v3.12.66","v3.12.65","v3.16.85","v3.16.84","v3.16.83","v3.16.82","v3.16.81","v3.16.80","v3.16.79","v3.16.78","v3.16.77","v3.16.76","v3.16.75","v3.16.74","v3.16.73","v3.16.72","v3.16.71","v3.16.70","v3.16.69","v3.16.68","v3.16.67","v3.16.66","v3.16.65","v3.16.64","v3.16.63","v3.16.62","v3.16.61","v3.16.60","v3.16.59","v3.16.58","v3.16.57","v3.16.56","v3.16.55","v3.16.54","v3.16.53","v3.16.52","v3.16.51","v3.16.50","v3.16.49","v3.16.48","v3.16.47","v3.16.46","v3.16.45","v3.16.44","v3.16.43","v3.16.42","v3.16.41","v3.16.40","v3.16.39","v4.4.302","v4.4.301","v4.4.300","v4.4.299","v4.4.298","v4.4.297","v4.4.296","v4.4.295","v4.4.294","v4.4.293","v4.4.292","v4.4.291","v4.4.290","v4.4.289","v4.4.288","v4.4.287","v4.4.286","v4.4.285","v4.4.284","v4.4.283","v4.4.282","v4.4.281","v4.4.280","v4.4.279","v4.4.278","v4.4.277","v4.4.276","v4.4.275","v4.4.274","v4.4.273","v4.4.272","v4.4.271","v4.4.270","v4.4.269","v4.4.268","v4.4.267","v4.4.266","v4.4.265","v4.4.264","v4.4.263","v4.4.262","v4.4.261","v4.4.260","v4.4.259","v4.4.258","v4.4.257","v4.4.256","v4.4.255","v4.4.254","v4.4.253","v4.4.252","v4.4.251","v4.4.250","v4.4.249","v4.4.248","v4.4.247","v4.4.246","v4.4.245","v4.4.244","v4.4.243","v4.4.242","v4.4.241","v4.4.240","v4.4.239","v4.4.238","v4.4.237","v4.4.236","v4.4.235","v4.4.234","v4.4.233","v4.4.232","v4.4.231","v4.4.230","v4.4.229","v4.4.228","v4.4.227","v4.4.226","v4.4.225","v4.4.224","v4.4.223","v4.4.222","v4.4.221","v4.4.220","v4.4.219","v4.4.218","v4.4.217","v4.4.216","v4.4.215","v4.4.214","v4.4.213","v4.4.212","v4.4.211","v4.4.210","v4.4.209","v4.4.208","v4.4.207","v4.4.206","v4.4.205","v4.4.204","v4.4.203","v4.4.202","v4.4.201","v4.4.200","v4.4.199","v4.4.198","v4.4.197","v4.4.196","v4.4.195","v4.4.194","v4.4.193","v4.4.192","v4.4.191","v4.4.190","v4.4.189","v4.4.188","v4.4.187","v4.4.186","v4.4.185","v4.4.184","v4.4.183","v4.4.182","v4.4.181","v4.4.180","v4.4.179","v4.4.178","v4.4.177","v4.4.176","v4.4.175","v4.4.174","v4.4.173","v4.4.172","v4.4.171","v4.4.170","v4.4.169","v4.4.168","v4.4.167","v4.4.166","v4.4.165","v4.4.164","v4.4.163","v4.4.162","v4.4.161","v4.4.160","v4.4.159","v4.4.158","v4.4.157","v4.4.156","v4.4.155","v4.4.154","v4.4.153","v4.4.152","v4.4.151","v4.4.150","v4.4.149","v4.4.148","v4.4.147","v4.4.146","v4.4.145","v4.4.144","v4.4.143","v4.4.142","v4.4.141","v4.4.140","v4.4.139","v4.4.138","v4.4.137","v4.4.136","v4.4.135","v4.4.134","v4.4.133","v4.4.132","v4.4.131","v4.4.130","v4.4.129","v4.4.128","v4.4.127","v4.4.126","v4.4.125","v4.4.124","v4.4.123","v4.4.122","v4.4.121","v4.4.120","v4.4.119","v4.4.118","v4.4.117","v4.4.116","v4.4.115","v4.4.114","v4.4.113","v4.4.112","v4.4.111","v4.4.110","v4.4.109","v4.4.108","v4.4.107","v4.4.106","v4.4.105","v4.4.104","v4.4.103","v4.4.102","v4.4.101","v4.4.100","v4.4.99","v4.4.98","v4.4.97","v4.4.96","v4.4.95","v4.4.94","v4.4.93","v4.4.92","v4.4.91","v4.4.90","v4.4.89","v4.4.88","v4.4.87","v4.4.86","v4.4.85","v4.4.84","v4.4.83","v4.4.82","v4.4.81","v4.4.80","v4.4.79","v4.4.78","v4.4.77","v4.4.76","v4.4.75","v4.4.74","v4.4.73","v4.4.72","v4.4.71","v4.4.70","v4.4.69","v4.4.68","v4.4.67","v4.4.66","v4.4.65","v4.4.64","v4.4.63","v4.4.62","v4.4.61","v4.4.60","v4.4.59","v4.4.58","v4.4.57","v4.4.56","v4.4.55","v4.4.54","v4.4.53","v4.4.52","v4.4.51","v4.4.50","v4.4.49","v4.4.48","v4.4.47","v4.4.46","v4.4.45","v4.4.44","v4.4.43","v4.4.42","v4.4.41","v4.4.40","v4.4.39","v4.4.38","v4.4.37","v4.4.36","v4.4.35","v4.4.34","v4.4.33","v4.4.32","v4.4.31","v4.4.30","v4.4.29","v4.4.28","v4.4.27","v4.4.26","v4.4.25","v4.4.24","v4.7.10","v4.7.9","v4.7.8","v4.7.7"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-98347.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.2.84"},{"fixed":"3.3"}]},{"type":"ECOSYSTEM","events":[{"introduced":"3.10.105"},{"fixed":"3.11"}]},{"type":"ECOSYSTEM","events":[{"introduced":"3.12.65"},{"fixed":"3.13"}]},{"type":"ECOSYSTEM","events":[{"introduced":"3.16.39"},{"fixed":"3.17"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.4.24"},{"fixed":"4.5"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.7.7"},{"fixed":"4.8"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.8.0"},{"fixed":"5.10.271"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.222"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.189"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.158"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.112"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.54"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.8"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-98347.json"}}],"schema_version":"1.9.2"}