{"id":"CVE-2023-4130","summary":"ksmbd: fix wrong next length validation of ea buffer in smb2_set_ea()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix wrong next length validation of ea buffer in smb2_set_ea()\n\nThere are multiple smb2_ea_info buffers in FILE_FULL_EA_INFORMATION request\nfrom client. ksmbd find next smb2_ea_info using -\u003eNextEntryOffset of\ncurrent smb2_ea_info. ksmbd need to validate buffer length Before\naccessing the next ea. ksmbd should check buffer length using buf_len,\nnot next variable. next is the start offset of current ea that got from\nprevious ea.","modified":"2026-05-28T03:53:14.997659912Z","published":"2025-08-16T13:27:58.227Z","related":["SUSE-SU-2025:03272-1","SUSE-SU-2025:03290-1","SUSE-SU-2025:03301-1","SUSE-SU-2025:03382-1","SUSE-SU-2025:03602-1","SUSE-SU-2025:03633-1","SUSE-SU-2025:03634-1","SUSE-SU-2025:20653-1","SUSE-SU-2025:20669-1","SUSE-SU-2025:20739-1","SUSE-SU-2025:20756-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/4xxx/CVE-2023-4130.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/4bf629262f9118ee91b1c3a518ebf2b3bcb22180"},{"type":"WEB","url":"https://git.kernel.org/stable/c/79ed288cef201f1f212dfb934bcaac75572fb8f6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/aeb974907642be095e38ecb1a400ca583958b2b0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f339d76a3a972601d0738b881b099d49ebbdc3a2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/4xxx/CVE-2023-4130.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-4130"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0626e6641f6b467447c81dd7678a69c66f7746cf"},{"fixed":"aeb974907642be095e38ecb1a400ca583958b2b0"},{"fixed":"f339d76a3a972601d0738b881b099d49ebbdc3a2"},{"fixed":"4bf629262f9118ee91b1c3a518ebf2b3bcb22180"},{"fixed":"79ed288cef201f1f212dfb934bcaac75572fb8f6"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-4130.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.15.0"},{"fixed":"5.15.127"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.46"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.4.11"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-4130.json"}}],"schema_version":"1.7.5"}