# CVE-2025-22054: arcnet: Add NULL check in com20020pci_probe()

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 15% of CVEs (2026-12-01)
- Published: 2025-04-16T14:12:11.849Z
- Modified: 2026-06-17T08:44:56.450Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- 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; from 6b17a597fc2f13aaaa0a2780eb7edb9ae7ac9aea before fda8c491db2a90ff3e6fbbae58e495b4ddddeca3; 2e4ad90b15a7341c2d96d2dc6df6d135d72256b6; from 5.4.264 before 5.4.292; from 5.10.204 before 5.10.236; and 5 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.*; from 6.12.23 up to 6.12.*; from 6.13.11 up to 6.13.*; from 6.14.2 up to 6.14.*; from 6.15 up to *)
- 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; from 6.14 before 6.14.2

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/661cf5d102949898c931e81fd4e1c773afcdeafa> (patch)
- <https://git.kernel.org/stable/c/905a34dc1ad9a53a8aaaf8a759ea5dbaaa30418d> (patch)
- <https://git.kernel.org/stable/c/ef8b29398ea6061ac8257f3e45c9be45cc004ce2> (patch)
- <https://git.kernel.org/stable/c/be8a0decd0b59a52a07276f9ef3b33ef820b2179> (patch)
- <https://git.kernel.org/stable/c/ececf8eff6c25acc239fa8f0fd837c76bc770547> (patch)
- <https://git.kernel.org/stable/c/ebebeb58d48e25525fa654f2c53a24713fe141c3> (patch)
- <https://git.kernel.org/stable/c/a654f31b33515d39bb56c75fd8b26bef025ced7e> (patch)
- <https://git.kernel.org/stable/c/887226163504494ea7e58033a97c2d2ab12e05d4> (patch)
- <https://git.kernel.org/stable/c/fda8c491db2a90ff3e6fbbae58e495b4ddddeca3> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html>
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html>

## Sources

- CVE List: [CVE-2025-22054](https://www.cve.org/CVERecord?id=CVE-2025-22054), CVE Terms of Use, modified 2026-05-23
- NVD: [CVE-2025-22054](https://nvd.nist.gov/vuln/detail/CVE-2025-22054), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-22054 · Whole record: https://cve.day/CVE-2025-22054.json · Rebuilt by cve.day 2026-11-25T22:58:56.585Z
