CVE-2022-49742

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.
Configurations

Configuration 1 (hide)

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

No history.

Information

Published : 2025-03-27 17:15

Updated : 2025-10-01 18:15


NVD link : CVE-2022-49742

Mitre link : CVE-2022-49742

CVE.ORG link : CVE-2022-49742


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-667

Improper Locking