Security mailing lists by PureSourceCode

CVE-2026-139230

not scored yet

ksmbd: fix fd_limit accounting across durable reconnects

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.

Published
30 Nov 2026
Last modified
30 Nov 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= c8efcc786146a951091588e5fa7e3c754850cb3c, < 883670dc0b57bc1ca3b71fe00f40dfce1ab8cb7b; >= c8efcc786146a951091588e5fa7e3c754850cb3c, < fcaa65fd23d3cbc69eeca395d6673413577698d8; >= c8efcc786146a951091588e5fa7e3c754850cb3c, < 7ec499897018d15f4f845491aee227adca9d0452; >= c8efcc786146a951091588e5fa7e3c754850cb3c, < df5c868f6b80ca16c171cfac5e4e6c9be83ba4c2; = 8df4bcdb0a4232192b2445256c39b787d58ef14d; >= 6.6.32, < 6.7 883670dc0b57bc1ca3b71fe00f40dfce1ab8cb7b, fcaa65fd23d3cbc69eeca395d6673413577698d8, 7ec499897018d15f4f845491aee227adca9d0452, df5c868f6b80ca16c171cfac5e4e6c9be83ba4c2, 6.7
CVE List Linux Linux = 6.9

References

History

  • 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
  • 30 Nov 2026 13:58 UTC · CVE List: first stored (published 30 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.