CyberSecBulletin
CVE-2023-3865NVD status: Modified

Linux: Out-of-bounds Read

CVE-2023-3865 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 3813eee5154d6a4c5875cb4444cb2b63bac8947f, c86211159bc3178b891e0d60e586a32c7b6a231b, 58a9c41064df27632e780c5a3ae3e0e4284957d1 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.65% chance of exploitation within 30 days, higher than 52% of scored CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update Linux to 3813eee5154d6a4c5875cb4444cb2b63bac8947f or c86211159bc3178b891e0d60e586a32c7b6a231b or 58a9c41064df27632e780c5a3ae3e0e4284957d1 or 5fe7f7b78290638806211046a99f031ff26164e1, whichever matches your release line, or a later version.
  2. Update Linux Kernel to 5.15.121 or 6.1.36 or 6.3.10, whichever matches your release line, or a later version.

Affected products and versions

VendorProductAffected versionsFixed in
LinuxLinuxe2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 up to, but not including, 3813eee5154d6a4c5875cb4444cb2b63bac8947f; e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 up to, but not including, c86211159bc3178b891e0d60e586a32c7b6a231b; e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 up to, but not including, 58a9c41064df27632e780c5a3ae3e0e4284957d1; e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 up to, but not including, 5fe7f7b78290638806211046a99f031ff26164e1; 5.153813eee5154d6a4c5875cb4444cb2b63bac8947f, c86211159bc3178b891e0d60e586a32c7b6a231b, 58a9c41064df27632e780c5a3ae3e0e4284957d1, 5fe7f7b78290638806211046a99f031ff26164e1
LinuxLinux Kernel5.15 up to, but not including, 5.15.121; 5.16 up to, but not including, 6.1.36; 6.2 up to, but not including, 6.3.10; 6.45.15.121, 6.1.36, 6.3.10

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

Official description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix out-of-bound read in smb2_write ksmbd_smb2_check_message doesn't validate hdr->NextCommand. If ->NextCommand is bigger than Offset + Length of smb2 write, It will allow oversized smb2 write length. It will cause OOB read in smb2_write.

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. Record last changed materially (score, affected products, status or references).

References

Recent Out-of-bounds Read vulnerabilities

Spotted an error? Tell us.