{"id":"CVE-2026-139230","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-30T14:18:44.873","lastModified":"2026-11-30T14:18:44.873","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix fd_limit accounting across durable reconnects\n\nA disconnected durable handle keeps its ksmbd_file and the fd_limit\nreservation taken at its initial open. Reconnecting allocates another\nvolatile ID and takes another reservation for the same file. Final close\nreturns only one reservation, so repeated reconnects permanently reduce\nthe server-wide open-file budget.\n\nMove reservation into ksmbd_open_fd() and release it on every creation\nfailure. Keep the reservation until final close, including while a durable\nhandle is disconnected. Make ID allocation independent of fd_limit so\nreconnects neither consume nor return slots. This also avoids returning an\nunreserved slot when persistent ID allocation fails.\n\nNew opens continue to return -EMFILE when the budget is exhausted, keeping\nthe existing STATUS_INSUFFICIENT_RESOURCES mapping."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["fs/smb/server/vfs_cache.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"c8efcc786146a951091588e5fa7e3c754850cb3c","lessThan":"883670dc0b57bc1ca3b71fe00f40dfce1ab8cb7b","versionType":"git","status":"affected"},{"version":"c8efcc786146a951091588e5fa7e3c754850cb3c","lessThan":"fcaa65fd23d3cbc69eeca395d6673413577698d8","versionType":"git","status":"affected"},{"version":"c8efcc786146a951091588e5fa7e3c754850cb3c","lessThan":"7ec499897018d15f4f845491aee227adca9d0452","versionType":"git","status":"affected"},{"version":"c8efcc786146a951091588e5fa7e3c754850cb3c","lessThan":"df5c868f6b80ca16c171cfac5e4e6c9be83ba4c2","versionType":"git","status":"affected"},{"version":"8df4bcdb0a4232192b2445256c39b787d58ef14d","versionType":"git","status":"affected"},{"version":"6.6.32","lessThan":"6.7","versionType":"semver","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["fs/smb/server/vfs_cache.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.9","status":"affected"},{"version":"0","lessThan":"6.9","versionType":"semver","status":"unaffected"},{"version":"6.12.119","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.65","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/7ec499897018d15f4f845491aee227adca9d0452","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/883670dc0b57bc1ca3b71fe00f40dfce1ab8cb7b","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/df5c868f6b80ca16c171cfac5e4e6c9be83ba4c2","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/fcaa65fd23d3cbc69eeca395d6673413577698d8","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}