Re: [PATCH,v2] arm64: fix the illegal address access in some cases
From: Will Deacon <will@kernel.org>
Date: 2020-07-28 13:04:55
From: Will Deacon <will@kernel.org>
Date: 2020-07-28 13:04:55
On Sat, 25 Jul 2020 10:08:06 +0800, guodeqing wrote:
The ihl value of ip header is smaller than 5 in some cases, if the ihl value is smaller than 5, then the next code will access the illegal address, and the system will panic. ip_fast_csum() must be able to handle any value that could fit in the ihl field of the ip protocol header. Here I add the check of the ihl value to solve this problem.
Applied to arm64 (for-next/fixes), thanks!
[1/1] arm64: csum: Reject IP headers with 'ihl' field smaller than five
https://git.kernel.org/arm64/c/09aaef1c5f50
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel