wifi: mt76: mt7915: Fix null-ptr-deref in mt7915_mmio_wed_init()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
wifi: mt76: mt7915: Fix null-ptr-deref in mt7915_mmio_wed_init()
devm_ioremap() returns NULL on error. Currently, mt7915_mmio_wed_init() does not check for this case, which results in a NULL pointer dereference.
Prevent null pointer dereference in mt7915_mmio_wed_init().
From the CVE record · Linux
The Linux kernel's mt7915 Wi-Fi driver does not check whether devm_ioremap() returns NULL during mt7915_mmio_wed_init(), resulting in a null pointer dereference if the mapping fails. The input does not describe how an attacker could trigger the failure or specify network access, authentication, or user-interaction requirements.
Engineers running Linux kernels with the mt7915 Wi-Fi driver should check their systems; affected versions are not specified.