Files
poky/meta/recipes-devtools
Yuanjie Huang 1693b28967 binutils: Fix CVE-2017-6965 and CVE-2017-6966
Backport upstream commit to address vulnerabilities:

CVE: CVE-2017-6965
[BZ 21137] -- https://sourceware.org/bugzilla/show_bug.cgi?id=21137

Fix readelf writing to illegal addresses whilst processing corrupt input
files containing symbol-difference relocations.

	PR binutils/21137
	* readelf.c (target_specific_reloc_handling): Add end parameter.
	Check for buffer overflow before writing relocated values.
	(apply_relocations): Pass end to target_specific_reloc_handling.

CVE: CVE-2017-6966
[BZ 21139] -- https://sourceware.org/bugzilla/show_bug.cgi?id=21139

Fix read-after-free error in readelf when processing multiple, relocated
sections in an MSP430 binary.

	PR binutils/21139
	* readelf.c (target_specific_reloc_handling): Add num_syms
	parameter.  Check for symbol table overflow before accessing
	symbol value.  If reloc pointer is NULL, discard all saved state.
	(apply_relocations): Pass num_syms to target_specific_reloc_handling.
	Call target_specific_reloc_handling with a NULL reloc pointer
	after processing all of the relocs.

(From OE-Core rev: 477afc5634698d6c5cdb6d7705a31d859495695d)

Signed-off-by: Yuanjie Huang <yuanjie.huang@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-05-18 13:07:33 +01:00
..
2016-09-14 22:22:07 +01:00
2016-09-03 09:58:37 +01:00
2016-07-26 08:56:26 +01:00
2016-02-19 01:01:24 +00:00
2016-06-12 23:47:18 +01:00
2016-07-08 09:57:24 +01:00
2016-10-11 08:27:27 +01:00
2016-08-25 23:03:45 +01:00
2016-08-10 10:46:29 +01:00
2015-12-18 12:18:19 +00:00
2016-07-08 09:57:24 +01:00
2016-05-25 07:50:17 +01:00
2016-07-12 23:10:14 +01:00
2016-08-25 23:03:45 +01:00
2016-07-20 10:28:49 +01:00
2016-06-07 15:22:37 +01:00
2016-09-09 12:12:22 +01:00
2016-09-15 12:15:07 +01:00
2016-06-15 08:35:03 +01:00
2017-01-11 17:21:41 +00:00
2016-06-03 13:13:27 +01:00
2016-07-01 16:22:43 +01:00
2016-08-04 15:22:23 +01:00
2015-12-16 12:12:15 +00:00
2016-09-14 22:22:07 +01:00
2015-06-11 23:59:15 +01:00