Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2022-50270

HIGH 7.1EPSS 8%

f2fs: fix the assign logic of iocb

Mitigation

  • Upgrade Linux to 0db18eec0d9a7ee525209e31e3ac2f673545b12f or later.

Who should check

  • Anyone running Linux >= bd984c03097b8e9b7500cba7378040ac1c697dbb, < d555aa37566c5c3728f2e52047a9722eae2aed93; >= bd984c03097b8e9b7500cba7378040ac1c697dbb, < b4244ca341ea95c52ee8fa93d04f5af3e584dd37; >= bd984c03097b8e9b7500cba7378040ac1c697dbb, < 0db18eec0d9a7ee525209e31e3ac2f673545b12f
  • Anyone running Linux 5.17

Vulnerability facts

Affected
Linux >= bd984c03097b8e9b7500cba7378040ac1c697dbb, < d555aa37566c5c3728f2e52047a9722eae2aed93; >= bd984c03097b8e9b7500cba7378040ac1c697dbb, < b4244ca341ea95c52ee8fa93d04f5af3e584dd37; >= bd984c03097b8e9b7500cba7378040ac1c697dbb, < 0db18eec0d9a7ee525209e31e3ac2f673545b12f; Linux 5.17
Fixed in
Linux 0db18eec0d9a7ee525209e31e3ac2f673545b12f
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.1 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: None
  • Availability impact: High
EPSS
0.23% chance of exploitation in 30 days (percentile 8, 2026-11-26)
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= bd984c03097b8e9b7500cba7378040ac1c697dbb, < d555aa37566c5c3728f2e52047a9722eae2aed93; >= bd984c03097b8e9b7500cba7378040ac1c697dbb, < b4244ca341ea95c52ee8fa93d04f5af3e584dd37; >= bd984c03097b8e9b7500cba7378040ac1c697dbb, < 0db18eec0d9a7ee525209e31e3ac2f673545b12f—cvelist
Linux5.17—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2022-50270. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50270.md
Affected: Linux >= bd984c03097b8e9b7500cba7378040ac1c697dbb, < d555aa37566c5c3728f2e52047a9722eae2aed93; >= bd984c03097b8e9b7500cba7378040ac1c697dbb, < b4244ca341ea95c52ee8fa93d04f5af3e584dd37; >= bd984c03097b8e9b7500cba7378040ac1c697dbb, < 0db18eec0d9a7ee525209e31e3ac2f673545b12f; Linux 5.17
Fixed in: Linux 0db18eec0d9a7ee525209e31e3ac2f673545b12f

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.

References

FAQ

Is CVE-2022-50270 being exploited?

There is no confirmed exploitation: CVE-2022-50270 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-2022-50270?

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

Which versions are affected by CVE-2022-50270?

Linux >= bd984c03097b8e9b7500cba7378040ac1c697dbb, < d555aa37566c5c3728f2e52047a9722eae2aed93; >= bd984c03097b8e9b7500cba7378040ac1c697dbb, < b4244ca341ea95c52ee8fa93d04f5af3e584dd37; >= bd984c03097b8e9b7500cba7378040ac1c697dbb, < 0db18eec0d9a7ee525209e31e3ac2f673545b12f; Linux 5.17.

Is there a fix for CVE-2022-50270?

Yes. Fixed in Linux 0db18eec0d9a7ee525209e31e3ac2f673545b12f. Upgrade Linux to 0db18eec0d9a7ee525209e31e3ac2f673545b12f or later.

How do I check if I'm affected by CVE-2022-50270?

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.

Sponsors