# CVE-2022-49169: f2fs: use spin\_lock to avoid hang

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.28% (percentile 13, 2026-11-26)
- **Published:** 2025-02-26T01:55:27.044Z
- **Modified:** 2026-08-13T00:17:29.890Z

## Who should check

- Anyone running Linux \>= 66af62ce7588736ae65edfdb1c0df597775c4d21, \< 2eff60346e7ae1a24cd868b8fdcf58e946e7dde1; \>= 66af62ce7588736ae65edfdb1c0df597775c4d21, \< 738886004bd2885ac2db0bc63b4874aa471ca87e; \>= 66af62ce7588736ae65edfdb1c0df597775c4d21, \< ec4187d45cc1c2d69fffeee5fa6aa4cb62477cfb; \>= 66af62ce7588736ae65edfdb1c0df597775c4d21, \< 98237fcda4a24e67b0a4498c17d5aa4ad4537bc7
- Anyone running Linux 3.8

## Description

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

f2fs: use spin\_lock to avoid hang

\[14696.634553\] task:cat             state:D stack:    0 pid:1613738 ppid:1613735 flags:0x00000004
\[14696.638285\] Call Trace:
\[14696.639038\]  \<TASK\>
\[14696.640032\]  \_\_schedule+0x302/0x930
\[14696.640969\]  schedule+0x58/0xd0
\[14696.641799\]  schedule\_preempt\_disabled+0x18/0x30
\[14696.642890\]  \_\_mutex\_lock.constprop.0+0x2fb/0x4f0
\[14696.644035\]  ? mod\_objcg\_state+0x10c/0x310
\[14696.645040\]  ? obj\_cgroup\_charge+0xe1/0x170
\[14696.646067\]  \_\_mutex\_lock\_slowpath+0x13/0x20
\[14696.647126\]  mutex\_lock+0x34/0x40
\[14696.648070\]  stat\_show+0x25/0x17c0 \[f2fs\]
\[14696.649218\]  seq\_read\_iter+0x120/0x4b0
\[14696.650289\]  ? aa\_file\_perm+0x12a/0x500
\[14696.651357\]  ? lru\_cache\_add+0x1c/0x20
\[14696.652470\]  seq\_read+0xfd/0x140
\[14696.653445\]  full\_proxy\_read+0x5c/0x80
\[14696.654535\]  vfs\_read+0xa0/0x1a0
\[14696.655497\]  ksys\_read+0x67/0xe0
\[14696.656502\]  \_\_x64\_sys\_read+0x1a/0x20
\[14696.657580\]  do\_syscall\_64+0x3b/0xc0
\[14696.658671\]  entry\_SYSCALL\_64\_after\_hwframe+0x44/0xae
\[14696.660068\] RIP: 0033:0x7efe39df1cb2
\[14696.661133\] RSP: 002b:00007ffc8badd948 EFLAGS: 00000246 ORIG\_RAX: 0000000000000000
\[14696.662958\] RAX: ffffffffffffffda RBX: 0000000000020000 RCX: 00007efe39df1cb2
\[14696.664757\] RDX: 0000000000020000 RSI: 00007efe399df000 RDI: 0000000000000003
\[14696.666542\] RBP: 00007efe399df000 R08: 00007efe399de010 R09: 00007efe399de010
\[14696.668363\] R10: 0000000000000022 R11: 0000000000000246 R12: 0000000000000000
\[14696.670155\] R13: 0000000000000003 R14: 0000000000020000 R15: 0000000000020000
\[14696.671965\]  \</TASK\>
\[14696.672826\] task:umount          state:D stack:    0 pid:1614985 ppid:1614984 flags:0x00004000
\[14696.674930\] Call Trace:
\[14696.675903\]  \<TASK\>
\[14696.676780\]  \_\_schedule+0x302/0x930
\[14696.677927\]  schedule+0x58/0xd0
\[14696.679019\]  schedule\_preempt\_disabled+0x18/0x30
\[14696.680412\]  \_\_mutex\_lock.constprop.0+0x2fb/0x4f0
\[14696.681783\]  ? destroy\_inode+0x65/0x80
\[14696.683006\]  \_\_mutex\_lock\_slowpath+0x13/0x20
\[14696.684305\]  mutex\_lock+0x34/0x40
\[14696.685442\]  f2fs\_destroy\_stats+0x1e/0x60 \[f2fs\]
\[14696.686803\]  f2fs\_put\_super+0x158/0x390 \[f2fs\]
\[14696.688238\]  generic\_shutdown\_super+0x7a/0x120
\[14696.689621\]  kill\_block\_super+0x27/0x50
\[14696.690894\]  kill\_f2fs\_super+0x7f/0x100 \[f2fs\]
\[14696.692311\]  deactivate\_locked\_super+0x35/0xa0
\[14696.693698\]  deactivate\_super+0x40/0x50
\[14696.694985\]  cleanup\_mnt+0x139/0x190
\[14696.696209\]  \_\_cleanup\_mnt+0x12/0x20
\[14696.697390\]  task\_work\_run+0x64/0xa0
\[14696.698587\]  exit\_to\_user\_mode\_prepare+0x1b7/0x1c0
\[14696.700053\]  syscall\_exit\_to\_user\_mode+0x27/0x50
\[14696.701418\]  do\_syscall\_64+0x48/0xc0
\[14696.702630\]  entry\_SYSCALL\_64\_after\_hwframe+0x44/0xae

## Affected and fixed versions

- Linux: \>= 66af62ce7588736ae65edfdb1c0df597775c4d21, \< 2eff60346e7ae1a24cd868b8fdcf58e946e7dde1; \>= 66af62ce7588736ae65edfdb1c0df597775c4d21, \< 738886004bd2885ac2db0bc63b4874aa471ca87e; \>= 66af62ce7588736ae65edfdb1c0df597775c4d21, \< ec4187d45cc1c2d69fffeee5fa6aa4cb62477cfb; \>= 66af62ce7588736ae65edfdb1c0df597775c4d21, \< 98237fcda4a24e67b0a4498c17d5aa4ad4537bc7 (cvelist)
- Linux: 3.8 (cvelist)

## Mitigation

- Upgrade Linux to 98237fcda4a24e67b0a4498c17d5aa4ad4537bc7 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-49169. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-49169.md
Affected: Linux >= 66af62ce7588736ae65edfdb1c0df597775c4d21, < 2eff60346e7ae1a24cd868b8fdcf58e946e7dde1; >= 66af62ce7588736ae65edfdb1c0df597775c4d21, < 738886004bd2885ac2db0bc63b4874aa471ca87e; >= 66af62ce7588736ae65edfdb1c0df597775c4d21, < ec4187d45cc1c2d69fffeee5fa6aa4cb62477cfb; >= 66af62ce7588736ae65edfd…
Fixed in: Linux 2eff60346e7ae1a24cd868b8fdcf58e946e7dde1, Linux 738886004bd2885ac2db0bc63b4874aa471ca87e, Linux 98237fcda4a24e67b0a4498c17d5aa4ad4537bc7

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-49169 being exploited?

There is no confirmed exploitation: CVE-2022-49169 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-49169?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-49169?

Linux \>= 66af62ce7588736ae65edfdb1c0df597775c4d21, \< 2eff60346e7ae1a24cd868b8fdcf58e946e7dde1; \>= 66af62ce7588736ae65edfdb1c0df597775c4d21, \< 738886004bd2885ac2db0bc63b4874aa471ca87e; \>= 66af62ce7588736ae65edfdb1c0df597775c4d21, \< ec4187d45cc1c2d69fffeee5fa6aa4cb62477cfb; \>= 66af62ce7588736ae65edfdb1c0df597775c4d21, \< 98237fcda4a24e67b0a4498c17d5aa4ad4537bc7; Linux 3.8.

### Is there a fix for CVE-2022-49169?

Yes. Fixed in Linux 2eff60346e7ae1a24cd868b8fdcf58e946e7dde1, Linux 738886004bd2885ac2db0bc63b4874aa471ca87e, Linux 98237fcda4a24e67b0a4498c17d5aa4ad4537bc7. Upgrade Linux to 98237fcda4a24e67b0a4498c17d5aa4ad4537bc7 or later.

### How do I check if I'm affected by CVE-2022-49169?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/2eff60346e7ae1a24cd868b8fdcf58e946e7dde1>
- patch: <https://git.kernel.org/stable/c/738886004bd2885ac2db0bc63b4874aa471ca87e>
- patch: <https://git.kernel.org/stable/c/ec4187d45cc1c2d69fffeee5fa6aa4cb62477cfb>
- patch: <https://git.kernel.org/stable/c/98237fcda4a24e67b0a4498c17d5aa4ad4537bc7>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-49169>

HTML: <https://flawdb.com/CVE-2022-49169> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-49169>
