Skip to main content
EPSS 0.1%top 96%

In the Linux kernel, the following vulnerability has been resolved: regmap: slimbus: fix bus_context pointer in regmap init calls Commit… (CVE-2025-40317)

0
High
Published: 12/08/2025 (12/08/2025, 03:31:01 UTC)
Source: GCVE Database

Description

A vulnerability in the Linux kernel's regmap slimbus implementation was resolved by correcting an incorrect bus_context pointer used in regmap initialization calls. The issue was introduced after a commit that changed the regmap initialization function, causing kernel paging faults and breaking audio playback on affected hardware such as the Thundercomm Dragonboard 845c. The fix involves using the correct bus_context pointer in both __devm_regmap_init_slimbus() and __regmap_init_slimbus() functions.

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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/30/2026, 17:52:53 UTC

Technical Analysis

The Linux kernel regmap slimbus subsystem had a vulnerability due to an incorrect bus_context pointer passed during regmap initialization calls. This was introduced after commit 4e65bda8273c changed the initialization function from __regmap_init_slimbus() to __devm_regmap_init_slimbus(), but the bus_context argument was not updated accordingly. This caused kernel paging faults during audio playback on certain hardware platforms, such as the sdm845 Thundercomm Dragonboard 845c. The vulnerability was fixed by correcting the bus_context pointer to reference the correct device structure (slimbus) in both initialization functions. The wcd934x codec was identified as the first or only user affected by this issue.

Potential Impact

The vulnerability can cause kernel paging faults leading to system instability or crashes, specifically impacting audio playback functionality on affected hardware. The CVSS vector indicates local attack vector with low complexity and low privileges required, resulting in high confidentiality, integrity, and availability impact. However, no known exploits in the wild have been reported.

Mitigation Recommendations

A fix is available in the Linux kernel that corrects the bus_context pointer in regmap initialization calls. Users should update to a kernel version that includes this fix. Since this is a kernel-level issue, applying the official kernel patch or upgrading to a fixed kernel release is the recommended remediation. Patch status is not explicitly confirmed in the provided data; check the Linux kernel vendor advisory or source repository for the exact fixed version and apply updates accordingly.

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-8c3q-mr36-wh76
Osv Schema Version
1.4.0
Aliases
["CVE-2025-40317"]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6a6b72d49c2644c7f8479230

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

Last enriched: 07/30/2026, 17:52:53 UTC

Last updated: 09/10/2026, 19:26:54 UTC

Views: 33

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