# CVE-2022-50233: Bluetooth: eir: Fix using strlen with hdev->{dev_name,short_name}

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2025-08-09T14:30:51.639Z
- Modified: 2026-10-15T22:17:28.033Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 4c3dbb2c312c9fafbac30d98c523b8b1f3455d78 before dd7b8cdde098cf9f7c8de409b5b7bbb98f97be80; 4.14 (not affected: before 4.14; from 6.0 up to *)
- linux linux_kernel: from 4.14 before 6.0

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/dd7b8cdde098cf9f7c8de409b5b7bbb98f97be80> (patch)

## Sources

- CVE List: [CVE-2022-50233](https://www.cve.org/CVERecord?id=CVE-2022-50233), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2022-50233](https://nvd.nist.gov/vuln/detail/CVE-2022-50233), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2022-50233 · Whole record: https://cve.day/CVE-2022-50233.json · Rebuilt by cve.day 2026-11-25T22:58:21.118Z
