mac80211: check defrag PN against current frame
As pointed out by Mathy Vanhoef, we implement the RX PN check on fragmented frames incorrectly - we check against the last received PN prior to the new frame, rather than to the one in this frame itself. Prior patches addressed the security issue here, but in order to be able to reason better about the code, fix it to really compare against the current frame's PN, not the last stored one. Cc: stable@vger.kernel.org Link: https://lore.kernel.org/r/20210511200110.bfbc340ff071.Id0b690e581da7d03d76df90bb0e3fd55930bc8a0@changeid Signed-off-by:Johannes Berg <johannes.berg@intel.com>
parent
3a11ce08
-
mentioned in commit a9b57952
-
mentioned in commit 0f716b48
-
mentioned in commit 608b0a2a
-
mentioned in commit d0f613fe
-
mentioned in commit f556e1d6
-
mentioned in commit 3d5d629c
-
mentioned in commit 447d001b
-
mentioned in commit 31de381a
-
mentioned in commit 57de2dcb
-
mentioned in commit 50149e08
Please register or sign in to comment