All reports
Medium

kernel: Bluetooth: eir: Fix using strlen with hdev->{dev_name,short_name}

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-50233

Probability of exploitation in the next 30 days: 0.16%

FIRST EPSS · 2026-11-23

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.

A flaw was found in the Linux kernel's Bluetooth subsystem. When processing Bluetooth device names, the kernel calculates string lengths without ensuring the strings are properly null-terminated. A local attacker can exploit this vulnerability to trigger an out-of-bounds read, potentially causing a Denial of Service (DoS) via a kernel crash or disclosing sensitive kernel memory.