CyberSecBulletin
CVE-2023-53034NVD status: Modified

Linux: Out-of-bounds Read

CVE-2023-53034 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 f56951f211f181410a383d305e8d370993e45294, 5b6857bb3bfb0dae17fab1e42c1e82c204a508b1, 2429bdf26a0f3950fdd996861e9c1a3873af1dbe 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.3% 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 f56951f211f181410a383d305e8d370993e45294 or 5b6857bb3bfb0dae17fab1e42c1e82c204a508b1 or 2429bdf26a0f3950fdd996861e9c1a3873af1dbe or 7ed22f8d8be26225a78cf5e85b2036421a6bf2d5, whichever matches your release line, or a later version.
  2. Update Linux Kernel to 5.4.292 or 5.10.236 or 5.15.180 or 6.1.134, whichever matches your release line, or a later version.

Affected products and versions

VendorProductAffected versionsFixed in
LinuxLinux1e2fd202f8593985cdadca32e0c322f98e7fe7cb up to, but not including, f56951f211f181410a383d305e8d370993e45294; 1e2fd202f8593985cdadca32e0c322f98e7fe7cb up to, but not including, 5b6857bb3bfb0dae17fab1e42c1e82c204a508b1; 1e2fd202f8593985cdadca32e0c322f98e7fe7cb up to, but not including, 2429bdf26a0f3950fdd996861e9c1a3873af1dbe; 1e2fd202f8593985cdadca32e0c322f98e7fe7cb up to, but not including, 7ed22f8d8be26225a78cf5e85b2036421a6bf2d5; 1e2fd202f8593985cdadca32e0c322f98e7fe7cb up to, but not including, c61a3f2df162ba424be0141649a9ef5f28eaccc1; 1e2fd202f8593985cdadca32e0c322f98e7fe7cb up to, but not including, cb153bdc1812a3375639ed6ca5f147eaefb65349; 1e2fd202f8593985cdadca32e0c322f98e7fe7cb up to, but not including, 36d32cfb00d42e865396424bb5d340fc0a28870d; 1e2fd202f8593985cdadca32e0c322f98e7fe7cb up to, but not including, 0df2e03e4620548b41891b4e0d1bd9d2e0d8a39a; and 2 more rangesf56951f211f181410a383d305e8d370993e45294, 5b6857bb3bfb0dae17fab1e42c1e82c204a508b1, 2429bdf26a0f3950fdd996861e9c1a3873af1dbe, 7ed22f8d8be26225a78cf5e85b2036421a6bf2d5, c61a3f2df162ba424be0141649a9ef5f28eaccc1, cb153bdc1812a3375639ed6ca5f147eaefb65349
LinuxLinux Kernel4.16 up to, but not including, 5.4.292; 5.5 up to, but not including, 5.10.236; 5.11 up to, but not including, 5.15.180; 5.16 up to, but not including, 6.1.134; 6.2 up to, but not including, 6.6.87; 6.7 up to, but not including, 6.12.23; 6.13 up to, but not including, 6.13.11; 6.14 up to, but not including, 6.14.25.4.292, 5.10.236, 5.15.180, 6.1.134, 6.6.87, 6.12.23

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.1HighCNA
CVSS 3.17.1HighNVD

Official description

In the Linux kernel, the following vulnerability has been resolved: ntb_hw_switchtec: Fix shift-out-of-bounds in switchtec_ntb_mw_set_trans There is a kernel API ntb_mw_clear_trans() would pass 0 to both addr and size. This would make xlate_pos negative. [ 23.734156] switchtec switchtec0: MW 0: part 0 addr 0x0000000000000000 size 0x0000000000000000 [ 23.734158] ================================================================================ [ 23.734172] UBSAN: shift-out-of-bounds in drivers/ntb/hw/mscc/ntb_hw_switchtec.c:293:7 [ 23.734418] shift exponent -1 is negative Ensuring xlate_pos is a positive or zero before BIT.

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.