CVE-2022-50233 Bluetooth: eir: Fix using strlen with hdev->{dev_name,short_name}
A missing null termination in Linux kernel Bluetooth code allows attackers to read adjacent memory contents via crafted device names.
- 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-2022-50233?
CVE-2022-50233 is a high-severity vulnerability in Linux kernel, published on 9 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:
Bluetooth: eir: Fix using strlen with hdev->{dev_name,short_name}
Both dev_name and short_name are not guaranteed to be NULL terminated so this instead use strnlen and then attempt to determine if the resulting string needs to be truncated or not.
Which versions are affected by CVE-2022-50233?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2022-50233?
Apply the vendor's patch.
Is CVE-2022-50233 being exploited?
There is no known exploitation of CVE-2022-50233 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-70474, DEBIAN-CVE-2022-50233, GHSA-m5mr-p52m-vp72, ROOT-OS-DEBIAN-11-CVE-2022-50233, ROOT-OS-UBUNTU-2204-CVE-2022-50233, UBUNTU-CVE-2022-50233.