CVE-2022-49273

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

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

14 Apr 2025, 16:53

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/1b915703964f7e636961df04c540261dc55c6c70 - () https://git.kernel.org/stable/c/1b915703964f7e636961df04c540261dc55c6c70 - Patch
References () https://git.kernel.org/stable/c/cd2722e411e8ab7e5ae41102f6925fa13dffdac5 - () https://git.kernel.org/stable/c/cd2722e411e8ab7e5ae41102f6925fa13dffdac5 - Patch
References () https://git.kernel.org/stable/c/d274ce4a3dfd0b9a292667535578359b865765cb - () https://git.kernel.org/stable/c/d274ce4a3dfd0b9a292667535578359b865765cb - Patch
References () https://git.kernel.org/stable/c/ea6af39f3da50c86367a71eb3cc674ade3ed244c - () https://git.kernel.org/stable/c/ea6af39f3da50c86367a71eb3cc674ade3ed244c - Patch
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: rtc: pl031: se corrige la desreferencia de puntero nulo de las funciones rtc Cuando no hay una línea de interrupción, la función de alarma rtc se desactiva. La eliminación del bit de la función de alarma se realizaba antes de las asignaciones del dispositivo ldata->rtc, lo que generaba una desreferencia de puntero nulo. Borre RTC_FEATURE_ALARM después de que se asigne el dispositivo rtc.
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
CWE CWE-476
First Time Linux linux Kernel
Linux

26 Feb 2025, 07:01

Type Values Removed Values Added
New CVE

Information

Published : 2025-02-26 07:01

Updated : 2025-04-14 16:53


NVD link : CVE-2022-49273

Mitre link : CVE-2022-49273

CVE.ORG link : CVE-2022-49273


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-476

NULL Pointer Dereference