---
id: CVE-2023-4458
title: >-
  A flaw was found within the parsing of extended attributes in the kernel ksmbd
  module
summary: >-
  A flaw was found within the parsing of extended attributes in the kernel ksmbd
  module. The issue results from the lack of proper validation of user-supplied
  data, which can result in a read past the end of an allocated buffer. An
  attacke…
severity: medium
cvss: 4
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N'
cwe:
  - CWE-125
vendor: linux
product: linux_kernel
affected:
  - linux_kernel < 5.15.131
  - 'linux_kernel >= 5.16, < 6.1.52'
  - 'linux_kernel >= 6.2, < 6.4.15'
  - 'linux_kernel >= 6.5, < 6.5.2'
patched:
  - linux_kernel 6.5.2
published: '2024-11-14'
updated: '2026-10-02'
sourceUpdated: '2026-10-02T13:55:14.607'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2023-4458'
references:
  - url: 'https://access.redhat.com/security/cve/CVE-2023-4458'
    label: patrick@puiterwijk.org
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2325516'
    label: patrick@puiterwijk.org
  - url: 'https://www.zerodayinitiative.com/advisories/ZDI-24-590/'
    label: patrick@puiterwijk.org
tags:
  - nvd
epss: 0.00845
epssPercentile: 0.56459
zeroDay: true
ingestedAt: '2026-10-02T14:20:32.552Z'
---

## Overview

A flaw was found within the parsing of extended attributes in the kernel ksmbd module. The issue results from the lack of proper validation of user-supplied data, which can result in a read past the end of an allocated buffer. An attacker can leverage this to disclose sensitive information on affected installations of Linux. Only systems with ksmbd enabled are vulnerable to this CVE.

## Affected

- `linux_kernel < 5.15.131`
- `linux_kernel >= 5.16, < 6.1.52`
- `linux_kernel >= 6.2, < 6.4.15`
- `linux_kernel >= 6.5, < 6.5.2`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.5.2`
