kernel: memory leak for large arguments in video_usercopy function in drivers/media/v4l2-core/v4l2-ioctl.c
Published Apr 2, 2021
6.2
MEDIUMCVSS 3.1
EPSS 0.37%
Description
An issue was discovered in the Linux kernel before 5.11.3 when a webcam device exists. video_usercopy in drivers/media/v4l2-core/v4l2-ioctl.c has a memory leak for large arguments, aka CID-fb18802a338b.
Affected products
No data.
Configuration 1
- < 5.11.3
Configuration 2
- 9.0
No data.
Red Hat Enterprise Linux 8
kernel-0:4.18.0-425.3.1.el8
Fixed · RHSA-2022:7683
Red Hat Enterprise Linux 8
kernel-rt-0:4.18.0-425.3.1.rt7.213.el8
Fixed · RHSA-2022:7444
Red Hat Enterprise Linux 8.6 Extended Update Support
kernel-0:4.18.0-372.91.1.el8_6
Fixed · RHSA-2024:0724
Red Hat Virtualization 4 for Red Hat Enterprise Linux 8
kernel-0:4.18.0-372.91.1.el8_6
Fixed · RHSA-2024:0724
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Will not fix
Red Hat Enterprise Linux 7
kernel-alt
Out of support scope
Red Hat Enterprise Linux 7
kernel-rt
Will not fix
Red Hat Enterprise Linux 9
kernel
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | kernel-0:4.18.0-425.3.1.el8 | Fixed | RHSA-2022:7683 |
| Red Hat Enterprise Linux 8 | kernel-rt-0:4.18.0-425.3.1.rt7.213.el8 | Fixed | RHSA-2022:7444 |
| Red Hat Enterprise Linux 8.6 Extended Update Support | kernel-0:4.18.0-372.91.1.el8_6 | Fixed | RHSA-2024:0724 |
| Red Hat Virtualization 4 for Red Hat Enterprise Linux 8 | kernel-0:4.18.0-372.91.1.el8_6 | Fixed | RHSA-2024:0724 |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | kernel-alt | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Will not fix | n/a |
| Red Hat Enterprise Linux 9 | kernel | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat mitigation
To mitigate this issue, prevent the module v4l2-common from being loaded. Please see https://access.redhat.com/solutions/41278 for information on how to blacklist a kernel module to prevent it from loading automatically.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
No CVSS v3.0 score for this CVE.
AV:L/AC:L/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Table of values (12 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 0.37% (0.00369) | 28.43th | v5 (v2026.06.15) |
| Sep 20, 2026 | 0.37% (0.00369) | 30.68th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.08% (0.00078) | 34.38th | v3 (v2023.03.01) |
| Dec 17, 2023 | 0.08% (0.00078) | 32.90th | v3 (v2023.03.01) |
| Nov 7, 2023 | 0.07% (0.00069) | 28.87th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.07% (0.00065) | 26.22th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.02% (0.01018) | 40.69th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.79% (0.01787) | 54.18th | v2 (v2022.01.01) |
| Feb 3, 2022 | 4.77% (0.04773) | 77.96th | v1 |
| Jan 6, 2022 | 4.77% (0.04773) | 77.75th | v1 |
| Jan 5, 2022 | 1.10% (0.01105) | 67.44th | v5 (v2026.06.15) |
| Apr 14, 2021 | 0.88% (0.00884) | 0.00th | v1 |
References (8)
- https://access.redhat.com/security/cve/CVE-2021-30002 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1946279 Issue Tracking
- https://bugzilla.suse.com/show_bug.cgi?id=1184120 x_refsource_MISCIssue TrackingThird Party Advisory
- https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.11.3 x_refsource_MISCPatchVendor Advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fb18802a338b36f675a388fc03d2aa504a0d0899 x_refsource_MISCPatchVendor Advisory
- https://lists.debian.org/debian-lts-announce/2021/06/msg00020.html mailing-listx_refsource_MLISTThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2021-30002
- https://www.cve.org/CVERecord?id=CVE-2021-30002
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2021-30002 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1946279 | Issue Tracking | |
| https://bugzilla.suse.com/show_bug.cgi?id=1184120 | x_refsource_MISCIssue TrackingThird Party Advisory | |
| https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.11.3 | x_refsource_MISCPatchVendor Advisory | |
| https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fb18802a338b36f675a388fc03d2aa504a0d0899 | x_refsource_MISCPatchVendor Advisory | |
| https://lists.debian.org/debian-lts-announce/2021/06/msg00020.html | mailing-listx_refsource_MLISTThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-30002 | ||
| https://www.cve.org/CVERecord?id=CVE-2021-30002 |
Change history (0)
No recorded changes yet.