Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.1%top 96%

Linux hwe edge: In the Linux kernel, the following vulnerability has been resolved: crypto: skcipher - Fix reqsize handling Commit afddce13ce81d ("crypto: api - Add… (CVE-2025-40182)

0
Medium
Published: 11/12/2025 (11/12/2025, 22:15:00 UTC)
Source: GCVE Database
Product: linux-hwe-edge

Description

In the Linux kernel, the following vulnerability has been resolved: crypto: skcipher - Fix reqsize handling Commit afddce13ce81d ("crypto: api - Add reqsize to crypto_alg") introduced cra_reqsize field in crypto_alg struct to replace type specific reqsize fields. It looks like this was introduced specifically for ahash and acomp from the commit description as subsequent commits add necessary changes in these alg frameworks. However, this is being recommended for use in all crypto algs [1] instead of setting reqsize using crypto_*_set_reqsize(). Using cra_reqsize in skcipher algorithms, hence, causes memory corruptions and crashes as the underlying functions in the algorithm framework have not been updated to set the reqsize properly from cra_reqsize. [2] Add proper set_reqsize calls in the skcipher init function to properly initialize reqsize for these algorithms in the framework. [1]: https://lore.kernel.org/linux-crypto/[email protected]/ [2]: https://gist.github.com/Pratham-T/24247446f1faf4b7843e4014d5089f6b

CVSS v3.1

Score 7.8high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected software

Affected versions
<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-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/30/2026, 16:56:30 UTC

Technical Analysis

The Linux kernel introduced a change in the crypto API by adding the cra_reqsize field to the crypto_alg structure to replace type-specific reqsize fields, initially targeting ahash and acomp algorithms. However, this change was recommended for all crypto algorithms, including skcipher. The skcipher framework did not update its initialization to properly set reqsize from cra_reqsize, causing memory corruption and crashes. The fix involves adding proper set_reqsize calls in the skcipher initialization function to correctly initialize the reqsize for these algorithms.

Potential Impact

Exploitation of this vulnerability can lead to memory corruption and crashes within the Linux kernel's cryptographic skcipher subsystem, potentially impacting system confidentiality, integrity, and availability. The CVSS vector indicates local attack complexity with low privileges required and no user interaction, emphasizing the risk of high impact on affected systems.

Mitigation Recommendations

A fix has been implemented in the Linux kernel to properly initialize the reqsize field in skcipher algorithms by adding the necessary set_reqsize calls during initialization. Users and administrators should apply the official Linux kernel updates that include this fix. Patch status is not explicitly confirmed in the provided data; therefore, check the vendor advisory or Linux kernel mailing lists for the latest remediation guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-fxwg-47f2-r9jw
Osv Schema Version
1.4.0
Aliases
["CVE-2025-40182"]
Ecosystems
[]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6a6b72d59c2644c7f847a28a

Added to database: 07/30/2026, 15:50:45 UTC

Last enriched: 07/30/2026, 16:56:30 UTC

Last updated: 08/01/2026, 07:17:56 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses