wifi: iwlwifi: read txq->read_ptr under lock
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
wifi: iwlwifi: read txq->read_ptr under lock
If we read txq->read_ptr without lock, we can read the same value twice, then obtain the lock, and reclaim from there to two different places, but crucially reclaim the same entry twice, resulting in the WARN_ONCE() a little later. Fix that by reading txq->read_ptr under lock.
From the CVE record · Linux
In the Linux kernel's iwlwifi driver, reading a transmit queue pointer without a lock can cause the same entry to be reclaimed twice, triggering a WARN_ONCE() warning. The input does not establish how an attacker could trigger this or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with the iwlwifi driver should check their versions against the vendor advisory; affected versions were not provided.