« List of all CVEs

CVE-2022-50233

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

Published: 8/9/2025 Last updated: 10/29/2025 Reserved: 6/18/2025

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.

CNA assigner: Linux (416baaa9-dc9f-4396-8d5f-8c081fb06d67) Requested by: n/a

Opam packages affected (27)

albatross cdrom conf-bpftool conf-libbpf conf-linux-libc-dev core core_unix hvsock mirage-block-unix mm ocaml-probes orun rawlink rawlink-eio rawlink-lwt shell solo5 solo5-bindings-hvt solo5-bindings-spt solo5-cross-aarch64 solo5-kernel-ukvm tracy-client tuntap uring vhd-format vhd-format-lwt xapi-stdext-unix

Products affected (4)

Product Vendor Version
Linux Linux 9.14.4.22
Linux Linux QCN9274
Linux Linux Snapdragon 870 5G Mobile Platform (SM8250-AC)
Linux Linux n/a

References (2)