CVE-2022-49742
published medium CVSS 3.1 · 5.5f2fs: initialize locks earlier in f2fs_fill_super()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux95fa90c9e5a7f14c2497d5b032544478c9377c3a to < ddeff03bb33810fcf2f0c18e03d099cf0aacda62 · 95fa90c9e5a7f14c2497d5b032544478c9377c3a to < 92b4cf5b48955a4bdd15fe4e2067db8ebd87f04c · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.1 (affected) · 0 to < 6.1 (unaffected · semver) · 6.1.11 through 6.1.* (unaffected · semver) · 6.2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.5 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 95fa90c9e5a7f14c2497d5b032544478c9377c3a to < ddeff03bb33810fcf2f0c18e03d099cf0aacda62 (affected · git)95fa90c9e5a7f14c2497d5b032544478c9377c3a to < 92b4cf5b48955a4bdd15fe4e2067db8ebd87f04c (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.1 (affected)0 to < 6.1 (unaffected · semver)6.1.11 through 6.1.* (unaffected · semver)6.2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-667 CWE-667 Improper Locking
References
2Provider assertions
2Linux · cna
f2fs: initialize locks earlier in f2fs_fill_super()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 77176ad054b55ddd7a4ec19f68a13c8708169f96a1bfd436cd0d6e07adfbb948
- Ingested
- 23 Sep 2026, 08:04:21 UTC
- Source record
- Official CVE record