CyberSecBulletin
CVE-2022-50366NVD status: Modified

Linux: Out-of-bounds Read

CVE-2022-50366 is a high-severity out-of-bounds read vulnerability in Linux, with a CVSS 3.1 base score of 7.1 out of 10. It can be exploited with local access to the system by an attacker with a low-privileged account, without any action from a user. The record lists versions 42f79dbb9514f726ff21df25f09cb0693b0b2445, 3eb0ba70376f6ee40fa843fc9cee49269370b0b3, 4ebba43384722adbd325baec3a12c572d94488eb as the first without the flaw, so updating Linux to one of those releases or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.22% chance of exploitation within 30 days, which is low compared with other CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update Linux to 42f79dbb9514f726ff21df25f09cb0693b0b2445 or 3eb0ba70376f6ee40fa843fc9cee49269370b0b3 or 4ebba43384722adbd325baec3a12c572d94488eb or 49a6ffdaed60f0eb52c198fafebc05994e16e305, whichever matches your release line, or a later version.
  2. Update Linux Kernel to 4.9.331 or 4.14.296 or 4.19.262 or 5.4.220, whichever matches your release line, or a later version.

Affected products and versions

VendorProductAffected versionsFixed in
LinuxLinux2d281d8196e38dd3a4ee9af26621ddde8329f269 up to, but not including, 42f79dbb9514f726ff21df25f09cb0693b0b2445; 2d281d8196e38dd3a4ee9af26621ddde8329f269 up to, but not including, 3eb0ba70376f6ee40fa843fc9cee49269370b0b3; 2d281d8196e38dd3a4ee9af26621ddde8329f269 up to, but not including, 4ebba43384722adbd325baec3a12c572d94488eb; 2d281d8196e38dd3a4ee9af26621ddde8329f269 up to, but not including, 49a6ffdaed60f0eb52c198fafebc05994e16e305; 2d281d8196e38dd3a4ee9af26621ddde8329f269 up to, but not including, 708b9abe1b4a2f050a483db4b7edfc446b13df1f; 2d281d8196e38dd3a4ee9af26621ddde8329f269 up to, but not including, 139bbbd01114433b80fe59f5e1330615aadf9752; 2d281d8196e38dd3a4ee9af26621ddde8329f269 up to, but not including, 6216b685b8f48ab7b721a6fd5acbf526b41c13e8; 2d281d8196e38dd3a4ee9af26621ddde8329f269 up to, but not including, 1d94af37565e4d3c26b0d63428e093a37d5b4c32; and 2 more ranges42f79dbb9514f726ff21df25f09cb0693b0b2445, 3eb0ba70376f6ee40fa843fc9cee49269370b0b3, 4ebba43384722adbd325baec3a12c572d94488eb, 49a6ffdaed60f0eb52c198fafebc05994e16e305, 708b9abe1b4a2f050a483db4b7edfc446b13df1f, 139bbbd01114433b80fe59f5e1330615aadf9752
LinuxLinux Kernelbefore 4.9.331; 4.10 up to, but not including, 4.14.296; 4.15 up to, but not including, 4.19.262; 4.20 up to, but not including, 5.4.220; 5.5 up to, but not including, 5.10.150; 5.11 up to, but not including, 5.15.75; 5.16 up to, but not including, 5.19.17; 6.0 up to, but not including, 6.0.34.9.331, 4.14.296, 4.19.262, 5.4.220, 5.10.150, 5.15.75

Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
LocalThe attacker needs local access or must trick a user into running something.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
LowA basic user account is enough.
User interaction
NoneNo action by a victim is required.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
HighAll data handled by the component can be read.
Integrity
NoneNothing can be modified.
Availability
HighThe component can be taken down completely.

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H. Scored by NVD.

Scoring systemScoreSeverityScored by
CVSS 3.17.1HighNVD
CVSS 3.17.1HighCISA (ADP)

Official description

In the Linux kernel, the following vulnerability has been resolved: powercap: intel_rapl: fix UBSAN shift-out-of-bounds issue When value < time_unit, the parameter of ilog2() will be zero and the return value is -1. u64(-1) is too large for shift exponent and then will trigger shift-out-of-bounds: shift exponent 18446744073709551615 is too large for 32-bit type 'int' Call Trace: rapl_compute_time_window_core rapl_write_data_raw set_time_window store_constraint_time_window_us

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Out-of-bounds Read

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

How developers prevent this class of flaw

  • Use a language that provides appropriate memory abstractions.

More Out-of-bounds Read vulnerabilities (CWE-125)

Timeline

  1. CVE record published.
  2. CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: partial).
  3. Record last changed materially (score, affected products, status or references).

References

Recent Out-of-bounds Read vulnerabilities

Spotted an error? Tell us.