kern/161159: FreeBSD-SA-11:05.unix patch causes Linux emulator X error

Hiroshi Saeki h-saeki at wmail.plala.or.jp
Sun Oct 2 04:20:09 UTC 2011


The following reply was made to PR kern/161159; it has been noted by GNATS.

From: Hiroshi Saeki <h-saeki at wmail.plala.or.jp>
To: Chris <skvortsov42 at gmail.com>, bug-followup at FreeBSD.org
Cc:  
Subject: Re: kern/161159: FreeBSD-SA-11:05.unix patch causes Linux emulator
 X error
Date: Sun, 02 Oct 2011 13:11:32 +0900

 (2011/10/02 11:00), Chris wrote:
 > I can confirm this: Flash is dead as a doornail now.
 
 
 I sent send-pr,but those who are in The FreeBSD Project
 already knew this issue.
 
 In
 http://home.jp.freebsd.org/cgi-bin/showmail/FreeBSD-users-jp/93524
 (In Japanese),
 Hiroki Sato,Core Team member, states:
 
 "The reason of this error is that FreeBSD-SA-11:05.unix
 makes another bug tangible. We will publish patch to fix
 this newer bug soon. Please wait a while."
 (my translation)
 
 Also,
 in
 
 From: "Bjoern A. Zeeb" <bz at zabbadoz.net>
 To: Andrew <andrew at flarn.com>
 Cc: freebsd-ports at freebsd.org
 Subject: Re: Linuxulator X11 broken?
 Date: Fri, 30 Sep 2011 09:08:34 +0000
 Sender: owner-freebsd-ports at freebsd.org
 X-Mailer: Apple Mail (2.1084)
 
 Bjoern A. Zeeb,Security Team member, states:
 
 "It will always do that.  There's a linuxolator bug in the kernel that
 the latest SAs unhid.  People are working on it but it'll need fixing
 in all security branches so it's not a 3 minute task unfortunately.
 
 /bz"
 
 
 And
 
 Date:      Fri, 30 Sep 2011 01:00:25 -0700
 From:      FreeBSD Security Officer <cperciva at freebsd.org>
 To:        freebsd-security at freebsd.org, freebsd-emulation at freebsd.org
 Subject:   HEADS UP: breakage with linux emulation + SA-11:05.unix
 Message-ID:  <4E857719.7060306 at freebsd.org>
 
 Next in thread | Raw E-Mail | Index | Archive | Help
 
 Hi all,
 
 It appears that the security fix in SA-11:05.unix exposed a bug in the linux
 emulation code: Linux has a different size of sockaddr_un than FreeBSD, and
 the linux emulation code was passing socket addresses through without doing
 any translation first.
 
 This appears to break all X-using Linux code -- both applications and
 plugins
 such as the widely-used flash plugin -- and probably other Linux
 applications
 too.
 
 I am working on a fix for this and will send an updated advisory out as soon
 as it's ready.
 
 -- 
 Colin Percival
 Security Officer, FreeBSD | freebsd.org | The power to serve
 Founder / author, Tarsnap | tarsnap.com | Online backups for the truly
 paranoid
 
 
 
 
 It seems to me that work is surely in progress before I sent send-pr.
 I don't want to confuse The FreeBSD Project developers.
 
 
 
 Regards,
                                         Hiroshi Saeki
 
 
 
 
 
 


More information about the freebsd-bugs mailing list