← Database

CVE-2022-49742

MEDIUM CVSS: 5.5 Published: 2025-03-27 Modified: 2026-08-15

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.

Affected Platforms

Linux Linux Kernel

Weakness Type

CWE-667, CWE-667

References