Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#48213 - [glibc] bug, CVE2016-7547

Attached to Project: Arch Linux
Opened by Ingo Albrecht (indigo) - Tuesday, 16 February 2016, 19:06 GMT
Last edited by Allan McRae (Allan) - Wednesday, 17 February 2016, 05:29 GMT
Task Type Bug Report
Category Security
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity Critical
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 9
Private No



Bug to track remote exploitable:
CVE-2015-7547 --- glibc getaddrinfo() stack-based buffer overflow

Additional info:
* glibc & lib32-glibc <= 2.22-3

[1] Disclosure:
[2] Disclousre:
[3] Bug:

Steps to reproduce:
see above links
This task depends upon

Closed by  Allan McRae (Allan)
Wednesday, 17 February 2016, 05:29 GMT
Reason for closing:  Fixed
Additional comments about closing:  glibc-2.22-4
Comment by Ingo Albrecht (indigo) - Tuesday, 16 February 2016, 19:11 GMT
(description should read CVE2015-7547 not 2016)
Comment by Matt Corallo (BlueMatt) - Tuesday, 16 February 2016, 20:34 GMT Comment by Pascal Ernster (hardfalcon) - Tuesday, 16 February 2016, 21:18 GMT
That patch needs a few changes for hunk #6 to actually work. I've attached the adapted version.

I've built the glibc package successfully with this patch, and am currently running it on 3-4 of my boxes, without any problems/crashes so far.
Comment by Levente Polyak (anthraxx) - Tuesday, 16 February 2016, 23:39 GMT
just to confirm, patch looks legit, diff between upstream:

< @@ -767,36 +855,14 @@ send_vc(res_state statp,
> @@ -767,40 +855,14 @@ send_vc(res_state statp,
> -#if __GNUC_PREREQ (4, 7)
> -#endif
> -#if __GNUC_PREREQ (4, 7)
> -#endif
Comment by Sebastian Götte (jaseg) - Wednesday, 17 February 2016, 00:51 GMT
Can confirm this patch building and (for now) working on one pretty basic install (ssh, mosh, weechat on x86_64).