Skip to contentSkip to conversation

Out-of-bound access in f2fs_get_dnode_of_data() when operating file on an f2fs image

Bug 200423 [email protected] 1 participant 1 message Aug 26, 2018 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

https://bugzilla.kernel.org/show_bug.cgi?id=200423

Chao Yu ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
          Component|Other                       |f2fs
         Resolution|---                         |CODE_FIX
           Assignee|[email protected] |[email protected]
                   |rg                          |ceforge.net

--- Comment #4 from Chao Yu ([email protected]) ---
After disableing CONFIG_F2FS_CHECK_FS and do retest, below dmesg was printed:

[ 2549.717979] F2FS-fs (loop0): Invalid log blocks per segment (8)
[ 2549.717987] F2FS-fs (loop0): Can't find valid F2FS filesystem in 2th
superblock
[ 2549.718721] F2FS-fs (loop0): invalid crc_offset: 30716
[ 2549.718729] F2FS-fs (loop0): Wrong cp_pack_start_sum: 4194305
[ 2549.718738] F2FS-fs (loop0): Failed to get valid F2FS checkpoint

So I think it has been fixed by below commit:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e494c2f995d6181d6e29c4927d68e0f295ecf75b

Signature · 5 lines
You are receiving this mail because:
You are the assignee for the bug.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot