Vulnerabilities · 2023 · Linux
CVE-2023-4130
Linux Kernel vulnerability
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.
Affected products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/4bf629262f9118ee91b1c3a518ebf2b3bcb22180 · Patch
- git.kernel.org/stable/c/79ed288cef201f1f212dfb934bcaac75572fb8f6 · Patch
- git.kernel.org/stable/c/aeb974907642be095e38ecb1a400ca583958b2b0 · Patch
- git.kernel.org/stable/c/f339d76a3a972601d0738b881b099d49ebbdc3a2 · Patch
- nvd.nist.gov/vuln/detail/CVE-2023-4130
- cve.org/CVERecord?id=CVE-2023-4130
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.