CVE-2022-49273 rtc: pl031: fix rtc features null pointer dereference
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 5.12
해결 버전
- 5.12 미만
- 5.15.33 이상
- 5.16.19 이상
- 5.17.2 이상
참고 자료 4건
- git.kernel.org https://git.kernel.org/stable/c/1b915703964f7e636961df04c540261dc55c6c70 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/cd2722e411e8ab7e5ae41102f6925fa13dffdac5 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/d274ce4a3dfd0b9a292667535578359b865765cb (새 창)
- git.kernel.org https://git.kernel.org/stable/c/ea6af39f3da50c86367a71eb3cc674ade3ed244c (새 창)