cvelo
P2 · HighCVSS 7.8

ksmbd: fix listener task lifetime on netdev events

  • CVE-2026-98112
  • GHSA-x6gr-8p6h-h2g7
  • EUVD-2026-86943

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.

Text from the CVE.org record.

Affected

  • linux linux kernel

    • from 6.19 to before 7.2.7
    • 7.3

Product versions from the NVD record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.