Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2023-53763

published high CVSS 3.1 · 7.8

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

Published
08 Dec 2025, 01:19:25 UTC
Updated
05 Aug 2026, 09:15:53 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux85eb8b61dd4cfc7a839a0e86287b92ca6193444e to < 0d545a8e77cbd1fbad311b18952e38e0f7672ab4 · d48a7b3a72f121655d95b5157c32c7d555e44c05 to < ea35767edc78327c686e21fe1231b668f11be0db · d48a7b3a72f121655d95b5157c32c7d555e44c05 to < bbb3cd66301ef752fae2922452660f228d69bcaf · d48a7b3a72f121655d95b5157c32c7d555e44c05 to < 958ccbbf1ce716d77c7cfa79ace50a421c1eed73 · a3d1fd01250ffca88c11e9bd8d19be779acc7557 · 6.1.29 to < 6.1.53 · 6.2.5 to < 6.3 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.3 (affected) · 0 to < 6.3 (unaffected · semver) · 6.1.53 through 6.1.* (unaffected · semver) · 6.4.16 through 6.4.* (unaffected · semver) · 6.5.3 through 6.5.* (unaffected · semver) · 6.6 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: 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 <[email protected]> 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/[email protected]/ v2: commit 269d11948100 ("f2fs: fix to do sanity check on extent cache correctly") https://lore.kernel.org/lkml/[email protected]/

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerable code is reached through `mount()`/`f2fs_fill_super()` and subsequent `f2fs_iget()` lookups on a crafted f2fs image, which requires local system access — an attacker attaches a loop device or removable medium and lets it be mounted. There is no network- or remote-peer-reachable path into `do_read_inode()`. AC:L - Every input driving the out-of-bounds access — `ri->i_extra_isize`, `ri->i_inline_xattr_size`, `i_inline` flags and `i_mode` — is a raw on-disk field the attacker writes into the image, so the OOB index is chosen exactly and the fault is deterministic on every mount, with no race or memory-layout condition outside the attacker's control. PR:L - A basic unprivileged local account suffices in the realistic deployment: on Android (where f2fs is the userdata/adoptable-storage filesystem) vold auto-mounts attacker-supplied f2fs media, and on desktops/kiosks udisks2 mounts removable media on behalf of the logged-in user, so no CAP_SYS_ADMIN of the attacker's own is needed. UI:N - The attacker attaches the crafted image and the automounter mounts it, then the attacker itself stats or reads the crafted inode; no action by any separate victim user is required at any point. S:U - The out-of-bounds reads and the corrupt inode state stay entirely inside the kernel's own security authority, with no crossing of a VM, IOMMU, container or sandbox boundary. C:H - `__get_inode_rdev()` and `__written_first_block()` read `ri->i_addr[extra_size]` with `extra_size` up to 16383, i.e. an attacker-selected 4-byte word up to roughly 62 KiB past the end of the 4 KiB node page — an unbounded, repeatable kernel out-of-bounds read primitive over adjacent page-allocator memory rather than a few bounded bytes. I:H - The unvalidated inode page is marked dirty via `set_page_dirty()` in the cold-bit recovery and `__recover_inline_status()` paths before the corruption is ever detected, writing unvalidated metadata back to the device, and the out-of-bounds values are folded into `inode->i_rdev` and the `FI_FIRST_BLOCK_WRITTEN` decision, so attacker-influenced foreign kernel memory drives in-kernel state. A:H - The condition is a reported UBSAN array-index-out-of-bounds; on kernels built with `CONFIG_UBSAN_TRAP` (standard in Android GKI, the main f2fs deployment) it traps into an immediate panic, and the ~62 KiB out-of-bounds read oopses under KASAN, `DEBUG_PAGEALLOC`, or when it walks into an unmapped region, giving a reliable, repeatable crash from a single mount.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 85eb8b61dd4cfc7a839a0e86287b92ca6193444e to < 0d545a8e77cbd1fbad311b18952e38e0f7672ab4 (affected · git)d48a7b3a72f121655d95b5157c32c7d555e44c05 to < ea35767edc78327c686e21fe1231b668f11be0db (affected · git)d48a7b3a72f121655d95b5157c32c7d555e44c05 to < bbb3cd66301ef752fae2922452660f228d69bcaf (affected · git)d48a7b3a72f121655d95b5157c32c7d555e44c05 to < 958ccbbf1ce716d77c7cfa79ace50a421c1eed73 (affected · git)a3d1fd01250ffca88c11e9bd8d19be779acc7557 (affected · git)6.1.29 to < 6.1.53 (affected · semver)6.2.5 to < 6.3 (affected · semver)Default: unaffected Linux · cna
Linux Linux 6.3 (affected)0 to < 6.3 (unaffected · semver)6.1.53 through 6.1.* (unaffected · semver)6.4.16 through 6.4.* (unaffected · semver)6.5.3 through 6.5.* (unaffected · semver)6.6 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

4

Provider assertions

1

Linux · cna

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

Provenance

Schema
5.2
Searchable
yes
Content hash
4848f70662e109358676f00b0fef670c7297255728248d1e0be521cdf2a4067b
Ingested
23 Sep 2026, 08:14:56 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected