CVE-2026-98112
Received Received - Intake

ksmbd Listener Task Lifetime Issue on Netdev Events

Vulnerability report for CVE-2026-98112, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-25

Last updated on: 2026-09-25

Assigner: kernel.org

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-25
Last Modified
2026-09-25
Generated
2026-09-25
AI Q&A
2026-09-25
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the Linux kernel involves a race condition where the ksmbd listener thread could exit prematurely. The issue occurs because the netdevice notifier shuts down the listening socket before calling kthread_stop(), potentially freeing the task_struct before kthread_stop() can safely reference it. The fix involves creating the listener in a stopped state and holding an extra task_struct reference until kthread_stop_put() completes.

Detection Guidance

This vulnerability is specific to the Linux kernel's ksmbd component and may not have direct detection commands. Monitor kernel logs for ksmbd-related errors or crashes, especially during network interface changes. Check for listener thread exits or unexpected task_struct freeing events in system logs.

Impact Analysis

This vulnerability could lead to system instability or crashes if the ksmbd listener thread exits unexpectedly during network interface changes. It may cause denial-of-service conditions or unexpected behavior in file sharing services relying on ksmbd.

Mitigation Strategies

Update the Linux kernel to the latest patched version that includes the fix for this ksmbd listener task lifetime issue. Restart affected services or systems to ensure the updated kernel is active. Monitor system stability after applying the update.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-98112. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart