# CVE-2026-139230

- Bağlantı: https://www.allsafe.com.tr/cve-2026-139230/
- Yayımlanma: 2026-11-30T17:18:44+03:00
- Yazar: Postmaster

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.

Bu kayıt NIST NVD kaynağından aktarılmıştır. Etkilenen sürümler, güncel değerlendirme
ve üretici referansları için kaynak kaydı inceleyin.

Kaynak: [NIST NVD — özgün kaydı inceleyin ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-139230)
