diff options
author | Adrien Schildknecht <adrien+dev@schischi.me> | 2015-08-14 02:35:32 +0200 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2015-08-18 10:25:25 +0300 |
commit | e192cd121dbe009f67eddd5171d588994b15486c (patch) | |
tree | c2623a350ec624ccade516a509e66a5937df1c2b /Documentation/DMA-API.txt | |
parent | da0fa5ebb254d1617455ace9af1ce2f1d375a95d (diff) | |
download | op-kernel-dev-e192cd121dbe009f67eddd5171d588994b15486c.zip op-kernel-dev-e192cd121dbe009f67eddd5171d588994b15486c.tar.gz |
iwlwifi: out-of-bounds access in iwl_init_sband_channels
KASan error report:
==================================================================
BUG: KASan: out of bounds access in iwl_init_sband_channels+0x207/0x260 [iwlwifi] at addr ffff8800c2d0aac8
Read of size 4 by task modprobe/329
==================================================================
Both loops of this function compare data from the 'chan' array and then
check if the index is valid.
The 2 conditions should be inverted to avoid an out-of-bounds access.
Signed-off-by: Adrien Schildknecht <adrien+dev@schischi.me>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'Documentation/DMA-API.txt')
0 files changed, 0 insertions, 0 deletions