CVE-2021-30002: Medium severity Linux Linux kernel vulnerability

Published Apr 2, 2021
·
Updated

A flaw memory leak in the Linux kernel webcam device functionality was found in the way user calls ioctl that triggers videousercopy function. The highest threat from this vulnerability is to system availability.

Other sources

An issue was discovered in the Linux kernel before 5.11.3 when a webcam device exists. videousercopy in drivers/media/v4l2-core/v4l2-ioctl.c has a memory leak for large arguments, aka CID-fb18802a338b.

An issue was discovered in the Linux kernel before 5.11.3 when a webcam device exists. videousercopy in drivers/media/v4l2-core/v4l2-ioctl.c has a memory leak for large arguments.

Reference: https://bugzilla.suse.com/showbug.cgi?id=1184120

Upstream patch: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fb18802a338b36f675a388fc03d2aa504a0d0899

— Red Hat

Affected Software

85 affected componentsFixes available
redhat/kernel-rt<0:4.18.0-425.3.1.rt7.213.el8
0:4.18.0-425.3.1.rt7.213.el8
redhat/kernel<0:4.18.0-425.3.1.el8
0:4.18.0-425.3.1.el8
Linux Linux kernel<5.11.3
Debian Debian Linux=9.0
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1
redhat/kernel<5.12
5.12
ubuntu/linux-aws<4.4.0-1090.94
4.4.0-1090.94
ubuntu/linux-azure<4.15.0-1114.127~14.04.1
4.15.0-1114.127~14.04.1
ubuntu/linux-lts-xenial<4.4.0-208.240~14.04.1
4.4.0-208.240~14.04.1
ubuntu/linux*
ubuntu/linux<4.4.0-208.240
4.4.0-208.240
ubuntu/linux-aws<4.4.0-1126.140
4.4.0-1126.140
ubuntu/linux-kvm<4.4.0-1091.100
4.4.0-1091.100
ubuntu/linux-aws-hwe<4.15.0-1102.109~16.04.1
4.15.0-1102.109~16.04.1
ubuntu/linux-azure<4.15.0-1114.127~16.04.1
4.15.0-1114.127~16.04.1
ubuntu/linux-gcp<4.15.0-1099.112~16.04.1
4.15.0-1099.112~16.04.1
ubuntu/linux-hwe<4.15.0-143.147~16.04.3
4.15.0-143.147~16.04.3
ubuntu/linux-oracle<4.15.0-1071.79~16.04.1
4.15.0-1071.79~16.04.1
ubuntu/linux-hwe-edge*
ubuntu/linux-fips<4.4.0-1060.66
4.4.0-1060.66
ubuntu/linux-fips*
ubuntu/linux<4.15.0-143.147
4.15.0-143.147
ubuntu/linux-aws<4.15.0-1102.109
4.15.0-1102.109
ubuntu/linux-aws-5.4<5.4.0-1048.50~18.04.1
5.4.0-1048.50~18.04.1
ubuntu/linux-azure-4.15<4.15.0-1114.127
4.15.0-1114.127
ubuntu/linux-azure-5.4<5.4.0-1047.49~18.04.1
5.4.0-1047.49~18.04.1
ubuntu/linux-dell300x<4.15.0-1018.22
4.15.0-1018.22
ubuntu/linux-gcp-4.15<4.15.0-1099.112
4.15.0-1099.112
ubuntu/linux-gcp-5.4<5.4.0-1043.46~18.04.1
5.4.0-1043.46~18.04.1
ubuntu/linux-gke-5.4<5.4.0-1043.45~18.04.1
5.4.0-1043.45~18.04.1
ubuntu/linux-gkeop-5.4<5.4.0-1015.16~18.04.1
5.4.0-1015.16~18.04.1
ubuntu/linux-hwe-5.4<5.4.0-73.82~18.04.1
5.4.0-73.82~18.04.1
ubuntu/linux-kvm<4.15.0-1091.93
4.15.0-1091.93
ubuntu/linux-oracle<4.15.0-1071.79
4.15.0-1071.79
ubuntu/linux-oracle-5.4<5.4.0-1044.47~18.04.1
5.4.0-1044.47~18.04.1
ubuntu/linux-raspi-5.4<5.4.0-1035.38~18.04.1
5.4.0-1035.38~18.04.1
ubuntu/linux-raspi2<4.15.0-1085.90
4.15.0-1085.90
ubuntu/linux-snapdragon<4.15.0-1102.111
4.15.0-1102.111
ubuntu/linux-aws-5.0*
ubuntu/linux-aws-5.3*
ubuntu/linux-azure*
ubuntu/linux-azure-5.3*
ubuntu/linux-azure-edge*
ubuntu/linux-gcp*
ubuntu/linux-gcp-5.3*
ubuntu/linux-gcp-edge*
ubuntu/linux-gke-4.15*
ubuntu/linux-hwe*
ubuntu/linux-hwe-edge*
ubuntu/linux-oem*
ubuntu/linux-oracle-5.0*
ubuntu/linux-oracle-5.3*
ubuntu/linux-aws-fips<4.15.0-2044.46
4.15.0-2044.46
ubuntu/linux-azure-fips<4.15.0-2026.29
4.15.0-2026.29
ubuntu/linux-fips<4.15.0-1059.67
4.15.0-1059.67
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux<5.4.0-73.82
5.4.0-73.82
ubuntu/linux-aws<5.4.0-1048.50
5.4.0-1048.50
ubuntu/linux-azure<5.4.0-1047.49
5.4.0-1047.49
ubuntu/linux-gcp<5.4.0-1043.46
5.4.0-1043.46
ubuntu/linux-gke<5.4.0-1043.45
5.4.0-1043.45
ubuntu/linux-gkeop<5.4.0-1015.16
5.4.0-1015.16
ubuntu/linux-hwe-5.8<5.8.0-55.62~20.04.1
5.8.0-55.62~20.04.1
ubuntu/linux-kvm<5.4.0-1039.40
5.4.0-1039.40
ubuntu/linux-oem-5.10<5.10.0-1021.22
5.10.0-1021.22
ubuntu/linux-oem-5.6<5.6.0-1056.60
5.6.0-1056.60
ubuntu/linux-oracle<5.4.0-1045.49
5.4.0-1045.49
ubuntu/linux-raspi<5.4.0-1035.38
5.4.0-1035.38
ubuntu/linux-riscv-5.8<5.8.0-26.28~20.04.1
5.8.0-26.28~20.04.1
ubuntu/linux-raspi2*
ubuntu/linux-riscv*
ubuntu/linux-aws-fips<5.4.0-1069.73+fips2
5.4.0-1069.73+fips2
ubuntu/linux-azure-fips<5.4.0-1073.76+fips1
5.4.0-1073.76+fips1
ubuntu/linux-gcp-fips<5.4.0-1067.71~20.04.1
5.4.0-1067.71~20.04.1
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux-intel-iot-realtime*
ubuntu/linux-realtime*
ubuntu/linux-raspi-realtime*
ubuntu/linux-vmware*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-425.3.1.rt7.213.el8
  2. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-425.3.1.el8
  3. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1
  4. Upgrade

    Upgrade redhat/Kernel to a version that resolves this vulnerability.

    Fixed in 5.12
  5. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.4.0-1090.94
  6. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 4.15.0-1114.127~14.04.1
  7. Upgrade

    Upgrade ubuntu/linux-lts-xenial to a version that resolves this vulnerability.

    Fixed in 4.4.0-208.240~14.04.1
  8. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 4.4.0-208.240
  9. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.4.0-1126.140
  10. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 4.4.0-1091.100
  11. Upgrade

    Upgrade ubuntu/linux-aws-hwe to a version that resolves this vulnerability.

    Fixed in 4.15.0-1102.109~16.04.1
  12. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 4.15.0-1114.127~16.04.1
  13. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 4.15.0-1099.112~16.04.1
  14. Upgrade

    Upgrade ubuntu/linux-hwe to a version that resolves this vulnerability.

    Fixed in 4.15.0-143.147~16.04.3
  15. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 4.15.0-1071.79~16.04.1
  16. Upgrade

    Upgrade ubuntu/linux-fips to a version that resolves this vulnerability.

    Fixed in 4.4.0-1060.66
  17. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 4.15.0-143.147
  18. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.15.0-1102.109
  19. Upgrade

    Upgrade ubuntu/linux-aws-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1048.50~18.04.1
  20. Upgrade

    Upgrade ubuntu/linux-azure-4.15 to a version that resolves this vulnerability.

    Fixed in 4.15.0-1114.127
  21. Upgrade

    Upgrade ubuntu/linux-azure-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1047.49~18.04.1
  22. Upgrade

    Upgrade ubuntu/linux-dell300x to a version that resolves this vulnerability.

    Fixed in 4.15.0-1018.22
  23. Upgrade

    Upgrade ubuntu/linux-gcp-4.15 to a version that resolves this vulnerability.

    Fixed in 4.15.0-1099.112
  24. Upgrade

    Upgrade ubuntu/linux-gcp-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1043.46~18.04.1
  25. Upgrade

    Upgrade ubuntu/linux-gke-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1043.45~18.04.1
  26. Upgrade

    Upgrade ubuntu/linux-gkeop-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1015.16~18.04.1
  27. Upgrade

    Upgrade ubuntu/linux-hwe-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-73.82~18.04.1
  28. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 4.15.0-1091.93
  29. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 4.15.0-1071.79
  30. Upgrade

    Upgrade ubuntu/linux-oracle-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1044.47~18.04.1
  31. Upgrade

    Upgrade ubuntu/linux-raspi-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1035.38~18.04.1
  32. Upgrade

    Upgrade ubuntu/linux-raspi2 to a version that resolves this vulnerability.

    Fixed in 4.15.0-1085.90
  33. Upgrade

    Upgrade ubuntu/linux-snapdragon to a version that resolves this vulnerability.

    Fixed in 4.15.0-1102.111
  34. Upgrade

    Upgrade ubuntu/linux-aws-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-2044.46
  35. Upgrade

    Upgrade ubuntu/linux-azure-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-2026.29
  36. Upgrade

    Upgrade ubuntu/linux-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-1059.67
  37. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 5.4.0-73.82
  38. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 5.4.0-1048.50
  39. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 5.4.0-1047.49
  40. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 5.4.0-1043.46
  41. Upgrade

    Upgrade ubuntu/linux-gke to a version that resolves this vulnerability.

    Fixed in 5.4.0-1043.45
  42. Upgrade

    Upgrade ubuntu/linux-gkeop to a version that resolves this vulnerability.

    Fixed in 5.4.0-1015.16
  43. Upgrade

    Upgrade ubuntu/linux-hwe-5.8 to a version that resolves this vulnerability.

    Fixed in 5.8.0-55.62~20.04.1
  44. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 5.4.0-1039.40
  45. Upgrade

    Upgrade ubuntu/linux-oem-5.10 to a version that resolves this vulnerability.

    Fixed in 5.10.0-1021.22
  46. Upgrade

    Upgrade ubuntu/linux-oem-5.6 to a version that resolves this vulnerability.

    Fixed in 5.6.0-1056.60
  47. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 5.4.0-1045.49
  48. Upgrade

    Upgrade ubuntu/linux-raspi to a version that resolves this vulnerability.

    Fixed in 5.4.0-1035.38
  49. Upgrade

    Upgrade ubuntu/linux-riscv-5.8 to a version that resolves this vulnerability.

    Fixed in 5.8.0-26.28~20.04.1
  50. Upgrade

    Upgrade ubuntu/linux-aws-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1069.73+fips2
  51. Upgrade

    Upgrade ubuntu/linux-azure-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1073.76+fips1
  52. Upgrade

    Upgrade ubuntu/linux-gcp-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1067.71~20.04.1
  53. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch CID-fb18802a338b
  54. Configuration

    Prevent the v4l2-common module from being loaded automatically by blacklisting it.

    Linux kernel v4l2-common module module loading = blacklisted

Event History

Apr 2, 2021
CVE Published
12:00 AM
CVE Published
via MITRE·04:18 AM
Data Sourced
via MITRE·04:18 AM
Description
Data Sourced
via OSV·05:15 AM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2021-30002?

CVE-2021-30002 has a severity level that primarily affects system availability due to a memory leak in the Linux kernel's webcam device functionality.

2

How do I fix CVE-2021-30002?

To fix CVE-2021-30002, update your Linux kernel to version 5.12 or later, or to the specified remedial versions for Red Hat and Debian systems.

3

Which Linux versions are affected by CVE-2021-30002?

CVE-2021-30002 affects all versions of the Linux kernel prior to 5.11.3.

4

What is the impact of CVE-2021-30002 on my system?

The impact of CVE-2021-30002 is a potential memory leak that could lead to decreased system performance and availability.

5

Is CVE-2021-30002 specific to certain distributions?

Yes, CVE-2021-30002 specifically affects various Linux distributions including Red Hat and Debian, based on the kernel versions they are running.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203