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-53214

published high CVSS 3.1 · 7.0

f2fs: fix to avoid potential memory corruption in __update_iostat_latency()

Published
15 Sep 2025, 14:21:42 UTC
Updated
05 Aug 2026, 09:13:07 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxa4b6817625e71d5d4aee16cacf7a7fec077c6dbe to < aa4d726af72a21732ce120484e0b1240674a13b3 · a4b6817625e71d5d4aee16cacf7a7fec077c6dbe to < 22ddbbff116ee7dce5431feb1c0f36a507d2d68d · a4b6817625e71d5d4aee16cacf7a7fec077c6dbe to < 20b4f3de0f3932f71b4a8daf0671e517a8d98022 · a4b6817625e71d5d4aee16cacf7a7fec077c6dbe to < 0dbbf0fb38d5ec5d4138d1aeaeb43d9217b9a592 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.15 (affected) · 0 to < 5.15 (unaffected · semver) · 5.15.100 through 5.15.* (unaffected · semver) · 6.1.18 through 6.1.* (unaffected · semver) · 6.2.5 through 6.2.* (unaffected · semver) · 6.3 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: fix to avoid potential memory corruption in __update_iostat_latency() Add iotype sanity check to avoid potential memory corruption. This is to fix the compile error below: fs/f2fs/iostat.c:231 __update_iostat_latency() error: buffer overflow 'io_lat->peak_lat[type]' 3 <= 3 vim +228 fs/f2fs/iostat.c 211 static inline void __update_iostat_latency(struct bio_iostat_ctx *iostat_ctx, 212 enum iostat_lat_type type) 213 { 214 unsigned long ts_diff; 215 unsigned int page_type = iostat_ctx->type; 216 struct f2fs_sb_info *sbi = iostat_ctx->sbi; 217 struct iostat_lat_info *io_lat = sbi->iostat_io_lat; 218 unsigned long flags; 219 220 if (!sbi->iostat_enable) 221 return; 222 223 ts_diff = jiffies - iostat_ctx->submit_ts; 224 if (page_type >= META_FLUSH) ^^^^^^^^^^ 225 page_type = META; 226 227 spin_lock_irqsave(&sbi->iostat_lat_lock, flags); @228 io_lat->sum_lat[type][page_type] += ts_diff; ^^^^^^^^^ Mixup between META_FLUSH and NR_PAGE_TYPE leads to memory corruption.

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.0 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerable path runs in f2fs bio completion (`f2fs_write_end_io`/`f2fs_read_end_io` → `iostat_update_and_unbind_ctx` → `__update_iostat_latency`) after ordinary local file I/O on an f2fs volume (e.g. Android userdata); it is not reachable via network protocols or adjacent-link frames. AC:H - Corruption requires `iostat_enable` (defaults false) and `iostat_ctx->type == NR_PAGE_TYPE`, but every submit site only passes DATA/NODE/META/META_FLUSH and META_FLUSH is already remapped by the old `>= META_FLUSH` check, so the out-of-bounds index is not attacker-influencable. PR:L - In the worst reasonable deployment (f2fs already mounted, iostat enabled for diagnostics as the feature intends), unprivileged local users/apps can issue reads/writes that drive bio completion through the vulnerable function without needing init-namespace root. UI:N - On typical f2fs deployments such as Android userdata the filesystem is already mounted, and the attacker triggers I/O themselves with no separate victim action required. S:U - Impact is confined to host kernel heap/state within the same OS security authority; there is no VM escape, IOMMU bypass, or sandbox boundary crossing. C:H - When the bad index is used with WRITE_ASYNC_IO, `bio_cnt[idx][iotype]++` performs a read-modify-write one `unsigned int` past the kmalloc'd `iostat_lat_info`, which per OOB/memory-corruption guidance can be leveraged for disclosure of adjacent heap contents. I:H - The same path is a real heap out-of-bounds write (and in-object corruption of `peak_lat`/`bio_cnt`), which per kernel CVSS guidance for OOB writes is Integrity High and can yield write/control-flow primitives. A:H - Heap corruption adjacent to `iostat_io_lat` can cause kernel oops/panic when corrupted neighboring objects are later used, matching Availability High for memory-corruption crashes.

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 7.8 high CISA-ADP · adp CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux a4b6817625e71d5d4aee16cacf7a7fec077c6dbe to < aa4d726af72a21732ce120484e0b1240674a13b3 (affected · git)a4b6817625e71d5d4aee16cacf7a7fec077c6dbe to < 22ddbbff116ee7dce5431feb1c0f36a507d2d68d (affected · git)a4b6817625e71d5d4aee16cacf7a7fec077c6dbe to < 20b4f3de0f3932f71b4a8daf0671e517a8d98022 (affected · git)a4b6817625e71d5d4aee16cacf7a7fec077c6dbe to < 0dbbf0fb38d5ec5d4138d1aeaeb43d9217b9a592 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.15 (affected)0 to < 5.15 (unaffected · semver)5.15.100 through 5.15.* (unaffected · semver)6.1.18 through 6.1.* (unaffected · semver)6.2.5 through 6.2.* (unaffected · semver)6.3 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-787 CWE-787 Out-of-bounds Write (CISA-ADP · adp)

References

4

Provider assertions

2

Linux · cna

f2fs: fix to avoid potential memory corruption in __update_iostat_latency()

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
dbf7d47b40384a6fe598a005fd375461a565ba53cd3be8291bbc012f3eba1cba
Ingested
23 Sep 2026, 08:14:44 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