{"api_version":"1","generated_at":"2026-08-14T13:38:00+00:00","cve":"CVE-2026-68404","urls":{"html":"https://cve.report/CVE-2026-68404","api":"https://cve.report/api/cve/CVE-2026-68404.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-68404","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-68404"},"summary":{"title":"wifi: cfg80211: use wiphy work for socket owner autodisconnect","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: cfg80211: use wiphy work for socket owner autodisconnect\n\nnl80211_netlink_notify() walks the cfg80211 wireless device list when a\nNETLINK_GENERIC socket is released. If the socket owns a connection, the\nnotifier queues the embedded wdev->disconnect_wk work item.\n\nThat work is a plain work_struct today. NETDEV_GOING_DOWN cancels it, but a\nNETLINK_URELEASE notifier that already observed conn_owner_nlportid can\nqueue it after that cancel returns. _cfg80211_unregister_wdev() then\nremoves the wdev from the list and waits for RCU readers, but\nsynchronize_net() does not drain work queued by such a reader.\n\nMake the autodisconnect work a wiphy_work instead. The callback already\nneeds the wiphy mutex, and wiphy_work runs under that mutex. This lets\nteardown cancel pending autodisconnect work while holding the mutex,\nwithout a cancel_work_sync() vs. worker locking concern.\n\nAlso cancel the wiphy work after list_del_rcu() and synchronize_net(). Any\nNETLINK_URELEASE notifier that had already reached the wdev list has then\neither queued the work and it is removed, or can no longer find the wdev.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-08-10 13:20:33","updated_at":"2026-08-13 23:17:35"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/6d6123fef5a4af175cc6b6b12a03dd0f3c240b79","name":"https://git.kernel.org/stable/c/6d6123fef5a4af175cc6b6b12a03dd0f3c240b79","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/0c2ed186bbe14304415476d6707b747dddcd8583","name":"https://git.kernel.org/stable/c/0c2ed186bbe14304415476d6707b747dddcd8583","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-68404","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68404","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected bd2522b168847106c1885f0319a2833bdf88bf9a 6d6123fef5a4af175cc6b6b12a03dd0f3c240b79 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected bd2522b168847106c1885f0319a2833bdf88bf9a 0c2ed186bbe14304415476d6707b747dddcd8583 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.11","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.11 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1.6 7.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2-rc4 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"68404","cve":"CVE-2026-68404","epss":"0.001890000","percentile":"0.088020000","score_date":"2026-08-13","updated_at":"2026-08-14 00:07:35"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["include/net/cfg80211.h","net/wireless/core.c","net/wireless/core.h","net/wireless/nl80211.c","net/wireless/sme.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"6d6123fef5a4af175cc6b6b12a03dd0f3c240b79","status":"affected","version":"bd2522b168847106c1885f0319a2833bdf88bf9a","versionType":"git"},{"lessThan":"0c2ed186bbe14304415476d6707b747dddcd8583","status":"affected","version":"bd2522b168847106c1885f0319a2833bdf88bf9a","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["include/net/cfg80211.h","net/wireless/core.c","net/wireless/core.h","net/wireless/nl80211.c","net/wireless/sme.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.11"},{"lessThan":"4.11","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"7.1.*","status":"unaffected","version":"7.1.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.2-rc4","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1.6","versionStartIncluding":"4.11","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2-rc4","versionStartIncluding":"4.11","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: cfg80211: use wiphy work for socket owner autodisconnect\n\nnl80211_netlink_notify() walks the cfg80211 wireless device list when a\nNETLINK_GENERIC socket is released. If the socket owns a connection, the\nnotifier queues the embedded wdev->disconnect_wk work item.\n\nThat work is a plain work_struct today. NETDEV_GOING_DOWN cancels it, but a\nNETLINK_URELEASE notifier that already observed conn_owner_nlportid can\nqueue it after that cancel returns. _cfg80211_unregister_wdev() then\nremoves the wdev from the list and waits for RCU readers, but\nsynchronize_net() does not drain work queued by such a reader.\n\nMake the autodisconnect work a wiphy_work instead. The callback already\nneeds the wiphy mutex, and wiphy_work runs under that mutex. This lets\nteardown cancel pending autodisconnect work while holding the mutex,\nwithout a cancel_work_sync() vs. worker locking concern.\n\nAlso cancel the wiphy work after list_del_rcu() and synchronize_net(). Any\nNETLINK_URELEASE notifier that had already reached the wdev list has then\neither queued the work and it is removed, or can no longer find the wdev."}],"metrics":[{"cvssV3_1":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"scenarios":[{"lang":"en","value":"AV:L - The vulnerability is reached through local nl80211/generic-netlink operations: setting NL80211_ATTR_SOCKET_OWNER on a connect/join command, closing the owning netlink socket, and tearing down the wireless interface. No network or radio traffic is required, so the attack vector is Local.\nAC:L - The attacker controls both sides of the race — the NETLINK_URELEASE notification (by closing its own socket) and the wdev teardown (by downing/deleting the interface) — and can repeat the sequence in a tight loop until the work is queued after the cancel window.\nPR:L - The relevant nl80211 commands use GENL_UNS_ADMIN_PERM and the family is netnsok, and mac80211_hwsim's HWSIM_CMD_NEW_RADIO likewise creates a wiphy in the caller's netns (wiphy_net_set(genl_info_net(info))), so an unprivileged user in a user+net namespace (unshare -Urn) obtains the required CAP_NET_ADMIN.\nUI:N - The entire sequence — creating/owning the connection, closing the socket, and removing the interface — is performed by the attacker's own process with no victim action required.\nS:U - The use-after-free corrupts kernel heap memory within the same kernel security authority; no VM, IOMMU, or sandbox boundary is crossed.\nC:H - The freed wireless_dev lives in the net_device private allocation; a use-after-free on that slab lets an attacker reclaim and inspect kernel heap contents, and cfg80211_autodisconnect_wk dereferences the stale object, enabling disclosure of arbitrary kernel memory.\nI:H - Queueing writes work list pointers into freed memory, and process_one_work() later loads work->func from the reclaimed allocation, giving an attacker who sprays the slab a controlled kernel function pointer call and thus arbitrary write/code execution.\nA:H - Running cfg80211_autodisconnect_wk against a freed wireless_dev dereferences stale pointers and drives disconnect paths on destroyed state, reliably producing an oops or panic even without successful exploitation."}]}],"providerMetadata":{"dateUpdated":"2026-08-13T22:44:40.491Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/6d6123fef5a4af175cc6b6b12a03dd0f3c240b79"},{"url":"https://git.kernel.org/stable/c/0c2ed186bbe14304415476d6707b747dddcd8583"}],"title":"wifi: cfg80211: use wiphy work for socket owner autodisconnect","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-68404","datePublished":"2026-08-10T12:04:24.241Z","dateReserved":"2026-07-30T09:28:09.390Z","dateUpdated":"2026-08-13T22:44:40.491Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-08-10 13:20:33","lastModifiedDate":"2026-08-13 23:17:35","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"68404","Ordinal":"1","Title":"wifi: cfg80211: use wiphy work for socket owner autodisconnect","CVE":"CVE-2026-68404","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"68404","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: cfg80211: use wiphy work for socket owner autodisconnect\n\nnl80211_netlink_notify() walks the cfg80211 wireless device list when a\nNETLINK_GENERIC socket is released. If the socket owns a connection, the\nnotifier queues the embedded wdev->disconnect_wk work item.\n\nThat work is a plain work_struct today. NETDEV_GOING_DOWN cancels it, but a\nNETLINK_URELEASE notifier that already observed conn_owner_nlportid can\nqueue it after that cancel returns. _cfg80211_unregister_wdev() then\nremoves the wdev from the list and waits for RCU readers, but\nsynchronize_net() does not drain work queued by such a reader.\n\nMake the autodisconnect work a wiphy_work instead. The callback already\nneeds the wiphy mutex, and wiphy_work runs under that mutex. This lets\nteardown cancel pending autodisconnect work while holding the mutex,\nwithout a cancel_work_sync() vs. worker locking concern.\n\nAlso cancel the wiphy work after list_del_rcu() and synchronize_net(). Any\nNETLINK_URELEASE notifier that had already reached the wdev list has then\neither queued the work and it is removed, or can no longer find the wdev.","Type":"Description","Title":"wifi: cfg80211: use wiphy work for socket owner autodisconnect"}]}}}