{"id":"CVE-2022-49742","published":"2025-03-27T16:42:53Z","modified":"2026-08-15T12:22:56Z","title":"f2fs: initialize locks earlier in f2fs_fill_super()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nf2fs: initialize locks earlier in f2fs_fill_super()\n\nsyzbot is reporting lockdep warning at f2fs_handle_error() [1], for\nspin_lock(&sbi->error_lock) is called before spin_lock_init() is called.\nFor safe locking in error handling, move initialization of locks (and\nobvious structures) in f2fs_fill_super() to immediately after memory\nallocation.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00125,"percentile":0.02265,"provenance":"source"},"cwes":[{"id":"CWE-667","name":"Improper Locking"}],"references":[{"url":"https://git.kernel.org/stable/c/ddeff03bb33810fcf2f0c18e03d099cf0aacda62","tags":[]},{"url":"https://git.kernel.org/stable/c/92b4cf5b48955a4bdd15fe4e2067db8ebd87f04c","tags":[]}],"priority":{"score":4.3,"factors":[{"name":"EPSS percentile","points":0.45},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 95fa90c9e5a7f14c2497d5b032544478c9377c3a, < ddeff03bb33810fcf2f0c18e03d099cf0aacda62",">= 95fa90c9e5a7f14c2497d5b032544478c9377c3a, < 92b4cf5b48955a4bdd15fe4e2067db8ebd87f04c"]},{"vendor":"Linux","product":"Linux","versions":["6.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T17:25:54.529663Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-55181","exploited":false,"provenance":"source"}}