Date: Mon, 12 May 2014 16:03:10 +0530 From: Savio Bot <54v330@...il.com> To: Matthew Daley <mattd@...fuzz.com> Cc: fulldisclosure@...lists.org, oss-security@...ts.openwall.com Subject: Re: [FD] CVE-2014-0196: Linux kernel pty layer race condition memory corruption Hi, So is this bug also present in 2.6? Regards, savio On 12-May-2014 3:58 PM, "Matthew Daley" <mattd@...fuzz.com> wrote: > Sorry, forgot to mention that this targets 64-bit kernels. > > On Mon, May 12, 2014 at 9:15 PM, Matthew Daley <mattd@...fuzz.com> wrote: > > Hi, > > > > I've written a "slightly-less-than-POC" privilege escalation exploit for > > this vulnerability that works on newer kernels: > > http://bugfuzz.com/stuff/cve-2014-0196-md.c (SHA1: > > 6b1c5c651231b33a5e11b5c8c6ed07cd15f658f5) > > > > Note the warning mentioned in the header; run it at your own risk ;) > > > > - Matthew Daley > > > > > > On Mon, May 5, 2014 at 10:08 PM, Marcus Meissner <meissner@...e.de> > wrote: > >> > >> Hi, > >> > >> SUSE customer Ericsson reported a kernel crash to us which turned out > >> to be a race condition in the PTY write buffer handling. > >> > >> When two processes/threads write to the same pty, the buffer end could > >> be overwritten and so memory corruption into adjacent buffers could lead > >> to crashes / code execution. > >> > >> Jiri Slaby and Peter Hurley localized and fixed this problem. > >> > >> CVE-2014-0196 has been assigned to this issue. > >> > >> Jiri thinks this was introduced during 2.6.31 development by > >> d945cb9cce20ac7143c2de8d88b187f62db99bdc (pty: Rework the pty > >> layer to use the normal buffering logic) in 2.6.31-rc3. Until then, pty > >> was writing directly to a line discipline without using buffers. > >> > >> https://bugzilla.novell.com/show_bug.cgi?id=875690 > >> > >> Patch is also attached. > >> > >> Ciao, Marcus > > > > > > _______________________________________________ > Sent through the Full Disclosure mailing list > http://nmap.org/mailman/listinfo/fulldisclosure > Web Archives & RSS: http://seclists.org/fulldisclosure/ >
Powered by blists - more mailing lists
Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.