Skip to content
Fencer Vulns
high 8.1

CVE-2023-4130 json

ksmbd: fix wrong next length validation of ea buffer in smb2_set_ea()

published 2025-08-16 14 mo ago modified 2026-08-15 2 mo ago also EUVD-2023-54012

cvss
8.1
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.5%
EPSS 0.5% chance of exploitation in 30 days, percentile 43%
public exploits
0
none known

Summary

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

ksmbd: fix wrong next length validation of ea buffer in smb2_set_ea()

There are multiple smb2_ea_info buffers in FILE_FULL_EA_INFORMATION request from client. ksmbd find next smb2_ea_info using ->NextEntryOffset of current smb2_ea_info. ksmbd need to validate buffer length Before accessing the next ea. ksmbd should check buffer length using buf_len, not next variable. next is the start offset of current ea that got from previous ea.

Patch / fix

  • Linux Linux 5.15.127, 6.1.46, 6.4.11, 6.5
  • linux Debian 12 6.1.52-1
  • linux Debian 14, Debian 13 6.4.11-1

debian advisories DEBIAN-CVE-2023-4130

  • linux Ubuntu 22.04 LTS 5.15.0-91.101
  • linux-aws Ubuntu 22.04 LTS 5.15.0-1051.56
  • linux-gcp Ubuntu 22.04 LTS 5.15.0-1048.56
  • linux-gke Ubuntu 22.04 LTS 5.15.0-1048.53
  • linux-ibm Ubuntu 22.04 LTS 5.15.0-1044.47
  • linux-kvm Ubuntu 22.04 LTS 5.15.0-1048.53
  • linux-azure Ubuntu 22.04 LTS 5.15.0-1053.61
  • linux-gkeop Ubuntu 22.04 LTS 5.15.0-1034.40

ubuntu advisories UBUNTU-CVE-2023-4130

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • kernel-azure SLE Module for Public Cloud 15 SP6, openSUSE Leap 15.6 6.4.0-150600.8.52.1
  • kernel-syms-azure SLE Module for Public Cloud 15 SP6, openSUSE Leap 15.6 6.4.0-150600.8.52.1
  • kernel-source-azure SLE Module for Public Cloud 15 SP6, openSUSE Leap 15.6 6.4.0-150600.8.52.1
  • kernel-azure SLE Module for Public Cloud 15 SP7 6.4.0-150700.20.15.2
  • kernel-syms-azure SLE Module for Public Cloud 15 SP7 6.4.0-150700.20.15.1
  • kernel-source-azure SLE Module for Public Cloud 15 SP7 6.4.0-150700.20.15.2
  • kernel-coco SLE Module for Confidential Computing Technical Preview 15 SP6 6.4.0-15061.32.coco15sp6.1
  • kernel-syms-coco SLE Module for Confidential Computing Technical Preview 15 SP6 6.4.0-15061.32.coco15sp6.1

suse advisories SUSE-SU-2025:03634-1SUSE-SU-2025:03633-1SUSE-SU-2025:03602-1SUSE-SU-2025:03382-1SUSE-SU-2025:20739-1SUSE-SU-2025:20756-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-4130 updated cvss 5.5

kernel: ksmbd: fix wrong next length validation of ea buffer in smb2_set_ea()

  • Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernel
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.51% chance of exploitation in the next 30 days, higher than 43% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 8.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
NVD 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

  • Linux Linux

Classification

Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.