{"id":"CVE-2026-74325","aliases":["CVE-2026-74325"],"related":[],"kind":"vulnerability","state":"published","title":"wifi: mt76: use kfree_rcu for offchannel link in mt76_put_vif_phy_link","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mt76: use kfree_rcu for offchannel link in mt76_put_vif_phy_link\n\nmt76_put_vif_phy_link() frees the offchannel mlink with plain kfree()\nafter rcu_assign_pointer(NULL). However, rcu_assign_pointer only prevents\nfuture RCU readers from obtaining the pointer -- it does not wait for\nexisting readers that already hold it via rcu_dereference.\n\nThe TX datapath (e.g. mt7996_mac_write_txwi) dereferences mlink->wcid\nand mlink->idx under rcu_read_lock. If a TX softirq obtained the pointer\nvia rcu_dereference just before the NULL assignment, it will dereference\nfreed memory after the kfree.\n\nstruct mt76_vif_link already contains an rcu_head field that is unused at\nthis free site -- a developer oversight, since the adjacent\nkfree_rcu_mightsleep call for rx_sc in the same function shows the\npattern was understood.\n\nReplace kfree(mlink) with kfree_rcu(mlink, rcu_head).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mt76: use kfree_rcu for offchannel link in mt76_put_vif_phy_link\n\nmt76_put_vif_phy_link() frees the offchannel mlink with plain kfree()\nafter rcu_assign_pointer(NULL). However, rcu_assign_pointer only prevents\nfuture RCU readers from obtaining the pointer -- it does not wait for\nexisting readers that already hold it via rcu_dereference.\n\nThe TX datapath (e.g. mt7996_mac_write_txwi) dereferences mlink->wcid\nand mlink->idx under rcu_read_lock. If a TX softirq obtained the pointer\nvia rcu_dereference just before the NULL assignment, it will dereference\nfreed memory after the kfree.\n\nstruct mt76_vif_link already contains an rcu_head field that is unused at\nthis free site -- a developer oversight, since the adjacent\nkfree_rcu_mightsleep call for rx_sc in the same function shows the\npattern was understood.\n\nReplace kfree(mlink) with kfree_rcu(mlink, rcu_head).","source":"cvelist"}],"published":"2026-08-15T05:58:20.236Z","modified":"2026-10-16T19:17:39.563Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"a8f424c1287cc79a06c21816658feea87dfcb83f","fixed":"c7a83899203ed36696a2d35ddd03c0f522874a63","status":"affected"},{"type":"git","introduced":"a8f424c1287cc79a06c21816658feea87dfcb83f","fixed":"50e700ac0edce72dee5c3a9755865d9423696ac7","status":"affected"},{"type":"git","introduced":"a8f424c1287cc79a06c21816658feea87dfcb83f","fixed":"7fae097aa9a56c30febf539d72ef3773165d3aa3","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.14","status":"unaffected"},{"type":"semver","introduced":"6.18.40","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/c7a83899203ed36696a2d35ddd03c0f522874a63","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/50e700ac0edce72dee5c3a9755865d9423696ac7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7fae097aa9a56c30febf539d72ef3773165d3aa3","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T18:53:28.772Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74325","url":"https://www.cve.org/CVERecord?id=CVE-2026-74325","licence":"CVE Terms of Use","modified":"2026-10-16T18:55:33.235Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74325","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74325","licence":"Public domain","modified":"2026-10-16T19:17:39.563Z"}],"updatedAt":"2026-11-25T22:59:33.170Z","epss":{"score":0.00127,"percentile":0.02585,"date":"2026-12-01T12:00:22.000Z"}}