lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 03 Dec 2008 10:56:00 -0800
From:	<>
Cc:	<>, <>
Subject: patch ext4-mark-the-buffer_heads-as-dirty-and-uptodate-after-prepare_write.patch added to 2.6.27-stable tree

This is a note to let you know that we have just queued up the patch titled

    Subject: ext4: Mark the buffer_heads as dirty and uptodate after prepare_write

to the 2.6.27-stable tree.  Its filename is


A git repo of this tree can be found at;a=summary

>From  Wed Dec  3 10:44:57 2008
From: Aneesh Kumar K.V <>
Date: Sun, 16 Nov 2008 11:05:39 -0500
Subject: ext4: Mark the buffer_heads as dirty and uptodate after prepare_write
Cc: Ext4 Developers List <>, "Theodore Ts'o" <>, "Aneesh Kumar K.V" <>
Message-ID: <>

From: Aneesh Kumar K.V <>

(cherry picked from commit ed9b3e3379731e9f9d2f73f3d7fd9e7d2ce3df4a)

We need to make sure we mark the buffer_heads as dirty and uptodate
so that block_write_full_page write them correctly.

This fixes mmap corruptions that can occur in low memory situations.

Signed-off-by: Aneesh Kumar K.V <>
Signed-off-by: "Theodore Ts'o" <>
Signed-off-by: Greg Kroah-Hartman <>

 fs/ext4/inode.c |    2 ++
 1 file changed, 2 insertions(+)

--- a/fs/ext4/inode.c
+++ b/fs/ext4/inode.c
@@ -2242,6 +2242,8 @@ static int ext4_da_writepage(struct page
 			return 0;
+		/* now mark the buffer_heads as dirty and uptodate */
+		block_commit_write(page, 0, PAGE_CACHE_SIZE);
 	if (test_opt(inode->i_sb, NOBH) && ext4_should_writeback_data(inode))

Patches currently in stable-queue which might be from are

To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to
More majordomo info at

Powered by blists - more mailing lists