Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-139230
VULNERABILITY

CVE-2026-139230

Common Vulnerabilities and Exposures record

Summary

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.

Risk

CVSS
Not available
Severity
Not available
Vector
Not available

Timeline

Published
Nov 30, 2026 14:18
Modified
Nov 30, 2026 14:18
Last observed
Nov 30, 2026 10:00

References