# CVE-2023-53763: Revert "f2fs: fix to do sanity check on extent cache correctly"

> 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.23% (percentile 8, 2026-11-26)
- **Published:** 2025-12-08T01:19:25.250Z
- **Modified:** 2026-08-05T09:15:53.254Z

## Who should check

- Anyone running Linux \>= 85eb8b61dd4cfc7a839a0e86287b92ca6193444e, \< 0d545a8e77cbd1fbad311b18952e38e0f7672ab4; \>= d48a7b3a72f121655d95b5157c32c7d555e44c05, \< ea35767edc78327c686e21fe1231b668f11be0db; \>= d48a7b3a72f121655d95b5157c32c7d555e44c05, \< bbb3cd66301ef752fae2922452660f228d69bcaf; \>= d48a7b3a72f121655d95b5157c32c7d555e44c05, \< 958ccbbf1ce716d77c7cfa79ace50a421c1eed73; a3d1fd01250ffca88c11e9bd8d19be779acc7557; \>= 6.1.29, \< 6.1.53; \>= 6.2.5, \< 6.3
- Anyone running Linux 6.3

## Description

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

Revert "f2fs: fix to do sanity check on extent cache correctly"

syzbot reports a f2fs bug as below:

UBSAN: array-index-out-of-bounds in fs/f2fs/f2fs.h:3275:19
index 1409 is out of range for type '\_\_le32\[923\]' (aka 'unsigned int\[923\]')
Call Trace:
 \_\_dump\_stack lib/dump\_stack.c:88 \[inline\]
 dump\_stack\_lvl+0x1e7/0x2d0 lib/dump\_stack.c:106
 ubsan\_epilogue lib/ubsan.c:217 \[inline\]
 \_\_ubsan\_handle\_out\_of\_bounds+0x11c/0x150 lib/ubsan.c:348
 inline\_data\_addr fs/f2fs/f2fs.h:3275 \[inline\]
 \_\_recover\_inline\_status fs/f2fs/inode.c:113 \[inline\]
 do\_read\_inode fs/f2fs/inode.c:480 \[inline\]
 f2fs\_iget+0x4730/0x48b0 fs/f2fs/inode.c:604
 f2fs\_fill\_super+0x640e/0x80c0 fs/f2fs/super.c:4601
 mount\_bdev+0x276/0x3b0 fs/super.c:1391
 legacy\_get\_tree+0xef/0x190 fs/fs\_context.c:611
 vfs\_get\_tree+0x8c/0x270 fs/super.c:1519
 do\_new\_mount+0x28f/0xae0 fs/namespace.c:3335
 do\_mount fs/namespace.c:3675 \[inline\]
 \_\_do\_sys\_mount fs/namespace.c:3884 \[inline\]
 \_\_se\_sys\_mount+0x2d9/0x3c0 fs/namespace.c:3861
 do\_syscall\_x64 arch/x86/entry/common.c:50 \[inline\]
 do\_syscall\_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry\_SYSCALL\_64\_after\_hwframe+0x63/0xcd

The issue was bisected to:

commit d48a7b3a72f121655d95b5157c32c7d555e44c05
Author: Chao Yu \<chao@kernel.org\>
Date:   Mon Jan 9 03:49:20 2023 +0000

    f2fs: fix to do sanity check on extent cache correctly

The root cause is we applied both v1 and v2 of the patch, v2 is the right
fix, so it needs to revert v1 in order to fix reported issue.

v1:
commit d48a7b3a72f1 ("f2fs: fix to do sanity check on extent cache correctly")
https://lore.kernel.org/lkml/20230109034920.492914-1-chao@kernel.org/

v2:
commit 269d11948100 ("f2fs: fix to do sanity check on extent cache correctly")
https://lore.kernel.org/lkml/20230207134808.1827869-1-chao@kernel.org/

## Affected and fixed versions

- Linux: \>= 85eb8b61dd4cfc7a839a0e86287b92ca6193444e, \< 0d545a8e77cbd1fbad311b18952e38e0f7672ab4; \>= d48a7b3a72f121655d95b5157c32c7d555e44c05, \< ea35767edc78327c686e21fe1231b668f11be0db; \>= d48a7b3a72f121655d95b5157c32c7d555e44c05, \< bbb3cd66301ef752fae2922452660f228d69bcaf; \>= d48a7b3a72f121655d95b5157c32c7d555e44c05, \< 958ccbbf1ce716d77c7cfa79ace50a421c1eed73; a3d1fd01250ffca88c11e9bd8d19be779acc7557; \>= 6.1.29, \< 6.1.53; \>= 6.2.5, \< 6.3 (cvelist)
- Linux: 6.3 (cvelist)

## Mitigation

- Upgrade Linux to 6.3 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-53763.md
Affected: Linux >= 85eb8b61dd4cfc7a839a0e86287b92ca6193444e, < 0d545a8e77cbd1fbad311b18952e38e0f7672ab4; >= d48a7b3a72f121655d95b5157c32c7d555e44c05, < ea35767edc78327c686e21fe1231b668f11be0db; >= d48a7b3a72f121655d95b5157c32c7d555e44c05, < bbb3cd66301ef752fae2922452660f228d69bcaf; >= d48a7b3a72f121655d95b51…
Fixed in: Linux 0d545a8e77cbd1fbad311b18952e38e0f7672ab4, Linux 958ccbbf1ce716d77c7cfa79ace50a421c1eed73, Linux 6.1.53, Linux 6.3

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-2023-53763 being exploited?

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

### How serious is CVE-2023-53763?

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

### Which versions are affected by CVE-2023-53763?

Linux \>= 85eb8b61dd4cfc7a839a0e86287b92ca6193444e, \< 0d545a8e77cbd1fbad311b18952e38e0f7672ab4; \>= d48a7b3a72f121655d95b5157c32c7d555e44c05, \< ea35767edc78327c686e21fe1231b668f11be0db; \>= d48a7b3a72f121655d95b5157c32c7d555e44c05, \< bbb3cd66301ef752fae2922452660f228d69bcaf; \>= d48a7b3a72f121655d95b5157c32c7d555e44c05, \< 958ccbbf1ce716d77c7cfa79ace50a421c1eed73; a3d1fd01250ffca88c11e9bd8d19be779acc7557; \>= 6.1.29, \< 6.1.53; \>= 6.2.5, \< 6.3; Linux 6.3.

### Is there a fix for CVE-2023-53763?

Yes. Fixed in Linux 0d545a8e77cbd1fbad311b18952e38e0f7672ab4, Linux 958ccbbf1ce716d77c7cfa79ace50a421c1eed73, Linux 6.1.53, Linux 6.3. Upgrade Linux to 6.3 or later.

### How do I check if I'm affected by CVE-2023-53763?

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

- other: <https://git.kernel.org/stable/c/0d545a8e77cbd1fbad311b18952e38e0f7672ab4>
- other: <https://git.kernel.org/stable/c/ea35767edc78327c686e21fe1231b668f11be0db>
- other: <https://git.kernel.org/stable/c/bbb3cd66301ef752fae2922452660f228d69bcaf>
- other: <https://git.kernel.org/stable/c/958ccbbf1ce716d77c7cfa79ace50a421c1eed73>

## 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-2023-53763>

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