null ptr dereference in fscrypt_do_page_crypto() when operating a file on a corrupted f2fs image
https://bugzilla.kernel.org/show_bug.cgi?id=200465
Chao Yu ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |[email protected]
Component|Other |f2fs
Assignee|[email protected] |filesystem_f2fs@kernel-bugs
|rg |.kernel.org--- Comment #1 from Chao Yu ([email protected]) ---
Wen Xu,
I didn't see encryption feature is on in uploaded image, but actually, our stack is stuck in decrypting flow, could you check the image again?
Info: superblock features = 0 :
Signature · 5 lines
You are receiving this mail because: You are watching the assignee of the bug. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
https://bugzilla.kernel.org/show_bug.cgi?id=200465
Steve Beattie ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #2 from Steve Beattie ([email protected]) --- This was assigned CVE-2018-14616 (see
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-14616).
Chao, is it correct that the fix for this issue landed as
https://git.kernel.org/linus/91291e9998d208370eb8156c760691b873bd7522 ? Or are additional fixes needed?
Thanks!
Signature · 2 lines
You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=200465
--- Comment #3 from Chao Yu ([email protected]) ---
Steve,
I figure out that patch to solve issue which I encounter with image attached by Wen Xu, the bug can be triggered with below scripts:
- mount image /mnt/f2fs/
- cd /mnt/f2fs/foo/bar/
- ls -l
After applying that patch, the problem was gone.
But when the bug triggeres, related call stack is not the same as reported one, also I can't reproduce reported call stack with the method provided from Wen Xu.
I guess the right producing way is adding master key for encrypted file, I'd like to confirm with Wen Xu.
Signature · 2 lines
You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=200465
--- Comment #4 from Wen Xu ([email protected]) --- (In reply to Chao Yu from comment #3)
Quoted 8 lines
Steve,
I figure out that patch to solve issue which I encounter with image attached by Wen Xu, the bug can be triggered with below scripts:
- mount image/mnt/f2fs/
- cd/mnt/f2fs/foo/bar/
- ls -l
Quoted 8 lines
After applying that patch, the problem was gone.
But when the bug triggeres, related call stack is not the same as reported one, also I can't reproduce reported call stack with the method provided from Wen Xu.
I guess the right producing way is adding master key for encrypted file, I'd like to confirm with Wen Xu.
Hi Chao,
Sorry for a late reply! Eh the first thing is that I never did anything like adding master key for encrypted file. Second, I feel I pasted wrong (mismatched) kernel message/PoC...but unfortunately I do not have a local copy on my laptop now.
Signature · 2 lines
You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=200465
Chao Yu ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |NEEDINFO
--- Comment #5 from Chao Yu ([email protected]) ---
(In reply to Wen Xu from comment #4)
Quoted 18 lines
(In reply to Chao Yu from comment #3)
Quoted 3 lines
Steve,
I figure out that patch to solve issue which I encounter with image
attached
Quoted 5 lines
by Wen Xu, the bug can be triggered with below scripts:
- mount image/mnt/f2fs/
- cd/mnt/f2fs/foo/bar/
- ls -lQuoted 7 lines
After applying that patch, the problem was gone.
But when the bug triggeres, related call stack is not the same as reported one, also I can't reproduce reported call stack with the method provided from Wen Xu.
I guess the right producing way is adding master key for encrypted file,
I'd
Quoted 8 lines
Quoted 1 line
like to confirm with Wen Xu.
Hi Chao,
Sorry for a late reply! Eh the first thing is that I never did anything like adding master key for encrypted file. Second, I feel I pasted wrong (mismatched) kernel message/PoC...but unfortunately I do not have a local copy on my laptop now.
Hi Wen,
Oops, if you got another similar kernel message, please let me know.
BTW, let me tag status of this issue as NEEDINFO
Signature · 2 lines
You are receiving this mail because: You are watching the assignee of the bug.