CVE-2022-49742

MEDIUM

Linux Kernel < 6.1.11 - Improper Locking in f2fs_fill_super()

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0010
EPSS Percentile 1.1%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-667
Status published
Products (8)
linux/Kernel 3.8.0 - 6.1.11linux
Linux/Linux < 3.8
Linux/Linux 3.8
Linux/Linux 6.1.11 - 6.1.*
Linux/Linux 6.2
Linux/Linux 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 - 92b4cf5b48955a4bdd15fe4e2067db8ebd87f04c
Linux/Linux 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 - ddeff03bb33810fcf2f0c18e03d099cf0aacda62
linux/linux_kernel < 6.1.11
Published Mar 27, 2025
Tracked Since Feb 18, 2026