{"id":"CVE-2026-98112","aliases":["CVE-2026-98112"],"related":[],"kind":"vulnerability","state":"published","title":"ksmbd: fix listener task lifetime on netdev events","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix listener task lifetime on netdev events\n\nThe listener thread exits when its listening socket is shutdown. The\nnetdevice notifier shuts down the socket before calling kthread_stop(), so\nthe task_struct can be freed before kthread_stop() gets its reference.\n\nCreate the listener in a stopped state and hold an extra task_struct\nreference until kthread_stop_put() completes. Also stop and release\nlisteners before freeing their interface records during TCP teardown.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix listener task lifetime on netdev events\n\nThe listener thread exits when its listening socket is shutdown. The\nnetdevice notifier shuts down the socket before calling kthread_stop(), so\nthe task_struct can be freed before kthread_stop() gets its reference.\n\nCreate the listener in a stopped state and hold an extra task_struct\nreference until kthread_stop_put() completes. Also stop and release\nlisteners before freeing their interface records during TCP teardown.","source":"cvelist"}],"published":"2026-09-25T10:35:59.319Z","modified":"2026-11-23T08:17:23.483Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-362","CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"efa5011add23319d6fbeeac2c03a3e3df35e99f3","fixed":"45c9926412526c776d5f035cd40cc0b4138f1bbb","status":"affected"},{"type":"git","introduced":"3316a8fc840d82fad5efcf76ad0ea3f76fdca209","fixed":"40581f10c1e56238b157af5f260b8f9518a0cbc1","status":"affected"},{"type":"git","introduced":"3316a8fc840d82fad5efcf76ad0ea3f76fdca209","fixed":"a506290f59e1c6ce9ac0a13158640bb8fee93471","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.19","status":"unaffected"},{"type":"semver","introduced":"7.2.7","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.19","fixed":"7.2.7"},{"status":"affected","version":"7.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/45c9926412526c776d5f035cd40cc0b4138f1bbb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/40581f10c1e56238b157af5f260b8f9518a0cbc1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a506290f59e1c6ce9ac0a13158640bb8fee93471","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98112","url":"https://www.cve.org/CVERecord?id=CVE-2026-98112","licence":"CVE Terms of Use","modified":"2026-11-23T07:59:30.120Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98112","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98112","licence":"Public domain","modified":"2026-11-23T08:17:23.483Z"}],"updatedAt":"2026-11-25T22:59:41.065Z","epss":{"score":0.00099,"percentile":0.0083,"date":"2026-12-01T12:00:22.000Z"}}