Bug 2541318 (CVE-2026-98112) - CVE-2026-98112 kernel: ksmbd: fix listener task lifetime on netdev events
Summary: CVE-2026-98112 kernel: ksmbd: fix listener task lifetime on netdev events
Keywords:
Status: NEW
Alias: CVE-2026-98112
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-25 11:22 UTC by OSIDB Bzimport
Modified: 2026-09-29 04:13 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-09-25 11:22:54 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.