Your commit:

    UBIFS: fix oops when R/O file-system is fsync'ed
    
    This patch fixes severe UBIFS bug: UBIFS oopses when we 'fsync()' an
    file on R/O-mounter file-system. We (the UBIFS authors) incorrectly
    thought that VFS would not propagate 'fsync()' down to the file-system
    if it is read-only, but this is not the case.
    
    It is easy to exploit this bug using the following simple perl script:
    
    use strict;
    use File::Sync qw(fsync sync);
    
    die "File path is not specified" if not defined $ARGV[0];
    my $path = $ARGV[0];
    
    open FILE, "<", "$path" or die "Cannot open $path: $!";
    fsync(\*FILE) or die "cannot fsync $path: $!";
    close FILE or die "Cannot close $path: $!";
    
    Thanks to Reuben Dowle <[email protected]> for reporting about this
    issue.
    
    Signed-off-by: Artem Bityutskiy <[email protected]>
    Reported-by: Reuben Dowle <[email protected]>
    Cc: [email protected]

has been added to the upstream SCSI tree
You can find it here:

http://git.kernel.org/?p=linux/kernel/git/jejb/scsi-misc-2.6.git;a=commit;h=78530bf7f2559b317c04991b52217c1608d5a58d

This patch is scheduled to be pushed when the merge window opens for 2.6.39

James Bottomley

P.S. If you find this email unwanted, set up a procmail rule junking on
the header:

X-Git-Tree: SCSI

_______________________________________________
stable mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/stable

Reply via email to