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.
References
Configurations
History
14 Apr 2025, 20:27
Type | Values Removed | Values Added |
---|---|---|
References | () https://git.kernel.org/stable/c/92b4cf5b48955a4bdd15fe4e2067db8ebd87f04c - Patch | |
References | () https://git.kernel.org/stable/c/ddeff03bb33810fcf2f0c18e03d099cf0aacda62 - Patch | |
First Time |
Linux linux Kernel
Linux |
|
CPE | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | |
Summary |
|
|
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 5.5 |
CWE | CWE-667 |
27 Mar 2025, 17:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2025-03-27 17:15
Updated : 2025-04-14 20:27
NVD link : CVE-2022-49742
Mitre link : CVE-2022-49742
CVE.ORG link : CVE-2022-49742
JSON object : View
Products Affected
linux
- linux_kernel
CWE
CWE-667
Improper Locking