Vulnerability in Kernel
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-2025-68795 has been found in Kernel.
Successful exploitation can lead to full system takeover. CVSS score: 7.8/10.
What to do: upgrade Kernel to 5.10.248, 5.15.198, 6.1.160, 6.6.120, 6.12.64, 6.18.3 or later.
If unsure, ask your IT team or search "Kernel CVE-2025-68795" on the vendor's site.
CVE-2025-68795 (Kernel) — CWE-122 / CVSS v3 7.8
Attack vector: local / no user interaction
Patched: 5.10.248, 5.15.198, 6.1.160, 6.6.120, 6.12.64, 6.18.3 — 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.
A vulnerability (CWE-122) exists in Kernel.
Check the vendor advisory for the affected versions of Kernel.
Severity: High (CVSS 7.8/10). Successful exploitation can lead to full system takeover.
Update to 5.10.248, 5.15.198, 6.1.160, 6.6.120, 6.12.64, 6.18.3.
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. 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
Identify exposureidentify
grep -r 'Kernel' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
Kernelを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply patchpatch
Upgrade Kernel to 5.10.248, 5.15.198, 6.1.160, 6.6.120, 6.12.64, 6.18.3ステージング環境で 5.10.248, 5.15.198, 6.1.160, 6.6.120, 6.12.64, 6.18.3 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxKernel |
≥ 2.6.12, < 5.10.248→ 5.10.248 ≥ 5.11.0, < 5.15.198→ 5.15.198 ≥ 5.16.0, < 6.1.160→ 6.1.160 ≥ 6.2.0, < 6.6.120→ 6.6.120 ≥ 6.7.0, < 6.12.64→ 6.12.64 ≥ 6.13.0, < 6.18.3→ 6.18.3 |
5.10.248 5.15.198 6.1.160 6.6.120 6.12.64 6.18.3 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- BellSoft Alpaquita BELL-CVE-2025-68795 linux-lts Fix available
- Debian DEBIAN-CVE-2025-68795 linux-6.1, linux Fix available
- Ubuntu UBUNTU-CVE-2025-68795 linux-xilinx-zynqmp, linux-xilinx, linux-riscv-6.17 +56 more Fix available
Original description The description as published by the source.
In the Linux kernel, the following vulnerability has been resolved:
ethtool: Avoid overflowing userspace buffer on stats query
The ethtool -S command operates across three ioctl calls:
ETHTOOL_GSSET_INFO for the size, ETHTOOL_GSTRINGS for the names, and
ETHTOOL_GSTATS for the values.
If the number of stats changes between these calls (e.g., due to device
reconfiguration), userspace's buffer allocation will be incorrect,
potentially leading to buffer overflow.
Drivers are generally expected to maintain stable stat counts, but some
drivers (e.g., mlx5, bnx2x, bna, ksz884x) use dynamic counters, making
this scenario possible.
Some drivers try to handle this internally:
- bnad_get_ethtool_stats() returns early in case stats.n_stats is not
equal to the driver's stats count. - micrel/ksz884x also makes sure not to write anything beyond
stats.n_stats and overflow the buffer.
However, both use stats.n_stats which is already assigned with the value
returned from get_sset_count(), hence won't solve the issue described
here.
Change ethtool_get_strings(), ethtool_get_stats(),
ethtool_get_phy_stats() to not return anything in case of a mismatch
between userspace's size and get_sset_size(), to prevent buffer
overflow.
The returned n_stats value will be equal to zero, to reflect that
nothing has been returned.
This could result in one of two cases when using upstream ethtool,
depending on when the size change is detected:
- When detected in ethtool_get_strings():
ethtool…
Source: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory nvd.nist.gov
- advisory github.com
- package git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web github.com