CVE-2022-49742
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
27/03/2025
Last modified:
28/03/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
f2fs: initialize locks earlier in f2fs_fill_super()<br />
<br />
syzbot is reporting lockdep warning at f2fs_handle_error() [1], for<br />
spin_lock(&sbi->error_lock) is called before spin_lock_init() is called.<br />
For safe locking in error handling, move initialization of locks (and<br />
obvious structures) in f2fs_fill_super() to immediately after memory<br />
allocation.