{"id":"CVE-2026-68197","state":"PUBLISHED","title":"wifi: mwifiex: fix NULL dereference when the AP has HT-cap but no HT-oper","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mwifiex: fix NULL dereference when the AP has HT-cap but no HT-oper\n\nmwifiex_tdls_add_ht_oper() gates its follow-the-AP-bandwidth path on\nbss_desc->bcn_ht_cap being present, but then dereferences a different\npointer, bss_desc->bcn_ht_oper:\n\n\tif (ISSUPP_CHANWIDTH40(priv->adapter->hw_dot_11n_dev_cap) &&\n\t    bss_desc->bcn_ht_cap &&\n\t    ISALLOWED_CHANWIDTH40(bss_desc->bcn_ht_oper->ht_param))\n\nbcn_ht_cap and bcn_ht_oper are populated independently while parsing the\nassociated AP's beacon in mwifiex_update_bss_desc_with_ie(): an AP that\nadvertises an HT Capabilities element but no HT Operation element leaves\nbcn_ht_cap non-NULL and bcn_ht_oper NULL. Setting up a TDLS link to a\npeer while associated to such an AP then dereferences the NULL\nbcn_ht_oper and crashes the kernel. Every other bcn_ht_oper user in the\ndriver NULL-checks it first.\n\nGuard on the pointer that is actually dereferenced.\n\nFound by 0sec automated security-research tooling (https://0sec.ai).","publishedAt":"2026-08-10T12:00:15.750Z","updatedAt":"2026-08-19T16:31:16.085Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"396939f94084d5923d558e9f22db48bc51156e47","status":"affected","lessThan":"e1770f7410b4232a0267924f99751dc9c5ca31af","versionType":"git"},{"version":"396939f94084d5923d558e9f22db48bc51156e47","status":"affected","lessThan":"8c2058717fd06f05d421c2d3adf1dff3c3abcda1","versionType":"git"},{"version":"396939f94084d5923d558e9f22db48bc51156e47","status":"affected","lessThan":"fba7eb7b248ea0618235f504158b685d752a153a","versionType":"git"},{"version":"396939f94084d5923d558e9f22db48bc51156e47","status":"affected","lessThan":"eb42c3c8fd479166c42984728754cd779c71fd60","versionType":"git"},{"version":"396939f94084d5923d558e9f22db48bc51156e47","status":"affected","lessThan":"45011e4d9ba3f2182e5df64be65888044fa20771","versionType":"git"},{"version":"396939f94084d5923d558e9f22db48bc51156e47","status":"affected","lessThan":"9375a4ea4121625ef27a46b74781cda66a5cc61b","versionType":"git"},{"version":"396939f94084d5923d558e9f22db48bc51156e47","status":"affected","lessThan":"cca4398aa305c22016d1714f388e2fa6ea4e5ad4","versionType":"git"},{"version":"396939f94084d5923d558e9f22db48bc51156e47","status":"affected","lessThan":"c3d68e294cbb6a4090bb219d3dcaca85a011809b","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/marvell/mwifiex/tdls.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.16","versionType":"semver"},{"version":"5.10.265","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.216","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.183","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.148","status":"unaffected","lessThanOrEqual":"6.6.*","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/marvell/mwifiex/tdls.c"]}],"references":["https://git.kernel.org/stable/c/e1770f7410b4232a0267924f99751dc9c5ca31af","https://git.kernel.org/stable/c/8c2058717fd06f05d421c2d3adf1dff3c3abcda1","https://git.kernel.org/stable/c/fba7eb7b248ea0618235f504158b685d752a153a","https://git.kernel.org/stable/c/eb42c3c8fd479166c42984728754cd779c71fd60","https://git.kernel.org/stable/c/45011e4d9ba3f2182e5df64be65888044fa20771","https://git.kernel.org/stable/c/9375a4ea4121625ef27a46b74781cda66a5cc61b","https://git.kernel.org/stable/c/cca4398aa305c22016d1714f388e2fa6ea4e5ad4","https://git.kernel.org/stable/c/c3d68e294cbb6a4090bb219d3dcaca85a011809b"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:49.727Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/68xxx/CVE-2026-68197.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-68197","state":"PUBLISHED","datePublished":"2026-08-10T12:00:15.750Z","dateUpdated":"2026-08-19T16:31:16.085Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-07-30T09:28:09.374Z"},"containers":{"cna":{"title":"wifi: mwifiex: fix NULL dereference when the AP has HT-cap but no HT-oper","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mwifiex: fix NULL dereference when the AP has HT-cap but no HT-oper\n\nmwifiex_tdls_add_ht_oper() gates its follow-the-AP-bandwidth path on\nbss_desc->bcn_ht_cap being present, but then dereferences a different\npointer, bss_desc->bcn_ht_oper:\n\n\tif (ISSUPP_CHANWIDTH40(priv->adapter->hw_dot_11n_dev_cap) &&\n\t    bss_desc->bcn_ht_cap &&\n\t    ISALLOWED_CHANWIDTH40(bss_desc->bcn_ht_oper->ht_param))\n\nbcn_ht_cap and bcn_ht_oper are populated independently while parsing the\nassociated AP's beacon in mwifiex_update_bss_desc_with_ie(): an AP that\nadvertises an HT Capabilities element but no HT Operation element leaves\nbcn_ht_cap non-NULL and bcn_ht_oper NULL. Setting up a TDLS link to a\npeer while associated to such an AP then dereferences the NULL\nbcn_ht_oper and crashes the kernel. Every other bcn_ht_oper user in the\ndriver NULL-checks it first.\n\nGuard on the pointer that is actually dereferenced.\n\nFound by 0sec automated security-research tooling (https://0sec.ai)."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"396939f94084d5923d558e9f22db48bc51156e47","status":"affected","lessThan":"e1770f7410b4232a0267924f99751dc9c5ca31af","versionType":"git"},{"version":"396939f94084d5923d558e9f22db48bc51156e47","status":"affected","lessThan":"8c2058717fd06f05d421c2d3adf1dff3c3abcda1","versionType":"git"},{"version":"396939f94084d5923d558e9f22db48bc51156e47","status":"affected","lessThan":"fba7eb7b248ea0618235f504158b685d752a153a","versionType":"git"},{"version":"396939f94084d5923d558e9f22db48bc51156e47","status":"affected","lessThan":"eb42c3c8fd479166c42984728754cd779c71fd60","versionType":"git"},{"version":"396939f94084d5923d558e9f22db48bc51156e47","status":"affected","lessThan":"45011e4d9ba3f2182e5df64be65888044fa20771","versionType":"git"},{"version":"396939f94084d5923d558e9f22db48bc51156e47","status":"affected","lessThan":"9375a4ea4121625ef27a46b74781cda66a5cc61b","versionType":"git"},{"version":"396939f94084d5923d558e9f22db48bc51156e47","status":"affected","lessThan":"cca4398aa305c22016d1714f388e2fa6ea4e5ad4","versionType":"git"},{"version":"396939f94084d5923d558e9f22db48bc51156e47","status":"affected","lessThan":"c3d68e294cbb6a4090bb219d3dcaca85a011809b","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/marvell/mwifiex/tdls.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.16","versionType":"semver"},{"version":"5.10.265","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.216","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.183","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.148","status":"unaffected","lessThanOrEqual":"6.6.*","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/marvell/mwifiex/tdls.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/e1770f7410b4232a0267924f99751dc9c5ca31af"},{"url":"https://git.kernel.org/stable/c/8c2058717fd06f05d421c2d3adf1dff3c3abcda1"},{"url":"https://git.kernel.org/stable/c/fba7eb7b248ea0618235f504158b685d752a153a"},{"url":"https://git.kernel.org/stable/c/eb42c3c8fd479166c42984728754cd779c71fd60"},{"url":"https://git.kernel.org/stable/c/45011e4d9ba3f2182e5df64be65888044fa20771"},{"url":"https://git.kernel.org/stable/c/9375a4ea4121625ef27a46b74781cda66a5cc61b"},{"url":"https://git.kernel.org/stable/c/cca4398aa305c22016d1714f388e2fa6ea4e5ad4"},{"url":"https://git.kernel.org/stable/c/c3d68e294cbb6a4090bb219d3dcaca85a011809b"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-19T16:31:16.085Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.16","versionEndExcluding":"5.10.265"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.16","versionEndExcluding":"5.15.216"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.16","versionEndExcluding":"6.1.183"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.16","versionEndExcluding":"6.6.148"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.16","versionEndExcluding":"6.12.101"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.16","versionEndExcluding":"6.18.42"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.16","versionEndExcluding":"7.1.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.16","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}