Bug 2348294 (CVE-2022-49273) - CVE-2022-49273 kernel: rtc: pl031: fix rtc features null pointer dereference
Summary: CVE-2022-49273 kernel: rtc: pl031: fix rtc features null pointer dereference
Keywords:
Status: NEW
Alias: CVE-2022-49273
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-02-26 03:24 UTC by OSIDB Bzimport
Modified: 2025-05-13 19:03 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-02-26 03:24:25 UTC
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.

Comment 1 Avinash Hanwate 2025-02-26 19:47:04 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022630-CVE-2022-49273-61de@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.