← CVE Intelligence

CVE-2022-49273

rtc: pl031: fix rtc features null pointer dereference PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected d9b0dd54a1943f47a381a474f8ea2c94466110c0 before cd2722e411e8ab7e5ae41102f6925fa13dffdac5; affected d9b0dd54a1943f47a381a474f8ea2c94466110c0 before d274ce4a3dfd0b9a292667535578359b865765cb; affected d9b0dd54a1943f47a381a474f8ea2c94466110c0 before 1b915703964f7e636961df04c540261dc55c6c70; affected d9b0dd54a1943f47a381a474f8ea2c94466110c0 before ea6af39f3da50c86367a71eb3cc674ade3ed244c
Linux / Linuxaffected 5.12; unaffected 0 before 5.12; unaffected 5.15.33 through 5.15.*; unaffected 5.16.19 through 5.16.*; unaffected 5.17.2 through 5.17.*; unaffected 5.18 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.