CVE-2022-49273

rtc: pl031: fix rtc features null pointer dereference

State
Published
Severity
5.5 Medium
Published
Feb 26, 2025
Updated
May 11, 2026
Reserved
Feb 26, 2025

Read the record on cve.org

Description

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 RTC_FEATURE_ALARM after the rtc device is allocated.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • d9b0dd54a1943f47a381a474f8ea2c94466110c0 to before cd2722e411e8ab7e5ae41102f6925fa13dffdac5Affected
  • d9b0dd54a1943f47a381a474f8ea2c94466110c0 to before d274ce4a3dfd0b9a292667535578359b865765cbAffected
  • d9b0dd54a1943f47a381a474f8ea2c94466110c0 to before 1b915703964f7e636961df04c540261dc55c6c70Affected
  • d9b0dd54a1943f47a381a474f8ea2c94466110c0 to before ea6af39f3da50c86367a71eb3cc674ade3ed244cAffected
LinuxLinux
  • 5.12Affected
  • before 5.12Not affected
  • 5.15.33 through 5.15.*Not affected
  • 5.16.19 through 5.16.*Not affected
  • 5.17.2 through 5.17.*Not affected
  • 5.18 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.