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-2022-50270

published high CVSS 3.1 · 7.1

f2fs: fix the assign logic of iocb

Published
15 Sep 2025, 14:21:06 UTC
Updated
05 Aug 2026, 08:58:00 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxbd984c03097b8e9b7500cba7378040ac1c697dbb to < d555aa37566c5c3728f2e52047a9722eae2aed93 · bd984c03097b8e9b7500cba7378040ac1c697dbb to < b4244ca341ea95c52ee8fa93d04f5af3e584dd37 · bd984c03097b8e9b7500cba7378040ac1c697dbb to < 0db18eec0d9a7ee525209e31e3ac2f673545b12f · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.17 (affected) · 0 to < 5.17 (unaffected · semver) · 6.0.16 through 6.0.* (unaffected · semver) · 6.1.2 through 6.1.* (unaffected · semver) · 6.2 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 the assign logic of iocb commit 18ae8d12991b ("f2fs: show more DIO information in tracepoint") introduces iocb field in 'f2fs_direct_IO_enter' trace event And it only assigns the pointer and later it accesses its field in trace print log. Unable to handle kernel paging request at virtual address ffffffc04cef3d30 Mem abort info: ESR = 0x96000007 EC = 0x25: DABT (current EL), IL = 32 bits pc : trace_raw_output_f2fs_direct_IO_enter+0x54/0xa4 lr : trace_raw_output_f2fs_direct_IO_enter+0x2c/0xa4 sp : ffffffc0443cbbd0 x29: ffffffc0443cbbf0 x28: ffffff8935b120d0 x27: ffffff8935b12108 x26: ffffff8935b120f0 x25: ffffff8935b12100 x24: ffffff8935b110c0 x23: ffffff8935b10000 x22: ffffff88859a936c x21: ffffff88859a936c x20: ffffff8935b110c0 x19: ffffff8935b10000 x18: ffffffc03b195060 x17: ffffff8935b11e76 x16: 00000000000000cc x15: ffffffef855c4f2c x14: 0000000000000001 x13: 000000000000004e x12: ffff0000ffffff00 x11: ffffffef86c350d0 x10: 00000000000010c0 x9 : 000000000fe0002c x8 : ffffffc04cef3d28 x7 : 7f7f7f7f7f7f7f7f x6 : 0000000002000000 x5 : ffffff8935b11e9a x4 : 0000000000006250 x3 : ffff0a00ffffff04 x2 : 0000000000000002 x1 : ffffffef86a0a31f x0 : ffffff8935b10000 Call trace: trace_raw_output_f2fs_direct_IO_enter+0x54/0xa4 print_trace_fmt+0x9c/0x138 print_trace_line+0x154/0x254 tracing_read_pipe+0x21c/0x380 vfs_read+0x108/0x3ac ksys_read+0x7c/0xec __arm64_sys_read+0x20/0x30 invoke_syscall+0x60/0x150 el0_svc_common.llvm.1237943816091755067+0xb8/0xf8 do_el0_svc+0x28/0xa0 Fix it by copying the required variables for printing and while at it fix the similar issue at some other places in the same file.

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.1 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Scenarios
en: AV:L - Exploitation requires local access via f2fs direct I/O or unlink syscalls to record the event, then reading the human-readable trace output through tracefs; it is not reachable from the network stack or remote protocols. AC:L - An attacker who can enable the f2fs_direct_IO_enter (or unlink) event and perform O_DIRECT I/O or unlink on an f2fs mount can reliably record a dangling pointer and trigger the unsafe dereference on the next formatted trace read, with no race or uncontrollable precondition. PR:L - On the primary real-world f2fs deployment (Android), an unprivileged local user can exercise the DIO/unlink paths that populate the ring buffer; analogous tracepoint dangling-pointer CVEs (e.g. CVE-2025-37938) are scored PR:L, and when uncertain the higher-severity choice applies. UI:N - No victim interaction is required; the attacker can enable the event, trigger f2fs DIO/unlink, and read the formatted trace themselves without another user taking action. S:U - Impact stays within the local kernel's security authority; this is a standard in-kernel UAF/DoS path with no VM escape, IOMMU bypass, or other cross-boundary effect. C:H - The print path dereferences a stale kiocb (and similarly may walk a freed dentry name via %s), copying freed/reused kernel memory into the userspace trace buffer—matching the UAF/info-disclosure guidance for high confidentiality impact. I:N - TP_printk only reads the dangling fields for formatting and does not write through the stale pointer, so there is no integrity or control-flow write primitive from this bug. A:H - The reported failure is a kernel paging-request oops in trace_raw_output_f2fs_direct_IO_enter while reading trace_pipe, which is a full availability impact under CVSS kernel guidance.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux bd984c03097b8e9b7500cba7378040ac1c697dbb to < d555aa37566c5c3728f2e52047a9722eae2aed93 (affected · git)bd984c03097b8e9b7500cba7378040ac1c697dbb to < b4244ca341ea95c52ee8fa93d04f5af3e584dd37 (affected · git)bd984c03097b8e9b7500cba7378040ac1c697dbb to < 0db18eec0d9a7ee525209e31e3ac2f673545b12f (affected · git)Default: unaffected Linux · cna
Linux Linux 5.17 (affected)0 to < 5.17 (unaffected · semver)6.0.16 through 6.0.* (unaffected · semver)6.1.2 through 6.1.* (unaffected · semver)6.2 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

3

Provider assertions

1

Linux · cna

f2fs: fix the assign logic of iocb

Provenance

Schema
5.2
Searchable
yes
Content hash
e5c51419f072a3c08a62bb541a1845d9257af60388978e87302deb108f9ba05a
Ingested
23 Sep 2026, 08:04:48 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