Review reviewHigh

CVE-2022-49170

Linux Linux, linux kernel

In 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 vers...

CVSS
7.8
EPSS
0.27%
18.9% percentile
CISA KEV
Not listed
Published
2025.02.26
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability0.27%
Technical severityCVSS 7.8

Vulnerability overview

In 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 vers...

Affected product and versions

Product
Linux Linux, linux kernel
Affected versions
>= 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 < 498b7088db71f9707359448cd6800bbb1882f4c3, >= 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 < f68caedf264a95c0b02dfd0d9f92ac2637d5848a, >= 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 < 0748a0f7dcb9d9dddc80302d73ebcecef6782ef0, >= 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 < c12765e3f129b144421c80d3383df885f85ee290, >= 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 < f41ee8b91c00770d718be2ff4852a80017ae9ab3, >= 3.8, >= 3.8 < 5.10.110, >= 5.11 < 5.15.33, >= 5.16 < 5.16.19, >= 5.17 < 5.17.2
Fixed versions
5.10.110, 5.15.33, 5.16.19, 5.17.2

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Linux Linux, linux kernel and an affected version are present.

  2. 2
    Prioritize

    Combine exploitation signals with asset exposure and business criticality.

  3. 3
    Remediate

    Follow the vendor advisory or supported update path and preserve rollback options.

  4. 4
    Verify

    Recheck the version, service health, access paths, and relevant logs.

Technical data

CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE
CWE-129