CVE-2025-38507 HID: nintendo: avoid bluetooth suspend/resume stalls

Medium 5.5 Published Updated

A flaw in the Linux kernel's Nintendo HID driver causes system stalls or panics during Bluetooth suspend/resume cycles, leading to denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-38507?

CVE-2025-38507 is a medium-severity denial of service vulnerability in Linux kernel, published on 16 Aug 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Which versions are affected by CVE-2025-38507?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2025-38507?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2025-38507 being exploited?

There is no known exploitation of CVE-2025-38507 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2025-38507, DEBIAN-CVE-2025-38507, GHSA-7gjj-mw46-368m, ROOT-OS-DEBIAN-12-CVE-2025-38507, ROOT-OS-DEBIAN-13-CVE-2025-38507, ROOT-OS-UBUNTU-2204-CVE-2025-38507 and 2 more.

Is CVE-2025-38507 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free