# CVE-2022-49273: rtc: pl031: fix rtc features null pointer dereference

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 19% of CVEs (2026-12-01)
- Published: 2025-02-26T01:56:19.110Z
- Modified: 2026-06-17T05:17:33.893Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from d9b0dd54a1943f47a381a474f8ea2c94466110c0 before cd2722e411e8ab7e5ae41102f6925fa13dffdac5; from d9b0dd54a1943f47a381a474f8ea2c94466110c0 before d274ce4a3dfd0b9a292667535578359b865765cb; from d9b0dd54a1943f47a381a474f8ea2c94466110c0 before 1b915703964f7e636961df04c540261dc55c6c70; from d9b0dd54a1943f47a381a474f8ea2c94466110c0 before ea6af39f3da50c86367a71eb3cc674ade3ed244c; 5.12 (not affected: before 5.12; from 5.15.33 up to 5.15.*; from 5.16.19 up to 5.16.*; from 5.17.2 up to 5.17.*; from 5.18 up to *)
- linux linux_kernel: from 5.12 before 5.15.33; from 5.16 before 5.16.19; from 5.17 before 5.17.2

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/cd2722e411e8ab7e5ae41102f6925fa13dffdac5> (patch)
- <https://git.kernel.org/stable/c/d274ce4a3dfd0b9a292667535578359b865765cb> (patch)
- <https://git.kernel.org/stable/c/1b915703964f7e636961df04c540261dc55c6c70> (patch)
- <https://git.kernel.org/stable/c/ea6af39f3da50c86367a71eb3cc674ade3ed244c> (patch)

## Sources

- CVE List: [CVE-2022-49273](https://www.cve.org/CVERecord?id=CVE-2022-49273), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-49273](https://nvd.nist.gov/vuln/detail/CVE-2022-49273), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49273 · Whole record: https://cve.day/CVE-2022-49273.json · Rebuilt by cve.day 2026-11-25T22:58:20.348Z
