5.5medium
arcnet: Add NULL check in com20020pci_probe()
- Severity
- 5.5medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.23% (higher than 15% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: arcnet: Add NULL check in com20020pci_probe() devm_kasprintf() returns NULL when memory allocation fails. Currently, com20020pci_probe() does not check for this case, which results in a NULL pointer dereference. Add NULL check after devm_kasprintf() to prevent this issue and ensure no resources are left allocated.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from e38cd53421ed4e37fc99662a0f2a0c567993844f before 661cf5d102949898c931e81fd4e1c773afcdeafa, from d54f5a5bc85afd01b0a00689b795e31db54adc15 before 905a34dc1ad9a53a8aaaf8a759ea5dbaaa30418d, from 75c53a4c43295fb8b09edae45239790db9cc69c3 before ef8b29398ea6061ac8257f3e45c9be45cc004ce2, from 8d034da82563a526dbd7e9069bb3f6946403b72c before be8a0decd0b59a52a07276f9ef3b33ef820b2179, from 5106d7adb74bc6160806b45ffd2321b10ca14ee0 before ececf8eff6c25acc239fa8f0fd837c76bc770547, from 6b17a597fc2f13aaaa0a2780eb7edb9ae7ac9aea before ebebeb58d48e25525fa654f2c53a24713fe141c3, from 6b17a597fc2f13aaaa0a2780eb7edb9ae7ac9aea before a654f31b33515d39bb56c75fd8b26bef025ced7e, from 6b17a597fc2f13aaaa0a2780eb7edb9ae7ac9aea before 887226163504494ea7e58033a97c2d2ab12e05d4 and 9 more Not affected: before 6.7, from 5.4.292 up to 5.4.*, from 5.10.236 up to 5.10.*, from 5.15.180 up to 5.15.*, from 6.1.134 up to 6.1.*, from 6.6.87 up to 6.6.* | CVE List |
| linux linux_kernel | from 4.19.302 before 4.20, from 5.4.264 before 5.4.292, from 5.10.204 before 5.10.236, from 5.15.143 before 5.15.180, from 6.1.68 before 6.1.134, from 6.6.7 before 6.6.87, from 6.7 before 6.12.23, from 6.13 before 6.13.11 and 1 more | NVD |
All scores
| CISA-ADP | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: arcnet: Add NULL check in com20020pci_probe() devm_kasprintf() returns NULL when memory allocation fails. Currently, com20020pci_probe() does not check for this case, which results in a NULL pointer dereference. Add NULL check after devm_kasprintf() to prevent this issue and ensure no resources are left allocated.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: arcnet: Se ha añadido una comprobación de valores NULL en com20020pci_probe(). Devm_kasprintf() devuelve NULL cuando falla la asignación de memoria. Actualmente, com20020pci_probe() no realiza la comprobación en este caso, lo que provoca una desreferencia de puntero NULL. Se ha añadido una comprobación de valores NULL después de devm_kasprintf() para evitar este problema y garantizar que no queden recursos asignados.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-22054 changed 2026-05-23 | CVE Terms of Use |
| NVD | CVE-2025-22054 changed 2026-06-17 | Public domain |