Skip to content
CVE PROGRAM SOURCE RECORD5.5 Medium

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 95fa90c9e5a7f14c2497d5b032544478c9377c3a to < ddeff03bb33810fcf2f0c18e03d099cf0aacda62affected
  • 95fa90c9e5a7f14c2497d5b032544478c9377c3a to < 92b4cf5b48955a4bdd15fe4e2067db8ebd87f04caffected

Linux Linux

Default version status: affected

  • 6.1affected
  • 0 to < 6.1unaffected
  • 6.1.11 to ≤ 6.1.*unaffected
  • 6.2 to ≤ *unaffected

References