Skip to main content
CVE-2025-40063VulnerabilityPublished Updated

CVE-2025-40063: Linux hwe edge · In the Linux kernel, the following vulnerability has been resolved: crypto: comp - Use same definition of context alloc and free ops In commit

Affects linux-hwe-edgeSource GCVE Database

0

Not known to be exploited · CVSS 7.0 Medium · fixed in 6.17.0-1011.11 : update linux-hwe-edge when convenient.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 3.1 base score
7.0Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 2% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 6.17.0-1011.11, 6.17.0-1008.8~24.04.1, 6.17.0-1008.8 +1
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 28 Oct 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

Upgrade linux-hwe-edge to 6.17.0-1011.11, 6.17.0-1008.8~24.04.1, 6.17.0-1008.8 or 6.17.0-1007.7~24.04.1.

Affected software

ProductAffectedFixed in
linux-hwe-edgeAffected
  • <6.17.0-1007.7~24.04.1
  • <6.17.0-1008.8~24.04.1
  • <6.17.0-1008.8
  • <6.17.0-1011.11
Fixed in
  • 6.17.0-1007.7~24.04.1
  • 6.17.0-1008.8~24.04.1
  • 6.17.0-1008.8
  • 6.17.0-1011.11

AI-suggested

A fix has been applied in the Linux kernel source code that removes the union from the scomp_alg structure to ensure consistent layout with crypto_acomp_streams. Users should update their Linux kernel to a version that includes this fix. No additional mitigations are specified.

Description

In the Linux kernel, the following vulnerability has been resolved: crypto: comp - Use same definition of context alloc and free ops In commit 42d9f6c77479 ("crypto: acomp - Move scomp stream allocation code into acomp"), the crypto_acomp_streams struct was made to rely on having the alloc_ctx and free_ctx operations defined in the same order as the scomp_alg struct. But in that same commit, the alloc_ctx and free_ctx members of scomp_alg may be randomized by structure layout randomization, since they are contained in a pure ops structure (containing only function pointers). If the pointers within scomp_alg are randomized, but those in crypto_acomp_streams are not, then the order may no longer match. This fixes the problem by removing the union from scomp_alg so that both crypto_acomp_streams and scomp_alg will share the same definition of alloc_ctx and free_ctx, ensuring they will always have the same layout.

References

Community reviews

Loading reviews…