# CVE-2024-47690: f2fs: get rid of online repaire on corrupted directory

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.32% (percentile 18, 2026-11-26)
- **Published:** 2024-10-21T11:53:29.870Z
- **Modified:** 2026-08-05T11:39:27.223Z

## Who should check

- Anyone running Linux \>= 510022a85839a8409d1e6a519bb86ce71a84f30a, \< e8d64f598eeb079c42a52deaa3a91312c736a49d; \>= 510022a85839a8409d1e6a519bb86ce71a84f30a, \< f4746f2d79507f65cfbde11d3c39ee8338aa50af; \>= 510022a85839a8409d1e6a519bb86ce71a84f30a, \< f9ce2f550d53d044ecfb5ce996406cf42cd6b84d; \>= 510022a85839a8409d1e6a519bb86ce71a84f30a, \< 8be95cd607478d85fa4626e86f811e785905bcbf; \>= 510022a85839a8409d1e6a519bb86ce71a84f30a, \< bcefd0b0611f35b560d0a7281d87529fbe7a1e32; \>= 510022a85839a8409d1e6a519bb86ce71a84f30a, \< 884ee6dc85b959bc152f15bca80c30f06069e6c4
- Anyone running Linux 4.1

## Description

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

f2fs: get rid of online repaire on corrupted directory

syzbot reports a f2fs bug as below:

kernel BUG at fs/f2fs/inode.c:896!
RIP: 0010:f2fs\_evict\_inode+0x1598/0x15c0 fs/f2fs/inode.c:896
Call Trace:
 evict+0x532/0x950 fs/inode.c:704
 dispose\_list fs/inode.c:747 \[inline\]
 evict\_inodes+0x5f9/0x690 fs/inode.c:797
 generic\_shutdown\_super+0x9d/0x2d0 fs/super.c:627
 kill\_block\_super+0x44/0x90 fs/super.c:1696
 kill\_f2fs\_super+0x344/0x690 fs/f2fs/super.c:4898
 deactivate\_locked\_super+0xc4/0x130 fs/super.c:473
 cleanup\_mnt+0x41f/0x4b0 fs/namespace.c:1373
 task\_work\_run+0x24f/0x310 kernel/task\_work.c:228
 ptrace\_notify+0x2d2/0x380 kernel/signal.c:2402
 ptrace\_report\_syscall include/linux/ptrace.h:415 \[inline\]
 ptrace\_report\_syscall\_exit include/linux/ptrace.h:477 \[inline\]
 syscall\_exit\_work+0xc6/0x190 kernel/entry/common.c:173
 syscall\_exit\_to\_user\_mode\_prepare kernel/entry/common.c:200 \[inline\]
 \_\_syscall\_exit\_to\_user\_mode\_work kernel/entry/common.c:205 \[inline\]
 syscall\_exit\_to\_user\_mode+0x279/0x370 kernel/entry/common.c:218
 do\_syscall\_64+0x100/0x230 arch/x86/entry/common.c:89
 entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f
RIP: 0010:f2fs\_evict\_inode+0x1598/0x15c0 fs/f2fs/inode.c:896

Online repaire on corrupted directory in f2fs\_lookup() can generate
dirty data/meta while racing w/ readonly remount, it may leave dirty
inode after filesystem becomes readonly, however, checkpoint() will
skips flushing dirty inode in a state of readonly mode, result in
above panic.

Let's get rid of online repaire in f2fs\_lookup(), and leave the work
to fsck.f2fs.

## Affected and fixed versions

- Linux: \>= 510022a85839a8409d1e6a519bb86ce71a84f30a, \< e8d64f598eeb079c42a52deaa3a91312c736a49d; \>= 510022a85839a8409d1e6a519bb86ce71a84f30a, \< f4746f2d79507f65cfbde11d3c39ee8338aa50af; \>= 510022a85839a8409d1e6a519bb86ce71a84f30a, \< f9ce2f550d53d044ecfb5ce996406cf42cd6b84d; \>= 510022a85839a8409d1e6a519bb86ce71a84f30a, \< 8be95cd607478d85fa4626e86f811e785905bcbf; \>= 510022a85839a8409d1e6a519bb86ce71a84f30a, \< bcefd0b0611f35b560d0a7281d87529fbe7a1e32; \>= 510022a85839a8409d1e6a519bb86ce71a84f30a, \< 884ee6dc85b959bc152f15bca80c30f06069e6c4 (cvelist)
- Linux: 4.1 (cvelist)

## Mitigation

- Upgrade Linux to 884ee6dc85b959bc152f15bca80c30f06069e6c4 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-47690.md
Affected: Linux >= 510022a85839a8409d1e6a519bb86ce71a84f30a, < e8d64f598eeb079c42a52deaa3a91312c736a49d; >= 510022a85839a8409d1e6a519bb86ce71a84f30a, < f4746f2d79507f65cfbde11d3c39ee8338aa50af; >= 510022a85839a8409d1e6a519bb86ce71a84f30a, < f9ce2f550d53d044ecfb5ce996406cf42cd6b84d; >= 510022a85839a8409d1e6a5…
Fixed in: Linux 8be95cd607478d85fa4626e86f811e785905bcbf, Linux 884ee6dc85b959bc152f15bca80c30f06069e6c4

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-2024-47690 being exploited?

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

### How serious is CVE-2024-47690?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-47690?

Linux \>= 510022a85839a8409d1e6a519bb86ce71a84f30a, \< e8d64f598eeb079c42a52deaa3a91312c736a49d; \>= 510022a85839a8409d1e6a519bb86ce71a84f30a, \< f4746f2d79507f65cfbde11d3c39ee8338aa50af; \>= 510022a85839a8409d1e6a519bb86ce71a84f30a, \< f9ce2f550d53d044ecfb5ce996406cf42cd6b84d; \>= 510022a85839a8409d1e6a519bb86ce71a84f30a, \< 8be95cd607478d85fa4626e86f811e785905bcbf; \>= 510022a85839a8409d1e6a519bb86ce71a84f30a, \< bcefd0b0611f35b560d0a7281d87529fbe7a1e32; \>= 510022a85839a8409d1e6a519bb86ce71a84f30a, \< 884ee6dc85b959bc152f15bca80c30f06069e6c4; Linux 4.1.

### Is there a fix for CVE-2024-47690?

Yes. Fixed in Linux 8be95cd607478d85fa4626e86f811e785905bcbf, Linux 884ee6dc85b959bc152f15bca80c30f06069e6c4. Upgrade Linux to 884ee6dc85b959bc152f15bca80c30f06069e6c4 or later.

### How do I check if I'm affected by CVE-2024-47690?

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/e8d64f598eeb079c42a52deaa3a91312c736a49d>
- patch: <https://git.kernel.org/stable/c/f4746f2d79507f65cfbde11d3c39ee8338aa50af>
- patch: <https://git.kernel.org/stable/c/f9ce2f550d53d044ecfb5ce996406cf42cd6b84d>
- patch: <https://git.kernel.org/stable/c/8be95cd607478d85fa4626e86f811e785905bcbf>
- patch: <https://git.kernel.org/stable/c/bcefd0b0611f35b560d0a7281d87529fbe7a1e32>
- patch: <https://git.kernel.org/stable/c/884ee6dc85b959bc152f15bca80c30f06069e6c4>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## 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-2024-47690>

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