CVE-2022-49608
Last modified
CVE-2022-49608 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: pinctrl: ralink: Check for null return of devm_kcalloc Because of the possible failure of the allocation, data->domains might be NULL pointer and will cause the dereference of the NULL pointer later. Therefore, it might be better to check it and directly return -ENOMEM without releasing data manually if fails, because the comment of the devm_kmalloc() says "Memory allocated with this function is automatically freed on driver detach.".. EPSS estimates a 0.26% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: pinctrl: ralink: Check for null return of devm_kcalloc Because of the possible failure of the allocation, data->domains might be NULL pointer and will cause the dereference of the NULL pointer later. Therefore, it might be better to check it and directly return -ENOMEM without releasing data manually if fails, because the comment of the devm_kmalloc() says "Memory allocated with this function is automatically freed on driver detach.".
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 4.18, < 4.19.254 | — |
| Linux | Linux Kernel | >= 4.20, < 5.4.208 | — |
| Linux | Linux Kernel | >= 5.5, < 5.10.134 | — |
| Linux | Linux Kernel | >= 5.11, < 5.15.58 | — |
| Linux | Linux Kernel | >= 5.16, < 5.18.15 | — |
| Linux | Linux Kernel | 5.19 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-49608?
How severe is CVE-2022-49608?
How do I fix CVE-2022-49608?
Are you affected by CVE-2022-49608?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
