Back
CVE-2023-4130
ksmbd: fix wrong next length validation of ea buffer in smb2_set_ea()
High8.1EPSS 0.51%
- Published
- Updated
- Reserved
- Assigned by
- Linux
Description
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.51% · top 56% of all CVEs (6 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.1.
Affected products
- affected e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 – < aeb974907642be095e38ecb1a400ca583958b2b0
- affected e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 – < f339d76a3a972601d0738b881b099d49ebbdc3a2
- affected e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 – < 4bf629262f9118ee91b1c3a518ebf2b3bcb22180
- affected e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 – < 79ed288cef201f1f212dfb934bcaac75572fb8f6
- affected 5.15
- unaffected < 5.15
- unaffected 5.15.127 – ≤ 5.15.*
- unaffected 6.1.46 – ≤ 6.1.*
- unaffected 6.4.11 – ≤ 6.4.*
- unaffected 6.5 – ≤ *
References (4)
- https://git.kernel.org/stable/c/aeb974907642be095e38ecb1a400ca583958b2b0 (opens in a new tab)
- https://git.kernel.org/stable/c/f339d76a3a972601d0738b881b099d49ebbdc3a2 (opens in a new tab)
- https://git.kernel.org/stable/c/4bf629262f9118ee91b1c3a518ebf2b3bcb22180 (opens in a new tab)
- https://git.kernel.org/stable/c/79ed288cef201f1f212dfb934bcaac75572fb8f6 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2023-4130)Record last updated .