CVE-2022-49742CWE-667

CVE-2022-49742

Medium · published March 27, 2025

CVSS v3.1
5.5
EPSS
0%
Percentile
2.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00125 · 2.0th percentile
Weakness
CWE-667 · Improper Locking
Published
2025-03-27T21:15Z
Affected products (1)
ProductVersionsFixed in
linux/linux_kernel< 6.1.116.1.11
References (2)
EPSS history
Timeline
  • 27 MAR 16:42Z
    f2fs: initialize locks earlier in f2fs_fill_super()
    cvelistv5