# CVE-2021-47495: usbnet: sanity check for maxpacket

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `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.31%, higher than 16% of CVEs (2026-11-30)
- Published: 2024-05-22T08:19:42.732Z
- Modified: 2026-06-17T04:17:37.430Z
- Weaknesses: CWE-369
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before b9eba0a4a527e04d712f0e0401e5391ef124b33e; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 524f333e98138d909a0a0c574a9ff6737dce2767; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 74b3b27cf9fecce00cd8918b7882fd81191d0aa4; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 002d82227c0abe29118cf80f7e2f396b22d448ed; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 492140e45d2bf27c1014243f8616a9b612144e20; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 693ecbe8f799405f8775719deedb1f76265d375a; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 7e8b6a4f18edee070213cb6a77118e8a412253c5; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 397430b50a363d8b7bdda00522123f82df6adc5e; 2.6.12 (not affected: before 2.6.12; from 4.4.291 up to 4.4.*; from 4.9.289 up to 4.9.*; from 4.14.254 up to 4.14.*; from 4.19.215 up to 4.19.*; from 5.4.157 up to 5.4.*; from 5.10.77 up to 5.10.*; from 5.14.16 up to 5.14.*; from 5.15 up to *)
- linux linux_kernel: before 4.4.291; from 4.5 before 4.9.289; from 4.10 before 4.14.254; from 4.15 before 4.19.215; from 4.20 before 5.4.157; from 5.5 before 5.10.77; from 5.11 before 5.14.16; 5.15

## References

- <https://git.kernel.org/stable/c/b9eba0a4a527e04d712f0e0401e5391ef124b33e> (patch)
- <https://git.kernel.org/stable/c/524f333e98138d909a0a0c574a9ff6737dce2767> (patch)
- <https://git.kernel.org/stable/c/74b3b27cf9fecce00cd8918b7882fd81191d0aa4> (patch)
- <https://git.kernel.org/stable/c/002d82227c0abe29118cf80f7e2f396b22d448ed> (patch)
- <https://git.kernel.org/stable/c/492140e45d2bf27c1014243f8616a9b612144e20> (patch)
- <https://git.kernel.org/stable/c/693ecbe8f799405f8775719deedb1f76265d375a> (patch)
- <https://git.kernel.org/stable/c/7e8b6a4f18edee070213cb6a77118e8a412253c5> (patch)
- <https://git.kernel.org/stable/c/397430b50a363d8b7bdda00522123f82df6adc5e> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2021-47495 · Whole record: https://cve.day/CVE-2021-47495.json · Rebuilt by cve.day 2026-11-25T22:58:08.884Z
