Skip to content
Medium 5.5

Vulnerability in Kernel

CVE-2022-50553 First seen on SecPulse

Auto-generated summary

Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.

A vulnerability tracked as CVE-2022-50553 has been found in Kernel.
Risk of unauthorized operations or information disclosure.
What to do: upgrade Kernel to 5.4.229, 5.10.163, 5.15.87, 6.0.18, 6.1.4 or later.
If unsure, ask your IT team or search "Kernel CVE-2022-50553" on the vendor's site.

CVE-2022-50553 (Kernel)
Patched: 5.4.229, 5.10.163, 5.15.87, 6.0.18, 6.1.4 — apply immediately
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 (unclassified) exists in Kernel.

Affected scope

Check the vendor advisory for the affected versions of Kernel.

Severity

Severity: ?. Risk of unauthorized operations or information disclosure.

How to fix

Update to 5.4.229, 5.10.163, 5.15.87, 6.0.18, 6.1.4.

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. Run grep -r 'Kernel' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.

Response actions

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

  1. 1
    Identify exposureidentify
    grep -r 'Kernel' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で Kernel を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    Apply patchpatch
    Upgrade Kernel to 5.4.229, 5.10.163, 5.15.87, 6.0.18, 6.1.4

    ステージング環境で 5.4.229, 5.10.163, 5.15.87, 6.0.18, 6.1.4 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

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

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

Affected packages

PackageAffected → Fixed
LinuxKernel
≥ 5.4.19, < 5.4.229→ 5.4.229
≥ 5.5.6, < 5.6→ 5.6
≥ 5.6.0, < 5.10.163→ 5.10.163
≥ 5.11.0, < 5.15.87→ 5.15.87
≥ 5.16.0, < 6.0.18→ 6.0.18
≥ 6.1.0, < 6.1.4→ 6.1.4
LinuxLinux —

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:

tracing/hist: Fix out-of-bound write on 'action_data.var_ref_idx'

When generate a synthetic event with many params and then create a trace
action for it [1], kernel panic happened [2].

It is because that in trace_action_create() 'data->n_params' is up to
SYNTH_FIELDS_MAX (current value is 64), and array 'data->var_ref_idx'
keeps indices into array 'hist_data->var_refs' for each synthetic event
param, but the length of 'data->var_ref_idx' is TRACING_MAP_VARS_MAX
(current value is 16), so out-of-bound write happened when 'data->n_params'
more than 16. In this case, 'data->match_data.event' is overwritten and
eventually cause the panic.

To solve the issue, adjust the length of 'data->var_ref_idx' to be
SYNTH_FIELDS_MAX and add sanity checks to avoid out-of-bound write.

[1]

cd /sys/kernel/tracing/

echo "my_synth_event int v1; int v2; int v3; int v4; int v5; int v6;\

int v7; int v8; int v9; int v10; int v11; int v12; int v13; int v14;
int v15; int v16; int v17; int v18; int v19; int v20; int v21; int v22;
int v23; int v24; int v25; int v26; int v27; int v28; int v29; int v30;
int v31; int v32; int v33; int v34; int v35; int v36; int v37; int v38;
int v39; int v40; int v41; int v42; int v43; int v44; int v45; int v46;
int v47; int v48; int v49; int v50; int v51; int v52; int v53; int v54;
int v55; int v56; int v57; int v58; int v59; int v60; int v61; int v62;
int v63" >> synthetic_events

echo '…

Source: OSV.dev (Open Source Vulnerabilities) NVD OSV

References

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