---
id: CVE-2023-3867
title: |-
  In the Linux kernel, the following vulnerability has been resolved:

  ksmbd: fix out of bounds read in smb2_sess_setup

  ksmbd does not consider the case of that smb2 session setup is
  in compound request
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  ksmbd: fix out of bounds read in smb2_sess_setup

  ksmbd does not consider the case of that smb2 session setup is
  in compound request. If this is the second payload of t…
severity: critical
cvss: 9.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H'
cwe:
  - CWE-125
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 5.15, < 5.15.145'
  - 'linux_kernel >= 5.16, < 6.1.40'
  - 'linux_kernel >= 6.2, < 6.4.5'
patched:
  - linux_kernel 6.4.5
published: '2025-08-16'
updated: '2026-08-15'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2023-3867'
references:
  - url: 'https://git.kernel.org/stable/c/2ba03cecb12ac7ac9e0170e251543c56832d9959'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/676392184785ace61e939831e7ca44a03d438c3b'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/98422bdd4cb3ca4d08844046f6507d7ec2c2b8d8'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/ef572ffa8eb44111eed2925fbb2adca78bdcbf61'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
epss: 0.05366
epssPercentile: 0.92296
ingestedAt: '2026-08-15T13:26:45.312Z'
---

## Overview

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: fix out of bounds read in smb2_sess_setup

ksmbd does not consider the case of that smb2 session setup is
in compound request. If this is the second payload of the compound,
OOB read issue occurs while processing the first payload in
the smb2_sess_setup().

## Affected

- `linux_kernel >= 5.15, < 5.15.145`
- `linux_kernel >= 5.16, < 6.1.40`
- `linux_kernel >= 6.2, < 6.4.5`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.4.5`
