HID: nintendo: avoid bluetooth suspend/resume stalls (Linux Linux)

CVE-2025-38507
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.20 % · percentile 10 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 2af16c1f846bd60240745bbd3afa13d5f040c61a < 167c610b45b4c23a954aac70df9760a4bf358b20 ; affected 2af16c1f846bd60240745bbd3afa13d5f040c61a < d3c8519f85b786dcae2498b3496f32e3925e4601 ; affected 2af16c1f846bd60240745bbd3afa13d5f040c61a < 7b4a026313529a487821ef6ab494a61f12c1db08 ; affected 2af16c1f846bd60240745bbd3afa13d5f040c61a < 72cb7eef06a5cde42b324dea85fa11fd5bb6a08a ; affected 2af16c1f846bd60240745bbd3afa13d5f040c61a < 4a0381080397e77792a5168069f174d3e56175ff
Linux · Linuxaffected 5.16 ; unaffected 0 < 5.16 ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.160 ≤ 6.6.* ; unaffected 6.12.39 ≤ 6.12.* ; unaffected 6.15.7 ≤ 6.15.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD