Re: [linus:master] [netfs] cd0277ed0c: BUG:KASAN:slab-use-after-free_in_copy_from_iter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, David,

On Tue, Sep 24, 2024 at 10:40:07PM +0100, David Howells wrote:
> Hi Oliver,
> 
> Can you try the attached?

yes, this patch fixed the issue we reported.
Tested-by: kernel test robot <oliver.sang@xxxxxxxxx>

we found this patch cannot apply on cd0277ed0c directly, so apply it upon
mainline commit
684a64bf32b6e Merge tag 'nfs-for-6.12-1' of git://git.linux-nfs.org/projects/anna/linux-nfs

for this report, we found the failure for generic/113
(https://download.01.org/0day-ci/archive/20240918/202409180928.f20b5a08-oliver.sang@xxxxxxxxx/xfstests)

by the patch

=========================================================================================
compiler/disk/fs2/fs/kconfig/rootfs/tbox_group/test/testcase:
  gcc-12/4HDD/smbv2/ext4/x86_64-rhel-8.3-func/debian-12-x86_64-20240206.cgz/lkp-skl-d05/generic-group-11/xfstests

commit:
  684a64bf32b6e ("Merge tag 'nfs-for-6.12-1' of git://git.linux-nfs.org/projects/anna/linux-nfs")
  b0b53eafc5a38 (linux-devel/fixup-684a64bf32b6e) netfs: Fix write oops in generic/346 (9p) and maybe generic/074 (cifs)

684a64bf32b6e488 b0b53eafc5a3803dcebf2899cbc
---------------- ---------------------------
       fail:runs  %reproduction    fail:runs
           |             |             |
          6:6          -83%            :6     dmesg.BUG:KASAN:slab-use-after-free_in_copy_from_iter
           :6          100%           6:6     xfstests.generic.113.pass


since generic/074 is mentioned, we also tested and confirmed it's also a good
fix. thanks

=========================================================================================
compiler/disk/fs2/fs/kconfig/rootfs/tbox_group/test/testcase:
  gcc-12/4HDD/smbv2/ext4/x86_64-rhel-8.3-func/debian-12-x86_64-20240206.cgz/lkp-skl-d05/generic-074/xfstests

commit:
  684a64bf32b6e ("Merge tag 'nfs-for-6.12-1' of git://git.linux-nfs.org/projects/anna/linux-nfs")
  b0b53eafc5a38 (linux-devel/fixup-684a64bf32b6e) netfs: Fix write oops in generic/346 (9p) and maybe generic/074 (cifs)


684a64bf32b6e488 b0b53eafc5a3803dcebf2899cbc
---------------- ---------------------------
       fail:runs  %reproduction    fail:runs
           |             |             |
          6:6          -83%            :6     dmesg.BUG:KASAN:slab-use-after-free_in_copy_from_iter
           :6          100%           6:6     xfstests.generic.074.pass


> 
> Thanks,
> David




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux