CVE-2022-50051
HighIn the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: debug: Fix potential buffer overflow by snprintf() snprintf() returns the would-be-filled size when the string overflows the given buffer size, hence using this value may result in the buffer overflow (although it's unrealistic). This patch replaces with a safer version, scnprintf() for papering over such a potential issue.
CVSS 3.1 score
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness type
CWE-787CVE-2022-50051 is a Out-of-bounds Write vulnerability
What is Out-of-bounds Write?
The product writes data past the end or before the beginning of the intended buffer. Learn more on MITRE CWE
Affected versions
Linux kernel versions
5.11
and later are affected. Fixed in
5.15.63,
5.19.4,
6.0
and their respective stable series.
References
The following references provide additional information about CVE-2022-50051 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/1eb123ce985e6cf302ac6e3f19862d132d86fa8f
-
PatchKernel patch commithttps://git.kernel.org/stable/c/a67971a17604ae7de278fb09243432459afc51e1
-
PatchKernel patch commithttps://git.kernel.org/stable/c/b318b9dd2ac67f39d0338ce563879d1f59a0347a
Frequently asked questions
-
What is CVE-2022-50051?
CVE-2022-50051 is a High severity Linux kernel vulnerability with a CVSS score of 7.8 out of 10 , classified as an Out-of-bounds Write flaw (CWE-787) . It affects Linux kernel versions from 5.11 onward and has been patched in 5.15.63, 5.19.4 and 6.0. CVE-2022-50051 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2022-50051?
CVE-2022-50051 has a CVSS score of 7.8 out of 10, rated High severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. -
Is there a patch available for CVE-2022-50051?
Yes — CVE-2022-50051 has been patched. Fixed versions include 5.15.63, 5.19.4 and 6.0. If you are running Linux kernel 5.11 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2022-50051 actively exploited?
No — CVE-2022-50051 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Out-of-bounds Write (CWE-787)?
The product writes data past the end or before the beginning of the intended buffer. View CWE-787 on MITRE CWE →