PT-2025-53144

CVE-2022-50778

·

Published

2022-09-07

·

Updated

2026-10-09

Description by

CVSS 3.1
5.5
Medium
MetricsAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description The Linux kernel contains an issue related to the compiletime strlen() function when used with CONFIG FORTIFY=y and CONFIG UBSAN LOCAL BOUNDS=y. The issue arises from how builtin object size() handles strings with runtime-dependent values, potentially leading to out-of-bounds access during runtime checks. Specifically, the function may attempt to access memory beyond the allocated buffer size in certain scenarios, triggering a runtime panic. This was observed during Android Compatibility Test Suite (CTS) tests. The issue is related to a strlen() call within the hidinput allocate() function. The function uses a local C string whose value depends on a switch statement, causing builtin object size() to evaluate to the maximum string length, leading to the out-of-bounds access.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploitability
Exploit
Impacts
Vendors
Affected products
Related identifiers
RHSA-2023:2458
RHSA-2023:7077
Found an issue in the description? Have something to add? Feel free to write us 👾