CVE-2022-49273: rtc: pl031: fix rtc features null pointer dereference
In the Linux kernel, the following vulnerability has been resolved:
rtc: pl031: fix rtc features null pointer dereference
When there is no interrupt line, rtc alarm feature is disabled.
The clearing of the alarm feature bit was being done prior to allocations of ldata->rtc device, resulting in a null pointer dereference.
Clear RTCFEATUREALARM after the rtc device is allocated.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.17.3-1 - Configuration
Clear RTC_FEATURE_ALARM after the rtc device is allocated.
Linux kernel rtc: pl031 RTC_FEATURE_ALARM = cleared
Event History
Frequently Asked Questions
What is the severity of CVE-2022-49273?
CVE-2022-49273 has a medium severity rating due to the potential for null pointer dereference in the RTC alarm feature.
How do I fix CVE-2022-49273?
To fix CVE-2022-49273, update the Linux kernel to version 5.15.34 or later, 5.16.20 or later, or 5.17.3 or later.
Which Linux kernel versions are affected by CVE-2022-49273?
CVE-2022-49273 affects Linux kernel versions from 5.12 to 5.15.33, from 5.16 to 5.16.19, and from 5.17 to 5.17.2.
What component of the Linux kernel is impacted by CVE-2022-49273?
CVE-2022-49273 impacts the RTC (Real-Time Clock) subsystem within the Linux kernel.
Is CVE-2022-49273 exploitable?
CVE-2022-49273 is considered potentially exploitable because it can lead to unexpected behavior or crashes in systems without an interrupt line.