In the Linux kernel, the following vulnerability has been resolved: regmap: slimbus: fix bus_context pointer in regmap init calls Commit… (CVE-2025-40317)
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.
AI Analysis
Technical Summary
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.
In the Linux kernel, the following vulnerability has been resolved: regmap: slimbus: fix bus_context pointer in regmap init calls Commit… (CVE-2025-40317)
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
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.