Menu

Star on GitHub · 3.2k

CVE-2025-39686

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: comedi: Make insn_rw_emulate_bits() do insn->n samples The `insn_rw_emulate_bits()` function is used as a default handler for `…

Published Sep 5, 2025EPSS 0.19%

Overview

CVE-2025-39686 is a high-severity vulnerability. It was published on September 5, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

comedi: Make insn_rw_emulate_bits() do insn->n samples

The `insn_rw_emulate_bits()` function is used as a default handler for

`INSN_READ` instructions for subdevices that have a handler for

`INSN_BITS` but not for `INSN_READ`. Similarly, it is used as a default

handler for `INSN_WRITE` instructions for subdevices that have a handler

for `INSN_BITS` but not for `INSN_WRITE`. It works by emulating the

`INSN_READ` or `INSN_WRITE` instruction handling with a constructed

`INSN_BITS` instruction. However, `INSN_READ` and `INSN_WRITE`

instructions are supposed to be able read or write multiple samples,

indicated by the `insn->n` value, but `insn_rw_emulate_bits()` currently

only handles a single sample. For `INSN_READ`, the comedi core will

copy `insn->n` samples back to user-space. (That triggered KASAN

kernel-infoleak errors when `insn->n` was greater than 1, but that is

being fixed more generally elsewhere in the com

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2025-39686?

CVE-2025-39686 is a high-severity vulnerability. It was published on September 5, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2025-39686?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-39686?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-39686?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2025-39686 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2025

View all