wifi: mt76: mt7996: avoid NULL pointer dereference in mt7996_set_monitor()
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: mt7996: avoid NULL pointer dereference in mt7996_set_monitor()
The function mt7996_set_monitor() dereferences phy before the NULL sanity check.
Fix this to avoid NULL pointer dereference by moving the dereference after the check.
From the CVE record · Linux
In the Linux kernel's mt76 mt7996 driver, mt7996_set_monitor() dereferences phy before checking whether it is NULL. This can cause a NULL pointer dereference when phy is NULL; the input does not specify how an attacker could trigger it or whether authentication or user interaction is required.
Engineers running Linux kernels with the mt76 mt7996 driver should check their versions; affected versions are not specified.