Re: [PATCH 0/7] CONFIG_FORTIFY_SOURCE

From: Andrew Morton
Date: Mon Jun 19 2017 - 17:51:00 EST


On Mon, 19 Jun 2017 13:26:20 -0700 Kees Cook <keescook@xxxxxxxxxxxx> wrote:

> Here are the outstanding fixes for CONFIG_FORTIFY_SOURCE, along with Daniel's
> v5 patch and a tweak from me to add CONFIG_ARCH_HAS_FORTIFY_SOURCE to avoid
> failing the build on architectures that have not hunted down all the needed
> fixes yet.
>
> This was in my for-next/kspp tree, but since it depends on fixes in other
> trees, the preference is for these to all get carried in -mm instead of
> in KSPP.

All the patches you sent are already in -next (from the kspp tree?) so
I can't use them.

> The extra needed fixes in -next are:
>
> scsi: csiostor: Avoid content leaks and casts
> arm64, vdso: Define vdso_{start,end} as array
> staging/rts5208: Fix read overflow in memcpy
> libertas: Avoid reading past end of buffer
> ray_cs: Avoid reading past end of buffer

These didn't get sent out?

If the kspp tree is already in -next then how about leaving things that
way, and send Linus a pull request for -rc1?