CVE-2022-50233

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

State
Published
Severity
7.8 High
Published
Aug 9, 2025
Updated
Oct 15, 2026
Reserved
Jun 18, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 4c3dbb2c312c9fafbac30d98c523b8b1f3455d78 to before dd7b8cdde098cf9f7c8de409b5b7bbb98f97be80Affected
LinuxLinux
  • 4.14Affected
  • before 4.14Not affected
  • 6.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.