<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/fs, branch linux-2.6.11.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-2.6.11.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-2.6.11.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2005-06-12T02:45:26Z</updated>
<entry>
<title>[PATCH] ext3: fix log_do_checkpoint() assertion failure</title>
<updated>2005-06-12T02:45:26Z</updated>
<author>
<name>Jan Kara</name>
<email>jack@suse.cz</email>
</author>
<published>2005-06-01T07:40:59Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=39dbf77a9f6acde730378c8b83879fc33ff4a596'/>
<id>urn:sha1:39dbf77a9f6acde730378c8b83879fc33ff4a596</id>
<content type='text'>
Fix possible false assertion failure in log_do_checkpoint(). We might fail
to detect that we actually made a progress when cleaning up the checkpoint
lists if we don't retry after writing something to disk. The patch was
confirmed to fix observed assertion failures for several users.

When we flushed some buffers we need to retry scanning the list.
Otherwise we can fail to detect our progress.

Signed-off-by: Jan Kara &lt;jack@suse.cz&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Chris Wright &lt;chrisw@osdl.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] fix hfsplus oops, hfs and hfsplus leak</title>
<updated>2005-06-12T02:45:22Z</updated>
<author>
<name>Colin Leroy</name>
<email>colin@colino.net</email>
</author>
<published>2005-05-30T14:01:58Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=08373277d66dd334de2e20cf05e85533aaccf257'/>
<id>urn:sha1:08373277d66dd334de2e20cf05e85533aaccf257</id>
<content type='text'>
This patch fixes the leak of sb-&gt;s_fs_info in both the HFS and HFS+
modules. In addition to this, it fixes an oops happening when trying to
mount a non-hfsplus filesystem using hfsplus. This patch is from Roman
Zippel, based off patches sent by myself. It's been included in 2.6.12-
rc4. See
http://www.kernel.org/git/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=945b092011c6af71a0107be96e119c8c08776f3f

(chrisw: backport to -stable)

Signed-off-by: Roman Zippel &lt;zippel@linux-m68k.org&gt;
Signed-off-by: Colin Leroy &lt;colin@colino.net&gt;
Signed-off-by: Chris Wright &lt;chrisw@osdl.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

 fs/hfs/mdb.c       |    5 +++++
 fs/hfs/super.c     |    8 +++-----
 fs/hfsplus/super.c |    6 +++++-
 3 files changed, 13 insertions(+), 6 deletions(-)
</content>
</entry>
<entry>
<title>[PATCH] ext3: fix race between ext3 make block reservation and reservation window discard</title>
<updated>2005-05-27T04:20:03Z</updated>
<author>
<name>cmm@us.ibm.com</name>
<email>cmm@us.ibm.com</email>
</author>
<published>2005-03-10T16:44:10Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=fa0726854c4f03f9d2d1e00bb3b67a49ce490c32'/>
<id>urn:sha1:fa0726854c4f03f9d2d1e00bb3b67a49ce490c32</id>
<content type='text'>
This patch fixed a race between ext3_discard_reservation() and
ext3_try_to_allocate_with_rsv().

There is a window where ext3_discard_reservation will remove an already
unlinked reservation window node from the filesystem reservation tree:
It thinks the reservation is still linked in the filesystem reservation
tree, but it is actually temperately removed from the tree by
allocate_new_reservation() when it failed to make a new reservation from
the current group and try to make a new reservation from next block
group.

Here is how it could happen:

CPU 1
try to allocate a block in group1 with given reservation window my_rsv
ext3_try_to_allocate_with_rsv(group
	----copy reservation window my_rsv into local rsv_copy
	ext3_try_to_allocate(...rsv_copy)
		----no free block in existing reservation window,
		----need a new reservation window
	spin_lock(&amp;rsv_lock);

CPU 2

ext3_discard_reservation
	if (!rsv_is_empty()
		----this is true
	spin_lock(&amp;rsv_lock)
		----waiting for thread 1

CPU 1:

	allocate_new_reservation
		failed to reserve blocks in this group
		remove the window from the tree
		rsv_window_remove(my_rsv)
			----window node is unlinked from the tree here
		return -1
	spin_unlock(&amp;rsv_lock)
ext3_try_to_allocate_with_rsv() failed in this group
group++

CPU 2
	spin_lock(&amp;rsv_lock) succeed
	rsv_remove_window ()
		---------------break, trying to remove a unlinked node from the tree
	....

CPU 1:
ext3_try_to_allocate_with_rsv(group, my_rsv)
	rsv_is_empty is true, need a new reservation window
	spin_lock(&amp;rsv_lock);
		^--------------- spinning forever

We need to re-check whether the reservation window is still linked to
the tree after grab the rsv_lock spin lock in ext3_discard_reservation,
to prevent panic in rsv_remove_window-&gt;rb_erase.

Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Signed-off-by: Chris Wright &lt;chrisw@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] fix Linux kernel ELF core dump privilege elevation</title>
<updated>2005-05-12T17:00:25Z</updated>
<author>
<name>gregkh@suse.de</name>
<email>gregkh@suse.de</email>
</author>
<published>2005-05-11T22:29:30Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=a1dbebb632300c22c0b68d248ea9b8991537a586'/>
<id>urn:sha1:a1dbebb632300c22c0b68d248ea9b8991537a586</id>
<content type='text'>
As reported by Paul Starzetz &lt;ihaquer@isec.pl&gt;

Reference: CAN-2005-1263

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] Cset exclude: khali@linux-fr.org[gregkh]|ChangeSet|20050430010004|65088</title>
<updated>2005-05-12T17:00:23Z</updated>
<author>
<name>gregkh@suse.de</name>
<email>gregkh@suse.de</email>
</author>
<published>2005-05-06T15:54:20Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=5d6a280364977f262eee6db305b5059bbd2820e6'/>
<id>urn:sha1:5d6a280364977f262eee6db305b5059bbd2820e6</id>
<content type='text'>
Revert the msdos.c patch as it causes more problems than it helps right now.
(it got munged together with the i2c patch also, stupid scripts...)

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] I2C: Fix incorrect sysfs file permissions in it87 and via686a drivers</title>
<updated>2005-05-12T17:00:21Z</updated>
<author>
<name>khali@linux-fr.org</name>
<email>khali@linux-fr.org</email>
</author>
<published>2005-04-30T01:00:04Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=64ffae4fd89885a42a39ce91348e008a9f92166a'/>
<id>urn:sha1:64ffae4fd89885a42a39ce91348e008a9f92166a</id>
<content type='text'>
The it87 and via686a hardware monitoring drivers each create a sysfs
file named "alarms" in R/W mode, while they should really create it in
read-only mode. Since we don't provide a store function for these files,
write attempts to these files will do something undefined (I guess) and
bad (I am sure). My own try resulted in a locked terminal (where I
attempted the write) and a 100% CPU load until next reboot.

As a side note, wouldn't it make sense to check, when creating sysfs
files, that readable files have a non-NULL show method, and writable
files have a non-NULL store method? I know drivers are not supposed to
do stupid things, but there is already a BUG_ON for several conditions
in sysfs_create_file, so maybe we could add two more?

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] Prevent race condition in jbd</title>
<updated>2005-05-12T17:00:18Z</updated>
<author>
<name>Stephen Tweedie</name>
<email>sct@redhat.com</email>
</author>
<published>2005-04-07T18:17:40Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=90aa130583686f38909d9947598e77a3a4f822e7'/>
<id>urn:sha1:90aa130583686f38909d9947598e77a3a4f822e7</id>
<content type='text'>
Subject: Prevent race condition in jbd

This patch from Stephen Tweedie which fixes a race in jbd code (it
demonstrated itself as more or less random NULL dereferences in the
journal code).

Acked-by: Jan Kara &lt;jack@suse.cz&gt;
Acked-by: Chris Mason &lt;mason@suse.com&gt;
Signed-off-by: Chris Wright &lt;chrisw@osdl.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] Potential DOS in load_elf_library</title>
<updated>2005-05-12T17:00:17Z</updated>
<author>
<name>Herbert Xu</name>
<email>herbert@gondor.apana.org.au</email>
</author>
<published>2005-03-26T01:50:52Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=e1c94ff4369c75db32b257433dae33e9ee94a526'/>
<id>urn:sha1:e1c94ff4369c75db32b257433dae33e9ee94a526</id>
<content type='text'>
Yichen Xie &lt;yxie@cs.stanford.edu&gt; points out that load_elf_library can
modify `elf_phdata' before freeing it.

CAN-2005-0749 is assigned to this issue.

Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Chris Wright &lt;chrisw@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] Suspected information leak (mem pages) in ext2</title>
<updated>2005-05-12T17:00:17Z</updated>
<author>
<name>Mathieu Lafon</name>
<email>mlafon@arkoon.net</email>
</author>
<published>2005-03-26T01:50:01Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=719f9e713a2de9c90a79a90900f3b297da409f67'/>
<id>urn:sha1:719f9e713a2de9c90a79a90900f3b297da409f67</id>
<content type='text'>
I think I have discovered a potential security problem in ext2: when a
new directory is created, the ext2 block written to disk is not
initialized.

Included is a proposed patch for Linux 2.6 (ext2_make_empty() function):

CAN-2005-0400 is assigned to this issue.

Signed-off-by: Chris Wright &lt;chrisw@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] isofs: more defensive checks against corrupt isofs images</title>
<updated>2005-05-12T17:00:16Z</updated>
<author>
<name>chrisw@osdl.org</name>
<email>chrisw@osdl.org</email>
</author>
<published>2005-03-26T01:46:03Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=cc981951dbc7d761777faaaf0fa246d9c9e78604'/>
<id>urn:sha1:cc981951dbc7d761777faaaf0fa246d9c9e78604</id>
<content type='text'>
Michal Zalewski &lt;lcamtuf@dione.ids.pl&gt; discovers range checking flaws in
iso9660 filesystem.

http://marc.theaimsgroup.com/?l=bugtraq&amp;m=111110067304783&amp;w=2

CAN-2005-0815 is assigned to this issue.

Some more defensive checks to keep corrupt isofs images from corrupting
memory or causing Oops.

Signed-off-by: Chris Wright &lt;chrisw@osdl.org&gt;

===== fs/isofs/rock.c 1.23 vs edited =====
</content>
</entry>
</feed>
