Buffer Overflow Affecting torvalds/linux package, versions [,5.19)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.01% (1st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-TORVALDSLINUX-3016882
  • published5 Sept 2022
  • disclosed5 Sept 2022
  • creditUnknown

Introduced: 5 Sep 2022

CVE-2022-39842  (opens in a new tab)
CWE-119  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade torvalds/linux to version 5.19 or higher.

Overview

Affected versions of this package are vulnerable to Buffer Overflow. In pxa3xx_gcu_write in drivers/video/fbdev/pxa3xx-gcu.c, the count parameter has a type conflict of size_t versus int, causing an integer overflow and bypassing the size check.

CVSS Base Scores

version 3.1