# CVE-2026-98112: ksmbd: fix listener task lifetime on netdev events

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.10%, higher than 0% of CVEs (2026-12-01)
- Published: 2026-09-25T10:35:59.319Z
- Modified: 2026-11-23T08:17:23.483Z
- Weaknesses: CWE-362, CWE-416
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from efa5011add23319d6fbeeac2c03a3e3df35e99f3 before 45c9926412526c776d5f035cd40cc0b4138f1bbb; from 3316a8fc840d82fad5efcf76ad0ea3f76fdca209 before 40581f10c1e56238b157af5f260b8f9518a0cbc1; from 3316a8fc840d82fad5efcf76ad0ea3f76fdca209 before a506290f59e1c6ce9ac0a13158640bb8fee93471; 6.19 (not affected: before 6.19; from 7.2.7 up to 7.2.*; from 7.3 up to *)
- linux linux_kernel: from 6.19 before 7.2.7; 7.3

## References

- <https://git.kernel.org/stable/c/45c9926412526c776d5f035cd40cc0b4138f1bbb>
- <https://git.kernel.org/stable/c/40581f10c1e56238b157af5f260b8f9518a0cbc1> (patch)
- <https://git.kernel.org/stable/c/a506290f59e1c6ce9ac0a13158640bb8fee93471> (patch)

## Sources

- CVE List: [CVE-2026-98112](https://www.cve.org/CVERecord?id=CVE-2026-98112), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-98112](https://nvd.nist.gov/vuln/detail/CVE-2026-98112), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-98112 · Whole record: https://cve.day/CVE-2026-98112.json · Rebuilt by cve.day 2026-11-25T22:59:41.065Z
