Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2026-98112

ksmbd: fix listener task lifetime on netdev events

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix listener task lifetime on netdev events The listener thread exits when its listening socket is shutdown. The netdevice notifier shuts down the socket before calling kthread_stop(), so the task_struct can be freed before kthread_stop() gets its reference. Create the listener in a stopped state and hold an extra task_struct reference until kthread_stop_put() completes. Also stop and release listeners before freeing their interface records during TCP teardown.

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

  • 3316a8fc840d82fad5efcf76ad0ea3f76fdca209 to < 40581f10c1e56238b157af5f260b8f9518a0cbc1affected
  • 3316a8fc840d82fad5efcf76ad0ea3f76fdca209 to < a506290f59e1c6ce9ac0a13158640bb8fee93471affected

Linux Linux

Default version status: affected

  • 6.19affected
  • 0 to < 6.19unaffected
  • 7.2.7 to ≤ 7.2.*unaffected
  • 7.3 to ≤ *unaffected

References