[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110610214036.GA23163@infradead.org>
Date: Fri, 10 Jun 2011 17:40:36 -0400
From: Christoph Hellwig <hch@...radead.org>
To: Clement LECIGNE <clement.lecigne@...asq.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [BUG] hfs_find_init() sb->ext_tree NULL pointer dereference
On Wed, Jun 08, 2011 at 01:07:55PM +0200, Clement LECIGNE wrote:
> Hi,
>
> hfs_find_init() is wrongly assuming that sb->ext_tree has already been opened
> and is not NULL but this function can be called when sb->ext_tree is currently
> being opened (NULL deref).
Well, it can't happen in practice. The extent file always fits into
the first blocks for a valid extents file. And yes, you could
artifically construct a filesystem where this is not true, and if you
want to be cool call it a security issue. But in the end anyone who
mounts untrusted disk images has much worse issues than this, so don't
do it.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists