Re: [PATCH 6.6.y] f2fs: fix null-ptr-deref in f2fs_submit_page_bio()

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

 



[ Sasha's backport helper bot ]

Hi,

The upstream commit SHA1 provided is correct: b7d0a97b28083084ebdd8e5c6bccd12e6ec18faa

WARNING: Author mismatch between patch and upstream commit:
Backport author: lanbincn@xxxxxx
Commit author: Ye Bin<yebin10@xxxxxxxxxx>


Status in newer kernel trees:
6.12.y | Present (different SHA1: 9e11b1d5fda9)
6.6.y | Not found

Note: The patch differs from the upstream commit:
---
1:  b7d0a97b2808 ! 1:  73a09904eb0d f2fs: fix null-ptr-deref in f2fs_submit_page_bio()
    @@ Metadata
      ## Commit message ##
         f2fs: fix null-ptr-deref in f2fs_submit_page_bio()
     
    +    [ Upstream commit b7d0a97b28083084ebdd8e5c6bccd12e6ec18faa ]
    +
         There's issue as follows when concurrently installing the f2fs.ko
         module and mounting the f2fs file system:
         KASAN: null-ptr-deref in range [0x0000000000000020-0x0000000000000027]
    @@ Commit message
         Signed-off-by: Ye Bin <yebin10@xxxxxxxxxx>
         Reviewed-by: Chao Yu <chao@xxxxxxxxxx>
         Signed-off-by: Jaegeuk Kim <jaegeuk@xxxxxxxxxx>
    +    Signed-off-by: Bin Lan <lanbincn@xxxxxx>
     
      ## fs/f2fs/super.c ##
     @@ fs/f2fs/super.c: static int __init init_f2fs_fs(void)
    - 	err = f2fs_init_shrinker();
    + 	err = register_shrinker(&f2fs_shrinker_info, "f2fs-shrinker");
      	if (err)
      		goto free_sysfs;
     -	err = register_filesystem(&f2fs_fs_type);
    @@ fs/f2fs/super.c: static int __init init_f2fs_fs(void)
      	f2fs_destroy_root_stats();
     -	unregister_filesystem(&f2fs_fs_type);
     -free_shrinker:
    - 	f2fs_exit_shrinker();
    + 	unregister_shrinker(&f2fs_shrinker_info);
      free_sysfs:
      	f2fs_exit_sysfs();
     @@ fs/f2fs/super.c: static int __init init_f2fs_fs(void)
    @@ fs/f2fs/super.c: static void __exit exit_f2fs_fs(void)
      	f2fs_destroy_post_read_processing();
      	f2fs_destroy_root_stats();
     -	unregister_filesystem(&f2fs_fs_type);
    - 	f2fs_exit_shrinker();
    + 	unregister_shrinker(&f2fs_shrinker_info);
      	f2fs_exit_sysfs();
      	f2fs_destroy_garbage_collection_cache();
---

Results of testing on various branches:

| Branch                    | Patch Apply | Build Test |
|---------------------------|-------------|------------|
| stable/linux-6.6.y        |  Success    |  Success   |




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux