Description
In the Linux kernel, the following vulnerability has been resolved:

wifi: mwifiex: fix NULL dereference when the AP has HT-cap but no HT-oper

mwifiex_tdls_add_ht_oper() gates its follow-the-AP-bandwidth path on
bss_desc->bcn_ht_cap being present, but then dereferences a different
pointer, bss_desc->bcn_ht_oper:

if (ISSUPP_CHANWIDTH40(priv->adapter->hw_dot_11n_dev_cap) &&
bss_desc->bcn_ht_cap &&
ISALLOWED_CHANWIDTH40(bss_desc->bcn_ht_oper->ht_param))

bcn_ht_cap and bcn_ht_oper are populated independently while parsing the
associated AP's beacon in mwifiex_update_bss_desc_with_ie(): an AP that
advertises an HT Capabilities element but no HT Operation element leaves
bcn_ht_cap non-NULL and bcn_ht_oper NULL. Setting up a TDLS link to a
peer while associated to such an AP then dereferences the NULL
bcn_ht_oper and crashes the kernel. Every other bcn_ht_oper user in the
driver NULL-checks it first.

Guard on the pointer that is actually dereferenced.

Found by 0sec automated security-research tooling (https://0sec.ai).
Published: 2026-08-10
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is a NULL pointer dereference in the mwifiex driver’s TDLS handling routine. When a Wi‑Fi access point advertises HT capabilities but omits the HT operation element, the driver interprets the capability data as present and later dereferences a null pointer, causing the kernel to crash. The crash results in an immediate denial of service to the affected host, potentially bringing the entire system down or requiring a reboot.

Affected Systems

Any Linux system that uses the mwifiex wireless driver is potentially affected. Versions of the kernel that lack the commit adding the NULL check are vulnerable; no specific release numbers are listed, so apply the newest patched kernel from the distribution or upgrade to a release that includes the fix.

Risk and Exploitability

The flaw can be triggered by an attacker who can populate a malicious access point that presents HT capabilities but no HT operation element. A client device that attempts to establish a TDLS link with that access point will dereference a null pointer and crash. The attack vector is remote over a wireless network; the victim device need only associate with a rogue Wi‑Fi access point. Although a CVSS score is not published and EPSS is not available, the inability to bring a system down demonstrates a high severity denial‑of‑service risk. The flaw is not currently listed in the CISA KEV catalog.

Generated by OpenCVE AI on August 10, 2026 at 14:25 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the mwifiex driver patch (commit 45011e4d or later).
  • Disable TDLS (Wi‑Fi Direct) functionality on affected devices until the patch is applied – this can be done by unbinding the mwifiex module or disabling the TDLS sysfs entries.
  • Keep the operating system and kernel up to date, applying all security updates promptly to avoid similar issues in the future.

Generated by OpenCVE AI on August 10, 2026 at 14:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 10 Aug 2026 14:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476

Mon, 10 Aug 2026 12:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: wifi: mwifiex: fix NULL dereference when the AP has HT-cap but no HT-oper mwifiex_tdls_add_ht_oper() gates its follow-the-AP-bandwidth path on bss_desc->bcn_ht_cap being present, but then dereferences a different pointer, bss_desc->bcn_ht_oper: if (ISSUPP_CHANWIDTH40(priv->adapter->hw_dot_11n_dev_cap) && bss_desc->bcn_ht_cap && ISALLOWED_CHANWIDTH40(bss_desc->bcn_ht_oper->ht_param)) bcn_ht_cap and bcn_ht_oper are populated independently while parsing the associated AP's beacon in mwifiex_update_bss_desc_with_ie(): an AP that advertises an HT Capabilities element but no HT Operation element leaves bcn_ht_cap non-NULL and bcn_ht_oper NULL. Setting up a TDLS link to a peer while associated to such an AP then dereferences the NULL bcn_ht_oper and crashes the kernel. Every other bcn_ht_oper user in the driver NULL-checks it first. Guard on the pointer that is actually dereferenced. Found by 0sec automated security-research tooling (https://0sec.ai).
Title wifi: mwifiex: fix NULL dereference when the AP has HT-cap but no HT-oper
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-10T12:00:15.750Z

Reserved: 2026-07-30T09:28:09.374Z

Link: CVE-2026-68197

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-10T18:00:03Z

Weaknesses