We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2022-49742

f2fs: initialize locks earlier in f2fs_fill_super()



Description

In the Linux kernel, the following vulnerability has been resolved: f2fs: initialize locks earlier in f2fs_fill_super() syzbot is reporting lockdep warning at f2fs_handle_error() [1], for spin_lock(&sbi->error_lock) is called before spin_lock_init() is called. For safe locking in error handling, move initialization of locks (and obvious structures) in f2fs_fill_super() to immediately after memory allocation.

Reserved 2025-03-27 | Published 2025-03-27 | Updated 2025-05-04 | Assigner Linux

Product status

Default status
unaffected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before ddeff03bb33810fcf2f0c18e03d099cf0aacda62
affected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 92b4cf5b48955a4bdd15fe4e2067db8ebd87f04c
affected

Default status
affected

6.1.11
unaffected

6.2
unaffected

References

git.kernel.org/...c/ddeff03bb33810fcf2f0c18e03d099cf0aacda62

git.kernel.org/...c/92b4cf5b48955a4bdd15fe4e2067db8ebd87f04c

cve.org (CVE-2022-49742)

nvd.nist.gov (CVE-2022-49742)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2022-49742

Support options

Helpdesk Chat, Email, Knowledgebase