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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
c8efcc786146a951091588e5fa7e3c754850cb3c to < 883670dc0b57bc1ca3b71fe00f40dfce1ab8cb7baffectedc8efcc786146a951091588e5fa7e3c754850cb3c to < fcaa65fd23d3cbc69eeca395d6673413577698d8affectedc8efcc786146a951091588e5fa7e3c754850cb3c to < 7ec499897018d15f4f845491aee227adca9d0452affectedc8efcc786146a951091588e5fa7e3c754850cb3c to < df5c868f6b80ca16c171cfac5e4e6c9be83ba4c2affected8df4bcdb0a4232192b2445256c39b787d58ef14daffected6.6.32 to < 6.7affected
Linux Linux
Default version status: affected
6.9affected0 to < 6.9unaffected6.12.119 to ≤ 6.12.*unaffected6.18.65 to ≤ 6.18.*unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected