Skip to content
Medium 5.5

Vulnerability in Kernel

CVE-2025-39684 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-2025-39684 has been found in Kernel.
Attackers can target a specific entry point like INSN_READ over the network to misuse the product.
Risk of unauthorized operations or information disclosure. CVSS score: 5.5/10.
What to do: upgrade Kernel to 5.15.190, 6.1.149, 6.6.103, 6.12.44, 6.16.4 or later.
If unsure, ask your IT team or search "Kernel CVE-2025-39684" on the vendor's site.

CVE-2025-39684 (Kernel) — CWE-908 / CVSS v3 5.5
Attack vector: local / no user interaction
Attack surface: INSN_READ / INSN_WRITE / INSN_BITS
Patched: 5.15.190, 6.1.149, 6.6.103, 6.12.44, 6.16.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 (CWE-908) exists in Kernel. Attackers reach the vulnerable code path via INSN_READ.

Affected scope

Check the vendor advisory for the affected versions of Kernel. Attack surface: INSN_READ / INSN_WRITE / INSN_BITS.

Severity

Severity: Medium (CVSS 5.5/10). Risk of unauthorized operations or information disclosure.

How to fix

Update to 5.15.190, 6.1.149, 6.6.103, 6.12.44, 6.16.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.15.190, 6.1.149, 6.6.103, 6.12.44, 6.16.4

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

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

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

Affected packages

PackageAffected → Fixed
LinuxKernel
≥ 2.6.29, < 5.15.190→ 5.15.190
≥ 5.16.0, < 6.1.149→ 6.1.149
≥ 6.2.0, < 6.6.103→ 6.6.103
≥ 6.7.0, < 6.12.44→ 6.12.44
≥ 6.13.0, < 6.16.4→ 6.16.4

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:

comedi: Fix use of uninitialized memory in do_insn_ioctl() and do_insnlist_ioctl()

syzbot reports a KMSAN kernel-infoleak in do_insn_ioctl(). A kernel
buffer is allocated to hold insn->n samples (each of which is an
unsigned int). For some instruction types, insn->n samples are
copied back to user-space, unless an error code is being returned. The
problem is that not all the instruction handlers that need to return
data to userspace fill in the whole insn->n samples, so that there is
an information leak. There is a similar syzbot report for
do_insnlist_ioctl(), although it does not have a reproducer for it at
the time of writing.

One culprit is insn_rw_emulate_bits() which is used as the handler for
INSN_READ or INSN_WRITE instructions for subdevices that do not have
a specific handler for that instruction, but do have an INSN_BITS
handler. For INSN_READ it only fills in at most 1 sample, so if
insn->n is greater than 1, the remaining insn->n - 1 samples copied
to userspace will be uninitialized kernel data.

Another culprit is vm80xx_ai_insn_read() in the "vm80xx" driver. It
never returns an error, even if it fails to fill the buffer.

Fix it in do_insn_ioctl() and do_insnlist_ioctl() by making sure
that uninitialized parts of the allocated buffer are zeroed before
handling each instruction.

Thanks to Arnaud Lecomte for their fix to do_insn_ioctl(). That fix
repla…

Source: NIST National Vulnerability Database NVD GitHub Advisory

References

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