CVE-2022-49742

Source
https://cve.org/CVERecord?id=CVE-2022-49742
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49742.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49742
Downstream
Published
2025-03-27T16:42:53.656Z
Modified
2026-03-20T11:47:11.416484Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
f2fs: initialize locks earlier in f2fs_fill_super()
Details

In the Linux kernel, the following vulnerability has been resolved:

f2fs: initialize locks earlier in f2fsfillsuper()

syzbot is reporting lockdep warning at f2fshandleerror() [1], for spinlock(&sbi->errorlock) is called before spinlockinit() is called. For safe locking in error handling, move initialization of locks (and obvious structures) in f2fsfillsuper() to immediately after memory allocation.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49742.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
98e4da8ca301e062d79ae168c67e56f3c3de3ce4
Fixed
ddeff03bb33810fcf2f0c18e03d099cf0aacda62
Fixed
92b4cf5b48955a4bdd15fe4e2067db8ebd87f04c

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49742.json"