PT-2025-37624 · Linux+1 · Linux Kernel+1
Published
2022-01-01
·
Updated
2026-04-20
·
CVE-2022-50322
CVSS v3.1
5.5
Medium
| Vector | AV: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 in the rtc subsystem, specifically within the
msc313 rtc probe() function. A function prototype mismatch exists when calling clk disable unprepare(), which can lead to kernel panics or thread termination when kernel control flow integrity (kCFI) is enabled. This issue was identified using Clang’s -Wcast-function-type-strict flag, which detects stricter type mismatches than -Wcast-function-type. The issue was resolved by refactoring the code to use devm clk get enabled() instead.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Debian
Linux Kernel