lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 10 Nov 2015 00:35:50 +0900
From:	Jungseung Lee <js07.lee@...il.com>
To:	Shailendra Verma <shailendra.v@...ung.com>
Cc:	Russell King <linux@....linux.org.uk>,
	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	Arve Hjønnevåg <arve@...roid.com>,
	Riley Andrews <riandrews@...roid.com>,
	Laura Abbott <lauraa@...eaurora.org>,
	Shailendra Verma <shailendra.capricorn@...il.com>,
	Dan Carpenter <dan.carpenter@...cle.com>,
	Mitchel Humpherys <mitchelh@...eaurora.org>,
	Sumit Semwal <sumit.semwal@...aro.org>,
	"Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>,
	Gioh Kim <gioh.kim@....com>,
	Rasmus Villemoes <linux@...musvillemoes.dk>,
	Shawn Lin <shawn.lin@...k-chips.com>,
	Markus Elfring <elfring@...rs.sourceforge.net>,
	"linux-arm-kernel@...ts.infradead.org" 
	<linux-arm-kernel@...ts.infradead.org>, devel@...verdev.osuosl.org,
	Ravikant Bijendra Sharma <ravikant.s2@...sung.com>,
	Shailendra Verma <shailendra.v@...sung.com>,
	linux-kernel@...r.kernel.org, vidushi.koul@...sung.com,
	hillf.zj@...baba-inc.com
Subject: Re: [PATCH] arch:arm:mm:Correction in the boundary check for module
 end address.

Hi,

2015-11-09 16:57 GMT+09:00 Shailendra Verma <shailendra.v@...ung.com>:
> From: Shailendra Verma <Shailendra.v@...sung.com>
>
> The module end boundary check is not proper.The out of bound value
> of module end can produce undesired results.
>
> Signed-off-by: Shailendra Verma <Shailendra.v@...sung.com>
> Reviewed-by: Ravikant Bijendra Sharma <ravikant.s2@...sung.com>
> ---
>  linux-4.3-rc6/arch/arm/mm/pageattr.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/linux-4.3-rc6/arch/arm/mm/pageattr.c b/linux-4.3-rc6/arch/arm/mm/pageattr.c
> index cf30daf..be7fe4b 100644
> --- a/linux-4.3-rc6/arch/arm/mm/pageattr.c
> +++ b/linux-4.3-rc6/arch/arm/mm/pageattr.c
> @@ -52,7 +52,7 @@ static int change_memory_common(unsigned long addr, int numpages,
>         if (start < MODULES_VADDR || start >= MODULES_END)
>                 return -EINVAL;
>
> -       if (end < MODULES_VADDR || start >= MODULES_END)
> +       if (end < MODULES_VADDR || end >= MODULES_END)
>                 return -EINVAL;
>
>         data.set_mask = set_mask;
> --
> 1.7.9.5
>
Same patch with proper format is already submitted by Hillf.
https://lkml.org/lkml/2015/5/3/202

Best Regards,
Jungseung Lee
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ