[Bug 199179] Invalid pointer dereference when mounting crafted ext4 image in ext4_process_freed_data

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

 



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

--- Comment #3 from Wen Xu (wen.xu@xxxxxxxxxx) ---
Thank you for the quick response! By the way, I wonder whether I can get CVE
numbers assigned for such kinda issues I reported recently?(In reply to
Theodore Tso from comment #2)
> Created attachment 274933 [details]
> Proposed patch to fix the reported bug.
> 
> Thanks for reporting this bug.  The attached should address the problem.
> 
>     If the root directory has an i_links_count of zero, then when the file
>     system is mounted, then when ext4_fill_super() notices the problem and
>     tries to call iput() the root directory in the error return path,
>     ext4_evict_inode() will try to free the inode on disk, before all of
>     the file system structures are set up, and this will result in an OOPS
>     caused by a NULL pointer dereference.

Thank you for the quick response! By the way, I wonder whether I can get CVE
numbers assigned for such kinda issues I reported recently?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.



[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux