CVE-2025-22054

arcnet: Add NULL check in com20020pci_probe()

5.5 medium EPSS 0.23%

Published 16 Apr 2025 Updated 23 May 2026 CNA: Linux

Check your servers for CVE-2025-22054

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-22054 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

5.5 medium CVSS 3.1 from CISA (ADP)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 15.1% of all scored CVEs. Scores of 2 Dec 2026.

The assessment of CISA (SSVC, 1 Oct 2025):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Weakness

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from e38cd53421ed4e37fc99662a0f2a0c567993844f, before 661cf5d102949898c931e81fd4e1c773afcdeafa
affected from d54f5a5bc85afd01b0a00689b795e31db54adc15, before 905a34dc1ad9a53a8aaaf8a759ea5dbaaa30418d
affected from 75c53a4c43295fb8b09edae45239790db9cc69c3, before ef8b29398ea6061ac8257f3e45c9be45cc004ce2
affected from 8d034da82563a526dbd7e9069bb3f6946403b72c, before be8a0decd0b59a52a07276f9ef3b33ef820b2179
affected from 5106d7adb74bc6160806b45ffd2321b10ca14ee0, before ececf8eff6c25acc239fa8f0fd837c76bc770547
affected from 6b17a597fc2f13aaaa0a2780eb7edb9ae7ac9aea, before ebebeb58d48e25525fa654f2c53a24713fe141c3
affected from 6b17a597fc2f13aaaa0a2780eb7edb9ae7ac9aea, before a654f31b33515d39bb56c75fd8b26bef025ced7e
affected from 6b17a597fc2f13aaaa0a2780eb7edb9ae7ac9aea, before 887226163504494ea7e58033a97c2d2ab12e05d4
affected from 6b17a597fc2f13aaaa0a2780eb7edb9ae7ac9aea, before fda8c491db2a90ff3e6fbbae58e495b4ddddeca3
affected 2e4ad90b15a7341c2d96d2dc6df6d135d72256b6
affected from 5.4.264, before 5.4.292
affected from 5.10.204, before 5.10.236
affected from 5.15.143, before 5.15.180
affected from 6.1.68, before 6.1.134
affected from 6.6.7, before 6.6.87
affected from 4.19.302, before 4.20
Other versions: unaffected
Linux
affected 6.7
unaffected before 6.7
unaffected from 5.4.292 up to and including 5.4.*
unaffected from 5.10.236 up to and including 5.10.*
unaffected from 5.15.180 up to and including 5.15.*
unaffected from 6.1.134 up to and including 6.1.*
unaffected from 6.6.87 up to and including 6.6.*
unaffected from 6.12.23 up to and including 6.12.*
unaffected from 6.13.11 up to and including 6.13.*
unaffected from 6.14.2 up to and including 6.14.*
unaffected 6.15 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-22054 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-22054

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-22054
trivy image --scanners vuln IMAGE | grep CVE-2025-22054

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-22054 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.