Skip to content
CVE PROGRAM SOURCE RECORD5.5 Medium

CVE-2022-49273

rtc: pl031: fix rtc features null pointer dereference

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • d9b0dd54a1943f47a381a474f8ea2c94466110c0 to < cd2722e411e8ab7e5ae41102f6925fa13dffdac5affected
  • d9b0dd54a1943f47a381a474f8ea2c94466110c0 to < d274ce4a3dfd0b9a292667535578359b865765cbaffected
  • d9b0dd54a1943f47a381a474f8ea2c94466110c0 to < 1b915703964f7e636961df04c540261dc55c6c70affected
  • d9b0dd54a1943f47a381a474f8ea2c94466110c0 to < ea6af39f3da50c86367a71eb3cc674ade3ed244caffected

Linux Linux

Default version status: affected

  • 5.12affected
  • 0 to < 5.12unaffected
  • 5.15.33 to ≤ 5.15.*unaffected
  • 5.16.19 to ≤ 5.16.*unaffected
  • 5.17.2 to ≤ 5.17.*unaffected
  • 5.18 to ≤ *unaffected

References