CVE-2022-49170
HIGH 7.8 ALL-YEARSIn the Linux kernel, the following vulnerability has been resolved: f2fs: fix to do sanity check on curseg->alloc_type As Wenqing Liu reported in bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=215657 - Overview UBSAN: array-index-out-of-bounds in fs/f2fs/segment.c:3460:2 when mount and operate a corrupted image - Reproduce tested on kernel 5.17-rc4, 5.17-rc6 1. mkdir test_crash 2. cd test_crash 3. unzip tmp2.zip 4. mkdir mnt 5. ./single_test.sh f2fs 2 - Kernel dump [ 46.434454] loop0: detected capacity change from 0 to 131072 [ 46.529839] F2FS-fs (loop0): Mounted with checkpoint version = 7548c2d9 [ 46.738319] ================================================================================ [ 46.738412] UBSAN: array-index-out-of-bounds in fs/f2fs/segment.c:3460:2 [ 46.738475] index 231 is out of range for type 'unsigned int [2]' [ 46.738539] CPU: 2 PID: 939 Comm: umount Not tainted 5.17.0-rc6 #1 [ 46.738547] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.13.0-1ubuntu1.1 04/01/2014 [ 46.738551] Call Trace: [ 46.738556] <TASK> [ 46.738563] dump_stack_lvl+0x47/0x5c [ 46.738581] ubsan_epilogue+0x5/0x50 [ 46.738592] __ubsan_handle_out_of_bounds+0x68/0x80 [ 46.738604] f2fs_allocate_data_block+0xdff/0xe60 [f2fs] [ 46.738819] do_write_page+0xef/0x210 [f2fs] [ 46.738934] f2fs_do_write_node_page+0x3f/0x80 [f2fs] [ 46.739038] __write_node_page+0x2b7/0x920 [f2fs] [ 46.739162] f2fs_sync_node_pages+0x943/0xb00 [f2fs] [ 4
Severe if exploited (CVSS 7.8), but no confirmed exploitation. Patch on a normal cadence.
Exploitation likelihood
0.3%chance of exploitation in 30 days · 21st percentile
Impact if exploited
7.8CVSS 3.1 · HIGH · CNA
- ConfidentialityHigh
- IntegrityHigh
- AvailabilityHigh
What an attacker needs
- ⚠Access: Requires local access to the host
- ⚠Privileges: Requires a low-privilege account
- ✓User interaction: No user interaction needed
- ✓Complexity: No special conditions — reliably repeatable
✓ lowers the bar for an attacker · ⚠ raises it
Proof of concept
No public PoC is currently catalogued.
Search for new PoCs
Search GitHub now — results may be empty or unverified.
Tracked sources are checked weekly for the full archive, including PoCs published after the original disclosure. A later release appears after a tracked source lists it and a refresh succeeds.
Weakness (CWE)
- CWE-129: Improper Validation of Array Index
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References and research data (JSON)
Vendor product assessments
Showing 32 of 274 vendor product statements; 242 omitted. Read the full vendor advisory.
kernel as a component of Red Hat Enterprise Linux 10 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel
Red Hat · CVE-2022-49170 · Updated 2026-06-30T10:22:19+00:00kernel-64k-debug-modules-extra as a component of Red Hat Enterprise Linux 10 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-64k-debug-modules-extra
Red Hat · CVE-2022-49170 · Updated 2026-06-30T10:22:19+00:00kernel-debug-core as a component of Red Hat Enterprise Linux 10 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-debug-core
Red Hat · CVE-2022-49170 · Updated 2026-06-30T10:22:19+00:00kernel-devel-matched as a component of Red Hat Enterprise Linux 10 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-devel-matched
Red Hat · CVE-2022-49170 · Updated 2026-06-30T10:22:19+00:00kernel-rt-64k-debug as a component of Red Hat Enterprise Linux 10 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-rt-64k-debug
Red Hat · CVE-2022-49170 · Updated 2026-06-30T10:22:19+00:00kernel-rt-64k-modules-extra as a component of Red Hat Enterprise Linux 10 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-rt-64k-modules-extra
Red Hat · CVE-2022-49170 · Updated 2026-06-30T10:22:19+00:00kernel-rt-devel as a component of Red Hat Enterprise Linux 10 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-rt-devel
Red Hat · CVE-2022-49170 · Updated 2026-06-30T10:22:19+00:00kernel-uki-virt-addons as a component of Red Hat Enterprise Linux 10 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-uki-virt-addons
Red Hat · CVE-2022-49170 · Updated 2026-06-30T10:22:19+00:00kernel.src as a component of Red Hat Enterprise Linux 10 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel?arch=src
Red Hat · CVE-2022-49170 · Updated 2026-06-30T10:22:19+00:00kernel-debug as a component of Red Hat Enterprise Linux 6 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-debug
Red Hat · CVE-2022-49170 · Updated 2026-06-30T10:22:19+00:00perf as a component of Red Hat Enterprise Linux 6 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/perf
Red Hat · CVE-2022-49170 · Updated 2026-06-30T10:22:19+00:00kernel-doc as a component of Red Hat Enterprise Linux 7 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-doc
Red Hat · CVE-2022-49170 · Updated 2026-06-30T10:22:19+00:00kernel-rt-doc as a component of Red Hat Enterprise Linux 7 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-rt-doc
Red Hat · CVE-2022-49170 · Updated 2026-06-30T10:22:19+00:00kernel-tools-libs-devel as a component of Red Hat Enterprise Linux 7 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-tools-libs-devel
Red Hat · CVE-2022-49170 · Updated 2026-06-30T10:22:19+00:00kernel-cross-headers as a component of Red Hat Enterprise Linux 8 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-cross-headers
Red Hat · CVE-2022-49170 · Updated 2026-06-30T10:22:19+00:00kernel-headers as a component of Red Hat Enterprise Linux 8 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-headers
Red Hat · CVE-2022-49170 · Updated 2026-06-30T10:22:19+00:00kernel-rt-debug-devel as a component of Red Hat Enterprise Linux 8 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-rt-debug-devel
Red Hat · CVE-2022-49170 · Updated 2026-06-30T10:22:19+00:00kernel-rt-modules-internal as a component of Red Hat Enterprise Linux 8 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-rt-modules-internal
Red Hat · CVE-2022-49170 · Updated 2026-06-30T10:22:19+00:00kernel-zfcpdump-devel as a component of Red Hat Enterprise Linux 8 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-zfcpdump-devel
Red Hat · CVE-2022-49170 · Updated 2026-06-30T10:22:19+00:00kernel as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel
Red Hat · CVE-2022-49170 · Updated 2026-06-30T10:22:19+00:00kernel-64k-debug-modules-extra as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-64k-debug-modules-extra
Red Hat · CVE-2022-49170 · Updated 2026-06-30T10:22:19+00:00kernel-64k-modules-partner as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-64k-modules-partner
Red Hat · CVE-2022-49170 · Updated 2026-06-30T10:22:19+00:00kernel-debug-modules-core as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-debug-modules-core
Red Hat · CVE-2022-49170 · Updated 2026-06-30T10:22:19+00:00kernel-headers as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-headers
Red Hat · CVE-2022-49170 · Updated 2026-06-30T10:22:19+00:00kernel-rt-64k as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-rt-64k
Red Hat · CVE-2022-49170 · Updated 2026-06-30T10:22:19+00:00kernel-rt-64k-debug-modules-extra as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-rt-64k-debug-modules-extra
Red Hat · CVE-2022-49170 · Updated 2026-06-30T10:22:19+00:00kernel-rt-64k-modules-internal as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-rt-64k-modules-internal
Red Hat · CVE-2022-49170 · Updated 2026-06-30T10:22:19+00:00kernel-rt-debug-modules-core as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-rt-debug-modules-core
Red Hat · CVE-2022-49170 · Updated 2026-06-30T10:22:19+00:00kernel-rt-modules-extra as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-rt-modules-extra
Red Hat · CVE-2022-49170 · Updated 2026-06-30T10:22:19+00:00kernel-tools-libs-devel as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-tools-libs-devel
Red Hat · CVE-2022-49170 · Updated 2026-06-30T10:22:19+00:00kernel-zfcpdump-modules-extra as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-zfcpdump-modules-extra
Red Hat · CVE-2022-49170 · Updated 2026-06-30T10:22:19+00:00rv as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/rv
Red Hat · CVE-2022-49170 · Updated 2026-06-30T10:22:19+00:00
Known Affected Software Configurations
| Vendor | Product | Version range |
|---|---|---|
| Linux | Linux Kernel | ≥ 3.8 and < 5.10.110 |
| Linux | Linux Kernel | ≥ 5.11 and < 5.15.33 |
| Linux | Linux Kernel | ≥ 5.16 and < 5.16.19 |
| Linux | Linux Kernel | ≥ 5.17 and < 5.17.2 |
All CVSS metrics
- HIGH 7.8 v3.1 · CNA Primary
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - HIGH 7.8 v3.1 · NVD Secondary
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
Patches & mitigations
- https://git.kernel.org/stable/c/498b7088db71f9707359448cd6800bbb1882f4c3 CVE record · Linux · Updated 2026-08-12T23:58:11.094Z
NVD · CVE-2022-49170 · Updated 2026-08-13T00:17:30.040 - https://git.kernel.org/stable/c/f68caedf264a95c0b02dfd0d9f92ac2637d5848a CVE record · Linux · Updated 2026-08-12T23:58:11.094Z
NVD · CVE-2022-49170 · Updated 2026-08-13T00:17:30.040 - https://git.kernel.org/stable/c/0748a0f7dcb9d9dddc80302d73ebcecef6782ef0 CVE record · Linux · Updated 2026-08-12T23:58:11.094Z
NVD · CVE-2022-49170 · Updated 2026-08-13T00:17:30.040 - https://git.kernel.org/stable/c/c12765e3f129b144421c80d3383df885f85ee290 CVE record · Linux · Updated 2026-08-12T23:58:11.094Z
NVD · CVE-2022-49170 · Updated 2026-08-13T00:17:30.040 - https://git.kernel.org/stable/c/f41ee8b91c00770d718be2ff4852a80017ae9ab3 CVE record · Linux · Updated 2026-08-12T23:58:11.094Z
NVD · CVE-2022-49170 · Updated 2026-08-13T00:17:30.040
Advisories
- https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-49170.json Red Hat · CVE-2022-49170 · Updated 2026-06-30T10:22:19+00:00
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-55055 EUVD · EUVD-2022-55055
Technical & other
- https://access.redhat.com/security/cve/CVE-2022-49170 Red Hat · CVE-2022-49170 · Updated 2026-06-30T10:22:19+00:00
- https://bugzilla.redhat.com/show_bug.cgi?id=2348149 Red Hat · CVE-2022-49170 · Updated 2026-06-30T10:22:19+00:00
- https://www.cve.org/CVERecord?id=CVE-2022-49170 Red Hat · CVE-2022-49170 · Updated 2026-06-30T10:22:19+00:00
- https://nvd.nist.gov/vuln/detail/CVE-2022-49170 Red Hat · CVE-2022-49170 · Updated 2026-06-30T10:22:19+00:00
- https://lore.kernel.org/linux-cve-announce/2025022612-CVE-2022-49170-b183@gregkh/T Red Hat · CVE-2022-49170 · Updated 2026-06-30T10:22:19+00:00
Sources: NVD · CVE.org · All sources and attribution · EPSS