Skip to content
High 7.8

Vulnerability in Linux kernel

CVE-2022-49170 First seen on SecPulse

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

A vulnerability tracked as CVE-2022-49170 has been found in Linux kernel.
Successful exploitation can lead to full system takeover. CVSS score: 7.8/10.
What to do: apply the vendor's official patched release.
If unsure, ask your IT team or search "Linux kernel CVE-2022-49170" on the vendor's site.

CVE-2022-49170 (Linux kernel) — CWE-129 / CVSS v3 7.8
Attack vector: local / no user interaction
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.

What is the problem

A vulnerability (CWE-129) exists in Linux kernel.

Affected scope

Check the vendor advisory for the affected versions of Linux kernel.

Severity

Severity: High (CVSS 7.8/10). Successful exploitation can lead to full system takeover.

How to fix

Update to the patched release per vendor advisory.

Workaround

Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.

Detection

Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Audit SBOM/dependencies to find affected services.

Response actions

Concrete steps and command examples for SOC/SRE teams to execute in order

  1. 1
    Identify exposureidentify
    Audit SBOM/dependencies for affected components.

    資産台帳・SBOM・依存マニフェストで Linux kernel を使っているサービスとバージョンを洗い出す。

  2. 2
    Post-deployment verificationverify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Affected packages

PackageAffected → Fixed
LinuxKernel
≥ 3.8.0, < 5.10.110→ 5.10.110
≥ 5.11.0, < 5.15.33→ 5.15.33
≥ 5.16.0, < 5.16.19→ 5.16.19
≥ 5.17.0, < 5.17.2→ 5.17.2

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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 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]
    [ 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]
    [ 46.7392…

Source: NIST National Vulnerability Database NVD

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details