CVE-2021-47642

Aliases:UBUNTU-CVE-2021-47642DEBIAN-CVE-2021-47642
Analyzed
Published: 26 Feb 2025, 01:54
Last modified:11 May 2026, 13:58

Vulnerability Summary

Overall Risk (default)
medium
31/100
CVSS Score
7.8 HIGH
v3.1 (nvd)
EPSS Score
0.28% LOW
0% probability +0.25%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

26 Feb 2025, 01:54
Published
Vulnerability first disclosed
11 May 2026, 13:58
Last Modified
Vulnerability information updated

Description

In the Linux kernel, the following vulnerability has been resolved: video: fbdev: nvidiafb: Use strscpy() to prevent buffer overflow Coverity complains of a possible buffer overflow. However, given the 'static' scope of nvidia_setup_i2c_bus() it looks like that can't happen after examiniing the call sites. CID 19036 (#1 of 1): Copy into fixed size buffer (STRING_OVERFLOW) 1. fixed_size_dest: You might overrun the 48-character fixed-size string chan->adapter.name by copying name without checking the length. 2. parameter_as_source: Note: This defect has an elevated risk because the source argument is a parameter of the current function. 89 strcpy(chan->adapter.name, name); Fix this warning by using strscpy() which will silence the warning and prevent any future buffer overflows should the names used to identify the channel become much longer.

CVSS Metrics

  • v3.1HIGHScore: 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS Trends

Current EPSS score: 0.28% Percentile: 21%

Techniques & Countermeasures

  • CWE-787Out-of-bounds Write

    The product writes data past the end, or before the beginning, of the intended buffer.

Affected Systems

  • debianlinux

    < 5.10.113-1 | < 5.17.3-1 | < 5.17.3-1 | < 5.17.3-1

  • ubuntulinux

    all | < 4.15.0-189.200 | < 5.4.0-117.132 | < 5.15.0-37.39

  • ubuntulinux-allwinner-5.19

    all

  • ubuntulinux-aws

    all | < 4.15.0-1137.148 | < 5.4.0-1078.84 | < 5.15.0-1011.14

  • ubuntulinux-aws-5.0

    all

  • ubuntulinux-aws-5.11

    all

  • ubuntulinux-aws-5.13

    all

  • ubuntulinux-aws-5.19

    all

  • ubuntulinux-aws-5.3

    all

  • ubuntulinux-aws-5.4

    < 5.4.0-1078.84~18.04.1

  • ubuntulinux-aws-5.8

    all

  • ubuntulinux-aws-6.2

    all

  • ubuntulinux-aws-6.5

    all

  • ubuntulinux-aws-fips

    < 4.15.0-2076.81 | all | < 5.4.0-1078.84+fips1

  • ubuntulinux-aws-hwe

    < 4.15.0-1137.148~16.04.1

  • ubuntulinux-azure

    < 4.15.0-1146.161~14.04.1 | < 4.15.0-1146.161~16.04.1 | all | < 5.4.0-1083.87 | < 5.15.0-1010.12

  • ubuntulinux-azure-4.15

    < 4.15.0-1146.161

  • ubuntulinux-azure-5.11

    all

  • ubuntulinux-azure-5.13

    all

  • ubuntulinux-azure-5.15

    < 5.15.0-1008.9~20.04.1

  • ubuntulinux-azure-5.19

    all

  • ubuntulinux-azure-5.3

    all

  • ubuntulinux-azure-5.4

    < 5.4.0-1083.87~18.04.1

  • ubuntulinux-azure-5.8

    all

  • ubuntulinux-azure-6.2

    all

  • ubuntulinux-azure-6.5

    all

  • ubuntulinux-azure-edge

    all

  • ubuntulinux-azure-fde

    all

  • ubuntulinux-azure-fde-5.19

    all

  • ubuntulinux-azure-fde-6.2

    all

  • ubuntulinux-azure-fips

    < 4.15.0-2057.63 | all | < 5.4.0-1083.87+fips1

  • ubuntulinux-bluefield

    all | < 5.4.0-1040.44

  • ubuntulinux-fips

    all | < 4.15.0-1094.105 | < 5.4.0-1054.61

  • ubuntulinux-gcp

    < 4.15.0-1131.147~16.04.1 | all | < 5.4.0-1078.84 | < 5.15.0-1008.12

  • ubuntulinux-gcp-4.15

    < 4.15.0-1131.147

  • ubuntulinux-gcp-5.11

    all

  • ubuntulinux-gcp-5.13

    all

  • ubuntulinux-gcp-5.19

    all

  • ubuntulinux-gcp-5.3

    all

  • ubuntulinux-gcp-5.4

    < 5.4.0-1078.84~18.04.1

  • ubuntulinux-gcp-5.8

    all

  • ubuntulinux-gcp-6.2

    all

  • ubuntulinux-gcp-6.5

    all

  • ubuntulinux-gcp-fips

    < 4.15.0-2041.46 | all | < 5.4.0-1078.84+fips1

  • ubuntulinux-gke

    all | < 5.15.0-1008.10

  • ubuntulinux-gke-4.15

    all

  • ubuntulinux-gke-5.15

    all

  • ubuntulinux-gke-5.4

    all

  • ubuntulinux-gkeop

    all

  • ubuntulinux-gkeop-5.15

    all

Showing first 50 affected entries in server-rendered view.

References (13)