PT-2025-37624
CVE-2022-50322
·
Published
2022-01-01
·
Updated
2026-11-06
Description by
CVSS 3.1
5.5
MediumMetricsAV: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.
Found an issue in the description? Have something to add? Feel free to write us 👾