Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | < 6.1.11 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/92b4cf5b48955a4bdd15fe4e2067db8ebd87f04cPatch
- https://git.kernel.org/stable/c/ddeff03bb33810fcf2f0c18e03d099cf0aacda62Patch
FAQ
What is CVE-2022-49742?
CVE-2022-49742 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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(...
How severe is CVE-2022-49742?
CVE-2022-49742 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-49742?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.