CVE-2021-47495

usbnet: sanity check for maxpacket

No CVSS score yet EPSS 0.21%

Published 22 May 2024 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2021-47495

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-2021-47495 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:

usbnet: sanity check for maxpacket

maxpacket of 0 makes no sense and oopses as we need to divide by it. Give up.

V2: fixed typo in log and stylistic issues

Exploitation

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

The assessment of CISA (SSVC, 22 May 2024):

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

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before b9eba0a4a527e04d712f0e0401e5391ef124b33e
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 524f333e98138d909a0a0c574a9ff6737dce2767
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 74b3b27cf9fecce00cd8918b7882fd81191d0aa4
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 002d82227c0abe29118cf80f7e2f396b22d448ed
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 492140e45d2bf27c1014243f8616a9b612144e20
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 693ecbe8f799405f8775719deedb1f76265d375a
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 7e8b6a4f18edee070213cb6a77118e8a412253c5
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 397430b50a363d8b7bdda00522123f82df6adc5e
Other versions: unaffected
Linux
affected 2.6.12
unaffected before 2.6.12
unaffected from 4.4.291 up to and including 4.4.*
unaffected from 4.9.289 up to and including 4.9.*
unaffected from 4.14.254 up to and including 4.14.*
unaffected from 4.19.215 up to and including 4.19.*
unaffected from 5.4.157 up to and including 5.4.*
unaffected from 5.10.77 up to and including 5.10.*
unaffected from 5.14.16 up to and including 5.14.*
unaffected 5.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-2021-47495 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2021-47495

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-2021-47495
trivy image --scanners vuln IMAGE | grep CVE-2021-47495

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-2021-47495 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.