From: Daniel J Blueman <daniel.blueman@gmail.com>
To: "Alan Cox" <alan@lxorguk.ukuu.org.uk>,
"Bruno Prémont" <bonbons@linux-vserver.org>,
"Paul Mundt" <lethal@linux-sh.org>,
linux-fbdev@vger.kernel.org,
"Linux Kernel" <linux-kernel@vger.kernel.org>
Subject: Re: [2.6.39-rc2, framebuffer] use after free oops
Date: Fri, 06 May 2011 02:38:58 +0000 [thread overview]
Message-ID: <BANLkTikF5YL8tJ_f5510yy1Ywm69rOUK2A@mail.gmail.com> (raw)
In-Reply-To: <20110420105631.70695dfa@lxorguk.ukuu.org.uk>
On 20 April 2011 17:56, Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
> On Wed, 20 Apr 2011 08:05:35 +0200
> Bruno Prémont <bonbons@linux-vserver.org> wrote:
>
>> On Wed, 20 Apr 2011 13:50:10 Daniel J Blueman <daniel.blueman@gmail.com> wrote:
>> > Any ideas on how best to address this issue [0], since it causes
>> > silent corruption, or at best crashes?
>>
>> There is probably no easy short-term fix to this...
>
> The short term fix would be to deliberately leak the buffer. That should
> go into 2.6.39-rc right now with a comment explaining the situation.
> Otherwise who knows what corruption may occur to user data if unlucky.
>
> The other 'cheat' might be to tweak the API so the removal API isn't a
> 'destroy' interface but a 'shut down' and has a matching 'restart' one
> for when the intelfb unloads at which point vga16fb can carry on with the
> original fb_info 8)
It looks like Andy Whitcroft addressed this issue some time ago, but
forgot to send the fix upstream:
http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-natty.git;a=patch;hÅa742b5f78e161d6a13853a7e3e6e1dfa429e69;hp&a1443f67eea17d4b78ef75df701782cc8bf35b
Let's hope it can hit -rc7 since it's been in Ubuntu's kernel tree for
considerable time, and fixes a silent corrupter:
http://groups.google.com/group/linux.kernel/browse_thread/thread/fc9083f6f380ed5b/f801112b840785cb?show_docidø01112b840785cb
Thanks,
Daniel
--
Daniel J Blueman
next prev parent reply other threads:[~2011-05-06 2:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-10 11:10 [2.6.39-rc2, framebuffer] use after free oops Daniel J Blueman
2011-04-20 5:50 ` Daniel J Blueman
2011-04-20 6:05 ` Bruno Prémont
2011-04-20 9:56 ` Alan Cox
2011-05-06 2:38 ` Daniel J Blueman [this message]
2011-05-07 15:24 ` Anca Emanuel
2011-05-08 11:25 ` Daniel J Blueman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BANLkTikF5YL8tJ_f5510yy1Ywm69rOUK2A@mail.gmail.com \
--to=daniel.blueman@gmail.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=bonbons@linux-vserver.org \
--cc=lethal@linux-sh.org \
--cc=linux-fbdev@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).