CVE-2022-49608
published 2025-02-26CVE-2022-49608: 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…
PriorityP420medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.27%
19.0th percentile
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.".
Affected
18 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 5.18.16-1 (bookworm) | linux 5.18.16-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= a86854d0c599b3202307abceb68feee4d7061578 < 13596e6c9e541e90e5fc2c52b23f08b951370da9 | 13596e6c9e541e90e5fc2c52b23f08b951370da9 |
| linux | linux | >= a86854d0c599b3202307abceb68feee4d7061578 < 6194c021496addc11763d1ffa89ce5751889fe3c | 6194c021496addc11763d1ffa89ce5751889fe3c |
| linux | linux | >= a86854d0c599b3202307abceb68feee4d7061578 < 5694b162f275fb9a9f89422701b2b963be11e496 | 5694b162f275fb9a9f89422701b2b963be11e496 |
| linux | linux | >= a86854d0c599b3202307abceb68feee4d7061578 < 44016a85419ca0d4f1e4d0127b330f8e4e2a57d0 | 44016a85419ca0d4f1e4d0127b330f8e4e2a57d0 |
| linux | linux | >= a86854d0c599b3202307abceb68feee4d7061578 < 5595d30c4dc27d939635c3188c68203b6ece1711 | 5595d30c4dc27d939635c3188c68203b6ece1711 |
| linux | linux | >= a86854d0c599b3202307abceb68feee4d7061578 < c3b821e8e406d5650e587b7ac624ac24e9b780a8 | c3b821e8e406d5650e587b7ac624ac24e9b780a8 |
| linux | linux_kernel | — | — |
| linux | linux_kernel | >= 0 < 5.10.136-1 | 5.10.136-1 |
| linux | linux_kernel | >= 0 < 5.18.16-1 | 5.18.16-1 |
| linux | linux_kernel | >= 0 < 5.18.16-1 | 5.18.16-1 |
| linux | linux_kernel | >= 0 < 5.18.16-1 | 5.18.16-1 |
| linux | linux_kernel | >= 4.18 < 4.19.254 | 4.19.254 |
| linux | linux_kernel | >= 4.20 < 5.4.208 | 5.4.208 |
| linux | linux_kernel | >= 5.11 < 5.15.58 | 5.15.58 |
| linux | linux_kernel | >= 5.16 < 5.18.15 | 5.18.15 |
| linux | linux_kernel | >= 5.5 < 5.10.134 | 5.10.134 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-6x52-x3xm-xr89: In the Linux kernel, the following vulnerability has been resolved:
pinctrl: ralink: Check for null return of devm_kcalloc
Because of the possible f
ghsa_unreviewed·2025-03-12
CVE-2022-49608 [MEDIUM] CWE-476 GHSA-6x52-x3xm-xr89: In the Linux kernel, the following vulnerability has been resolved:
pinctrl: ralink: Check for null return of devm_kcalloc
Because of the possible f
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.".
OSV
CVE-2022-49608: In the Linux kernel, the following vulnerability has been resolved: pinctrl: ralink: Check for null return of devm_kcalloc Because of the possible fai
osv·2025-02-26·CVSS 5.5
CVE-2022-49608 [MEDIUM] CVE-2022-49608: In the Linux kernel, the following vulnerability has been resolved: pinctrl: ralink: Check for null return of devm_kcalloc Because of the possible fai
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.".
Red Hat
kernel: pinctrl: ralink: Check for null return of devm_kcalloc
vendor_redhat·2025-02-26·CVSS 5.5
CVE-2022-49608 [MEDIUM] CWE-476 kernel: pinctrl: ralink: Check for null return of devm_kcalloc
kernel: pinctrl: ralink: Check for null return of devm_kcalloc
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.".
Package: kernel (Red Hat Enterprise Linux 10) - Not affected
Package: kernel (Red Hat Enterprise Linux 6) - Not affected
Package: kernel (Red Hat Enterprise Linux 7) - Not affected
Package: kernel-rt (Red Hat Enterprise Linux
Debian
CVE-2022-49608: linux - In the Linux kernel, the following vulnerability has been resolved: pinctrl: ra...
vendor_debian·2022·CVSS 5.5
CVE-2022-49608 [MEDIUM] CVE-2022-49608: linux - In the Linux kernel, the following vulnerability has been resolved: pinctrl: ra...
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.".
Scope: local
bookworm: resolved (fixed in 5.18.16-1)
bullseye: resolved (fixed in 5.10.136-1)
forky: resolved (fixed in 5.18.16-1)
sid: resolved (fixed in 5.18.16-1)
trixie: resolved (fixed in 5.18.16-1)
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/13596e6c9e541e90e5fc2c52b23f08b951370da9https://git.kernel.org/stable/c/44016a85419ca0d4f1e4d0127b330f8e4e2a57d0https://git.kernel.org/stable/c/5595d30c4dc27d939635c3188c68203b6ece1711https://git.kernel.org/stable/c/5694b162f275fb9a9f89422701b2b963be11e496https://git.kernel.org/stable/c/6194c021496addc11763d1ffa89ce5751889fe3chttps://git.kernel.org/stable/c/c3b821e8e406d5650e587b7ac624ac24e9b780a8
2025-02-26
Published