HID: nintendo: avoid bluetooth suspend/resume stalls
In the Linux kernel, the following vulnerability has been resolved: HID: nintendo: avoid bluetooth suspend/resume stalls Ensure we don't stall or panic the kernel when using bluetooth-connected controllers. This was reported as an issue on android devices using kernel 6.6 due to the resume hook which had been added for usb joycons. First, set a new state value to JOYCON_CTLR_STATE_SUSPENDED in a newly-added nintendo_hid_suspend. This makes sure we will not stall out the kernel waiting for input reports during led classdev suspend. The stalls could happen if connectivity is unreliable or lost to the controller prior to suspend. Second, since we lose connectivity during suspend, do not try joycon_init() for bluetooth controllers in the nintendo_hid_resume path. Tested via multiple suspend/resume flows when using the controller both in USB and bluetooth modes.
CVE-2025-38507
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2025-38507
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "2af16c1f846bd60240745bbd3afa13d5f040c61a",
"lessThan": "d3c8519f85b786dcae2498b3496f32e3925e4601",
"versionType": "git"
},
{
"status": "affected",
"version": "2af16c1f846bd60240745bbd3afa13d5f040c61a",
"lessThan": "7b4a026313529a487821ef6ab494a61f12c1db08",
"versionType": "git"
},
{
"status": "affected",
"version": "2af16c1f846bd60240745bbd3afa13d5f040c61a",
"lessThan": "72cb7eef06a5cde42b324dea85fa11fd5bb6a08a",
"versionType": "git"
},
{
"status": "affected",
"version": "2af16c1f846bd60240745bbd3afa13d5f040c61a",
"lessThan": "4a0381080397e77792a5168069f174d3e56175ff",
"versionType": "git"
}
],
"programFiles": [
"drivers/hid/hid-nintendo.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "5.16"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "5.16",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.160",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.39",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.15.7",
"versionType": "semver",
"lessThanOrEqual": "6.15.*"
},
{
"status": "unaffected",
"version": "6.16",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/hid/hid-nintendo.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2025-38507
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #46003 · Revision 1
- Added to Heist Feed
- Publisher date