CVE-2022-49742

published 27 Mar 2025 · updated 15 Aug 2026

f2fs: initialize locks earlier in f2fs_fill_super()

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 92b4cf5b48955a4bdd15fe4e2067db8ebd87f04c and Kernel ddeff03bb33810fcf2f0c18e03d099cf0aacda62.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.1, >=95fa90c9e5a7f14c2497d5b032544478c9377c3a <92b4cf5b48955a4bdd15fe4e2067db8ebd87f04c, >=95fa90c9e5a7f14c2497d5b032544478c9377c3a <ddeff03bb33810fcf2f0c18e03d099cf0aacda6292b4cf5b48955a4bdd15fe4e2067db8ebd87f04c, ddeff03bb33810fcf2f0c18e03d099cf0aacda62

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-49742 severity on Zeptric[![CVE-2022-49742](https://zeptric.io/badge/cve/CVE-2022-49742.svg)](https://zeptric.io/cve/CVE-2022-49742)