Vulnerability in Linux kernel (CVE-2024-53192)
Summary
Vulnerability in Linux kernel (CVE-2024-53192). Successful exploitation can lead to full system takeover. Exploitable via hws.
Original description
The description as published by the source.
In the Linux kernel, the following vulnerability has been resolved:
clk: clk-loongson2: Fix potential buffer overflow in flexible-array member access
Flexible-array member hws in struct clk_hw_onecell_data is annotated
with the counted_by() attribute. This means that when memory is
allocated for this array, the counter, which in this case is member
num in the flexible structure, should be set to the maximum number of
elements the flexible array can contain, or fewer.
In this case, the total number of elements for the flexible array is
determined by variable clks_num when allocating heap space via
devm_kzalloc(), as shown below:
289 struct loongson2_clk_provider *clp;
...
296 for (p = data; p->name; p++)
297 clks_num++;
298
299 clp = devm_kzalloc(dev, struct_size(clp, clk_data.hws, clks_num),
300 GFP_KERNEL);
So, clp->clk_data.num should be set to clks_num or less, and not
exceed clks_num, as is currently the case. Otherwise, if data is
written into clp->clk_data.hws[clks_num], the instrumentation
provided by the compiler won't detect the overflow, leading to a
memory corruption bug at runtime.
Fix this issue by setting clp->clk_data.num to clks_num.
Source: NIST National Vulnerability Database NVD
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-2024-53192 has been found in Linux kernel.
Attackers can target a specific entry point like hws over the network to misuse the product.
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-2024-53192" on the vendor's site.
CVE-2024-53192 (Linux kernel) — CWE-120 / CVSS v3 7.8
Attack vector: local / no user interaction
Attack surface: hws / num / clks_num
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.
A vulnerability (CWE-120) exists in Linux kernel. Attackers reach the vulnerable code path via hws.
Check the vendor advisory for the affected versions of Linux kernel. Attack surface: hws / num / clks_num.
Severity: High (CVSS 7.8/10). Successful exploitation can lead to full system takeover.
Update to the patched release per vendor advisory.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
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
-
1Identify exposure identify
Audit SBOM/dependencies for affected components.資産台帳・SBOM・依存マニフェストで Linux kernel を使っているサービスとバージョンを洗い出す。
-
2Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
Fix status by distribution
Fixed packages published by each distribution for this CVE
- BellSoft Alpaquita BELL-CVE-2024-53192 linux-lts Fixed in: 6.12.41-r0
- Debian DEBIAN-CVE-2024-53192 linux Fixed in: 6.12.3-1
- Ubuntu UBUNTU-CVE-2024-53192 linux-hwe-edge
References
- advisory github.com
- advisory nvd.nist.gov
- package git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org