CVE-2026-139230
publishedksmbd: fix fd_limit accounting across durable reconnects
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxc8efcc786146a951091588e5fa7e3c754850cb3c to < 883670dc0b57bc1ca3b71fe00f40dfce1ab8cb7b · c8efcc786146a951091588e5fa7e3c754850cb3c to < fcaa65fd23d3cbc69eeca395d6673413577698d8 · c8efcc786146a951091588e5fa7e3c754850cb3c to < 7ec499897018d15f4f845491aee227adca9d0452 · c8efcc786146a951091588e5fa7e3c754850cb3c to < df5c868f6b80ca16c171cfac5e4e6c9be83ba4c2 · 8df4bcdb0a4232192b2445256c39b787d58ef14d · 6.6.32 to < 6.7 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.9 (affected) · 0 to < 6.9 (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix fd_limit accounting across durable reconnects A disconnected durable handle keeps its ksmbd_file and the fd_limit reservation taken at its initial open. Reconnecting allocates another volatile ID and takes another reservation for the same file. Final close returns only one reservation, so repeated reconnects permanently reduce the server-wide open-file budget. Move reservation into ksmbd_open_fd() and release it on every creation failure. Keep the reservation until final close, including while a durable handle is disconnected. Make ID allocation independent of fd_limit so reconnects neither consume nor return slots. This also avoids returning an unreserved slot when persistent ID allocation fails. New opens continue to return -EMFILE when the budget is exhausted, keeping the existing STATUS_INSUFFICIENT_RESOURCES mapping.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | c8efcc786146a951091588e5fa7e3c754850cb3c to < 883670dc0b57bc1ca3b71fe00f40dfce1ab8cb7b (affected · git)c8efcc786146a951091588e5fa7e3c754850cb3c to < fcaa65fd23d3cbc69eeca395d6673413577698d8 (affected · git)c8efcc786146a951091588e5fa7e3c754850cb3c to < 7ec499897018d15f4f845491aee227adca9d0452 (affected · git)c8efcc786146a951091588e5fa7e3c754850cb3c to < df5c868f6b80ca16c171cfac5e4e6c9be83ba4c2 (affected · git)8df4bcdb0a4232192b2445256c39b787d58ef14d (affected · git)6.6.32 to < 6.7 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 6.9 (affected)0 to < 6.9 (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
1Linux · cna
ksmbd: fix fd_limit accounting across durable reconnects
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- aeed6934ebe0a3e04bcb0cec149b3476ec39aceb192cbb96bc4da68cbfc69bc2
- Ingested
- 30 Nov 2026, 13:42:23 UTC
- Source record
- Official CVE record