CVE-2025-38507

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-38507
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38507.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-38507
Downstream
Published
2025-08-16T10:54:44.663Z
Modified
2025-11-27T02:33:05.306761Z
Summary
HID: nintendo: avoid bluetooth suspend/resume stalls
Details

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 JOYCONCTLRSTATESUSPENDED in a newly-added nintendohid_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 joyconinit() for bluetooth controllers in the nintendohid_resume path.

Tested via multiple suspend/resume flows when using the controller both in USB and bluetooth modes.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/blob/cc431b3424123d84bcd7afd4de150b33f117a8ef/cves/2025/38xxx/CVE-2025-38507.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
2af16c1f846bd60240745bbd3afa13d5f040c61a
Fixed
7b4a026313529a487821ef6ab494a61f12c1db08
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
2af16c1f846bd60240745bbd3afa13d5f040c61a
Fixed
72cb7eef06a5cde42b324dea85fa11fd5bb6a08a
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
2af16c1f846bd60240745bbd3afa13d5f040c61a
Fixed
4a0381080397e77792a5168069f174d3e56175ff

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.12.39
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.15.7