{"id":"CVE-2026-68311","state":"PUBLISHED","title":"wifi: mt76: mt7925: guard link STA in decap offload","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mt76: mt7925: guard link STA in decap offload\n\nmt7925_sta_set_decap_offload() iterates over the vif valid_links mask\nwhen updating decap offload state for an MLO station. The station may not\nhave a link STA for every valid link of the vif, so mt792x_sta_to_link()\ncan return NULL for a link that belongs to the vif but not to the station.\n\nThe function currently dereferences mlink before checking whether the\nlink WCID is ready. If mlink is NULL, setting or clearing\nMT_WCID_FLAG_HDR_TRANS dereferences a NULL pointer.\n\nSkip links without a station link before touching mlink->wcid.","publishedAt":"2026-08-10T12:02:45.919Z","updatedAt":"2026-08-17T05:03:07.684Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"b859ad65309a5f1654e8b284de582831fc88e2d8","status":"affected","lessThan":"1e608cae1ba0b4a600b752efa223fd2be376b143","versionType":"git"},{"version":"b859ad65309a5f1654e8b284de582831fc88e2d8","status":"affected","lessThan":"f1ee53e08fdd2906e90c6a6d71e1368fcd52bfc3","versionType":"git"},{"version":"b859ad65309a5f1654e8b284de582831fc88e2d8","status":"affected","lessThan":"d86883f7e8f03a5b81b4e59f2c0b6c05f79e01fd","versionType":"git"},{"version":"b859ad65309a5f1654e8b284de582831fc88e2d8","status":"affected","lessThan":"96ea44f2269f30364cffa054ee3a87e595bef0d4","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/mediatek/mt76/mt7925/main.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.11","versionType":"semver"},{"version":"6.12.101","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.42","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.6","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/mediatek/mt76/mt7925/main.c"]}],"references":["https://git.kernel.org/stable/c/1e608cae1ba0b4a600b752efa223fd2be376b143","https://git.kernel.org/stable/c/f1ee53e08fdd2906e90c6a6d71e1368fcd52bfc3","https://git.kernel.org/stable/c/d86883f7e8f03a5b81b4e59f2c0b6c05f79e01fd","https://git.kernel.org/stable/c/96ea44f2269f30364cffa054ee3a87e595bef0d4"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:49.727Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/68xxx/CVE-2026-68311.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-68311","state":"PUBLISHED","datePublished":"2026-08-10T12:02:45.919Z","dateUpdated":"2026-08-17T05:03:07.684Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-07-30T09:28:09.381Z"},"containers":{"cna":{"title":"wifi: mt76: mt7925: guard link STA in decap offload","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mt76: mt7925: guard link STA in decap offload\n\nmt7925_sta_set_decap_offload() iterates over the vif valid_links mask\nwhen updating decap offload state for an MLO station. The station may not\nhave a link STA for every valid link of the vif, so mt792x_sta_to_link()\ncan return NULL for a link that belongs to the vif but not to the station.\n\nThe function currently dereferences mlink before checking whether the\nlink WCID is ready. If mlink is NULL, setting or clearing\nMT_WCID_FLAG_HDR_TRANS dereferences a NULL pointer.\n\nSkip links without a station link before touching mlink->wcid."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"b859ad65309a5f1654e8b284de582831fc88e2d8","status":"affected","lessThan":"1e608cae1ba0b4a600b752efa223fd2be376b143","versionType":"git"},{"version":"b859ad65309a5f1654e8b284de582831fc88e2d8","status":"affected","lessThan":"f1ee53e08fdd2906e90c6a6d71e1368fcd52bfc3","versionType":"git"},{"version":"b859ad65309a5f1654e8b284de582831fc88e2d8","status":"affected","lessThan":"d86883f7e8f03a5b81b4e59f2c0b6c05f79e01fd","versionType":"git"},{"version":"b859ad65309a5f1654e8b284de582831fc88e2d8","status":"affected","lessThan":"96ea44f2269f30364cffa054ee3a87e595bef0d4","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/mediatek/mt76/mt7925/main.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.11","versionType":"semver"},{"version":"6.12.101","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.42","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.6","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/mediatek/mt76/mt7925/main.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/1e608cae1ba0b4a600b752efa223fd2be376b143"},{"url":"https://git.kernel.org/stable/c/f1ee53e08fdd2906e90c6a6d71e1368fcd52bfc3"},{"url":"https://git.kernel.org/stable/c/d86883f7e8f03a5b81b4e59f2c0b6c05f79e01fd"},{"url":"https://git.kernel.org/stable/c/96ea44f2269f30364cffa054ee3a87e595bef0d4"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-17T05:03:07.684Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"6.12.101"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"6.18.42"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"7.1.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}