CVE-2023-4130: ksmbd: fix wrong next length validation of ea buffer in smb2_set_ea()
Vulnerability summary
CVE-2023-4130 is a high (CVSS 8.1) vulnerability in linux. EPSS estimates a 0.51% chance of exploitation in the next 30 days, higher than 43.3% of scored vulnerabilities.
Not severe (CVSS 8.1, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 11 · Related 11Timeline
- 16-08-2025PublishedVulnerability first disclosed.
- 15-08-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
EPSS trend
Probability
0.51%
Chance of exploitation in the next 30 days
Percentile
43%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.49% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu107 products
- linux< 5.15.0-91.101
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 5.15.0-1051.56
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < aeb974907642be095e38ecb1a400ca583958b2b0 | ≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < f339d76a3a972601d0738b881b099d49ebbdc3a2 | ≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 4bf629262f9118ee91b1c3a518ebf2b3bcb22180 | ≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 79ed288cef201f1f212dfb934bcaac75572fb8f6 | 5.15
- linux_kernel≥ 5.15, < 5.15.127 | ≥ 5.16, < 6.1.46 | ≥ 6.2, < 6.4.11 | 6.5:rc1 | 6.5:rc2 | 6.5:rc3 | 6.5:rc4 | 6.5:rc5
Debian1 product
- linux< 6.1.52-1 | < 6.4.11-1
3 vendors · 110 products