{"id":"CVE-2022-50233","revision":"bb5b344dd35149538d3a80ebe20b67e8","records":[{"revision":"bb5b344dd35149538d3a80ebe20b67e8","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2022-50233","aliases":[],"title":"Bluetooth: eir: Fix using strlen with hdev->{dev_name,short_name}","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: eir: Fix using strlen with hdev->{dev_name,short_name}\n\nBoth dev_name and short_name are not guaranteed to be NULL terminated so\nthis instead use strnlen and then attempt to determine if the resulting\nstring needs to be truncated or not.","state":0,"publishedAt":"2025-08-09T14:30:51.639+00:00","modifiedAt":"2026-10-15T21:31:19.132+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"net/bluetooth/eir.c\",\n                        \"net/bluetooth/mgmt.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"4c3dbb2c312c9fafbac30d98c523b8b1f3455d78\",\n                            \"lessThan\": \"dd7b8cdde098cf9f7c8de409b5b7bbb98f97be80\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"net/bluetooth/eir.c\",\n                        \"net/bluetooth/mgmt.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"4.14\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"4.14\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.0\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"severity":"HIGH"}],"references":["https://git.kernel.org/stable/c/dd7b8cdde098cf9f7c8de409b5b7bbb98f97be80"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2022-50233","license":"CVE Program Terms of Use","key":"cve-program:CVE-2022-50233","identifiers":["CVE-2022-50233"]},"retained":false,"historicalAffected":[]}],"coverage":[]}