{"api_version":"1","generated_at":"2026-08-16T18:31:51+00:00","cve":"CVE-2026-74325","urls":{"html":"https://cve.report/CVE-2026-74325","api":"https://cve.report/api/cve/CVE-2026-74325.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-74325","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-74325"},"summary":{"title":"wifi: mt76: use kfree_rcu for offchannel link in mt76_put_vif_phy_link","description":"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).","state":"PUBLISHED","assigner":"Linux","published_at":"2026-08-15 06:22:33","updated_at":"2026-08-15 06:22:33"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/7fae097aa9a56c30febf539d72ef3773165d3aa3","name":"https://git.kernel.org/stable/c/7fae097aa9a56c30febf539d72ef3773165d3aa3","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/50e700ac0edce72dee5c3a9755865d9423696ac7","name":"https://git.kernel.org/stable/c/50e700ac0edce72dee5c3a9755865d9423696ac7","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c7a83899203ed36696a2d35ddd03c0f522874a63","name":"https://git.kernel.org/stable/c/c7a83899203ed36696a2d35ddd03c0f522874a63","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-74325","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74325","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a8f424c1287cc79a06c21816658feea87dfcb83f c7a83899203ed36696a2d35ddd03c0f522874a63 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a8f424c1287cc79a06c21816658feea87dfcb83f 50e700ac0edce72dee5c3a9755865d9423696ac7 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a8f424c1287cc79a06c21816658feea87dfcb83f 7fae097aa9a56c30febf539d72ef3773165d3aa3 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.14","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.14 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.40 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1.5 7.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"74325","cve":"CVE-2026-74325","epss":"0.001660000","percentile":"0.062580000","score_date":"2026-08-15","updated_at":"2026-08-16 00:00:30"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/net/wireless/mediatek/mt76/channel.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"c7a83899203ed36696a2d35ddd03c0f522874a63","status":"affected","version":"a8f424c1287cc79a06c21816658feea87dfcb83f","versionType":"git"},{"lessThan":"50e700ac0edce72dee5c3a9755865d9423696ac7","status":"affected","version":"a8f424c1287cc79a06c21816658feea87dfcb83f","versionType":"git"},{"lessThan":"7fae097aa9a56c30febf539d72ef3773165d3aa3","status":"affected","version":"a8f424c1287cc79a06c21816658feea87dfcb83f","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/net/wireless/mediatek/mt76/channel.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.14"},{"lessThan":"6.14","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.40","versionType":"semver"},{"lessThanOrEqual":"7.1.*","status":"unaffected","version":"7.1.5","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.2-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.40","versionStartIncluding":"6.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1.5","versionStartIncluding":"6.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2-rc1","versionStartIncluding":"6.14","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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)."}],"providerMetadata":{"dateUpdated":"2026-08-15T05:58:20.236Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/c7a83899203ed36696a2d35ddd03c0f522874a63"},{"url":"https://git.kernel.org/stable/c/50e700ac0edce72dee5c3a9755865d9423696ac7"},{"url":"https://git.kernel.org/stable/c/7fae097aa9a56c30febf539d72ef3773165d3aa3"}],"title":"wifi: mt76: use kfree_rcu for offchannel link in mt76_put_vif_phy_link","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-74325","datePublished":"2026-08-15T05:58:20.236Z","dateReserved":"2026-08-15T05:44:03.884Z","dateUpdated":"2026-08-15T05:58:20.236Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-08-15 06:22:33","lastModifiedDate":"2026-08-15 06:22:33","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"74325","Ordinal":"1","Title":"wifi: mt76: use kfree_rcu for offchannel link in mt76_put_vif_ph","CVE":"CVE-2026-74325","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"74325","Ordinal":"1","NoteData":"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).","Type":"Description","Title":"wifi: mt76: use kfree_rcu for offchannel link in mt76_put_vif_ph"}]}}}