CVE-2025-38507
HID: nintendo: avoid bluetooth suspend/resume stalls
Check your servers for CVE-2025-38507
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-38507 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Exploitation
EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 15.3% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 2af16c1f846bd60240745bbd3afa13d5f040c61a, before 167c610b45b4c23a954aac70df9760a4bf358b20 affected from 2af16c1f846bd60240745bbd3afa13d5f040c61a, before d3c8519f85b786dcae2498b3496f32e3925e4601 affected from 2af16c1f846bd60240745bbd3afa13d5f040c61a, before 7b4a026313529a487821ef6ab494a61f12c1db08 affected from 2af16c1f846bd60240745bbd3afa13d5f040c61a, before 72cb7eef06a5cde42b324dea85fa11fd5bb6a08a affected from 2af16c1f846bd60240745bbd3afa13d5f040c61a, before 4a0381080397e77792a5168069f174d3e56175ff
Other versions: unaffected
|
| Linux |
affected 5.16 unaffected before 5.16 unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.160 up to and including 6.6.* unaffected from 6.12.39 up to and including 6.12.* unaffected from 6.15.7 up to and including 6.15.* unaffected 6.16 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-38507 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-38507
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-38507
trivy image --scanners vuln IMAGE | grep CVE-2025-38507
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/167c610b45b4c23a954aac70df9760a4bf358b20 git.kernel.org
- https://git.kernel.org/stable/c/d3c8519f85b786dcae2498b3496f32e3925e4601 git.kernel.org
- https://git.kernel.org/stable/c/7b4a026313529a487821ef6ab494a61f12c1db08 git.kernel.org
- https://git.kernel.org/stable/c/72cb7eef06a5cde42b324dea85fa11fd5bb6a08a git.kernel.org
- https://git.kernel.org/stable/c/4a0381080397e77792a5168069f174d3e56175ff git.kernel.org
Source: the record CVE-2025-38507 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse