CVE-2023-4130: ksmbd: fix wrong next length validation of ea buffer in smb2_set_ea()

Published Aug 16, 2025
·
Updated

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

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

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

Affected Software

9 affected components
Linux Kernel
Linux Linux kernel>=5.15<5.15.127
Linux Linux kernel>=5.16<6.1.46
Linux Linux kernel>=6.2<6.4.11
Linux Linux kernel=6.5-rc1
Linux Linux kernel=6.5-rc2
Linux Linux kernel=6.5-rc3
Linux Linux kernel=6.5-rc4
Linux Linux kernel=6.5-rc5

Event History

Aug 16, 2025
CVE Published
via MITRE·01:27 PM
Data Sourced
via MITRE·01:27 PM
DescriptionSeverity
Data Sourced
via NVD·02:15 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2023-4130?

The severity of CVE-2023-4130 is classified as moderate.

2

How do I fix CVE-2023-4130?

To fix CVE-2023-4130, update the Linux kernel to the latest patched version.

3

What is the impact of CVE-2023-4130?

CVE-2023-4130 can lead to improper validation of information during file operations, potentially allowing for denial of service.

4

Which versions of the Linux kernel are affected by CVE-2023-4130?

CVE-2023-4130 affects various versions of the Linux kernel that include the ksmbd component.

5

Is CVE-2023-4130 actively being exploited?

As of now, there are no known active exploits for CVE-2023-4130.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203