From: Will Deacon <will@kernel.org>
To: Robin Murphy <robin.murphy@arm.com>
Cc: "catalin.marinas@arm.com" <catalin.marinas@arm.com>,
"luke.starrett@broadcom.com" <luke.starrett@broadcom.com>,
"kernel-team@android.com" <kernel-team@android.com>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"Guodeqing \(A\)" <geffrey.guo@huawei.com>
Subject: Re: 答复: [PATCH,v2] arm64: fix the illegal address access in some cases
Date: Thu, 30 Jul 2020 17:03:04 +0100 [thread overview]
Message-ID: <20200730160303.GB24716@willie-the-truck> (raw)
In-Reply-To: <621b4e9e-3111-9109-82a1-2c2c14f05ddb@arm.com>
On Thu, Jul 30, 2020 at 10:56:49AM +0100, Robin Murphy wrote:
> Subject: [PATCH] arm64: csum: Fix handling of bad packets
>
> Although iph is expected to point to at least 20 bytes of valid memory,
> ihl may be bogus, for example on reception of a corrupt packet. If it
> happens to be less than 5, we really don't want to run away and
> dereference 16GB worth of memory until it wraps back to exactly zero...
>
> Fixes: 0e455d8e80aa ("arm64: Implement optimised IP checksum helpers")
> Reported-by: guodeqing <geffrey.guo@huawei.com>
> Signed-off-by: Robin Murphy <robin.murphy@arm.com>
> ---
> arch/arm64/include/asm/checksum.h | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
Cheers, Robin, I'll queue this one shortly (b4 can't cope with this thread
at all, so treat this as the automated email :)
Will
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2020-07-30 16:04 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-25 2:08 [PATCH,v2] arm64: fix the illegal address access in some cases guodeqing
2020-07-27 11:47 ` Catalin Marinas
2020-07-27 13:29 ` 答复: " Guodeqing (A)
2020-07-28 9:53 ` Catalin Marinas
2020-07-28 13:03 ` Will Deacon
2020-07-28 14:30 ` Robin Murphy
2020-07-28 15:35 ` Will Deacon
2020-07-29 7:05 ` 答复: " Guodeqing (A)
2020-07-30 8:44 ` Will Deacon
2020-07-30 9:56 ` Robin Murphy
2020-07-30 16:03 ` Will Deacon [this message]
2020-07-31 3:04 ` 答复: " Guodeqing (A)
2020-07-30 10:49 ` Guodeqing (A)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200730160303.GB24716@willie-the-truck \
--to=will@kernel.org \
--cc=catalin.marinas@arm.com \
--cc=geffrey.guo@huawei.com \
--cc=kernel-team@android.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=luke.starrett@broadcom.com \
--cc=robin.murphy@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox