Incorrect Bitwise Shift of Integer Affecting torvalds/linux package, versions [,6.2-rc7)


Severity

Recommended
0.0
medium
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-5703013
  • published13 Jun 2023
  • disclosed13 Jun 2023
  • creditUnknown

Introduced: 13 Jun 2023

CVE-2023-3161  (opens in a new tab)
CWE-1335  (opens in a new tab)

How to fix?

Upgrade torvalds/linux to version 6.2-rc7 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Bitwise Shift of Integer. When providing font->width and font->height greater than 32 to the fbcon_set_font method, since there are no checks in place, a shift-out-of-bounds occurs leading to undefined behavior and possible denial of service.

CVSS Base Scores

version 3.1