KernelScan.io

HIGH Introduced in 2.6.12

smb Rlist Race

CVE-2026-98174

CVSS 7.5 / 10.0 NVD

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

KernelScan AI7.9HIGH

01

In the Linux kernel, the following vulnerability has been resolved: smb: client: fix rlist race and missing initialization TCP_Server_Info.rlist is allocated via kzalloc which zeros both ->next and ->prev to NULL instead of pointing to itself, making list_empty() always return false and list_add() dereference a NULL ->prev pointer. Also, cifs_signal_cifsd_for_reconnect() can be called concurrently from multiple cifsd threads, allowing the same server's rlist node to be added twice into the local list, corrupting it.

02

Engine v0.7.0

Risk summary

A race condition and missing list initialization in the CIFS/SMB client's reconnect path can corrupt linked-list structures or dereference NULL pointers, leading to kernel crashes or potential memory corruption. Any system with active SMB/CIFS mounts is at risk; a local user performing I/O on such mounts can trigger reconnects, and a malicious SMB server could also induce them by dropping connections.

Affectedfs/smb/client/connect.c (smb client)

Vulnerability analysis

The SMB client's reconnect handling contains two flaws. First, a list node inside each server structure is zeroed out during allocation instead of being set up to point to itself, so any list operation on it reads or writes through a null pointer and crashes the kernel. Second, several kernel threads that service CIFS traffic can simultaneously start a reconnect for the same server, causing the same node to be linked into a temporary list twice and corrupting the list and nearby memory. The fix properly initializes the node when the server structure is created, ignores servers that are already queued for reconnect, and protects the list cleanup with locking so parallel callers cannot interfere. Any system with an active SMB mount is affected: a local user accessing the mount can trigger a reconnect, and a malicious or compromised remote SMB server can force one by dropping the connection.

03

BranchIntroducedFixed inPatch commit
6.122.6.126.12.1125a8f82f9c583
6.182.6.126.18.5404082b183385
6.62.6.126.6.158b5f924ffbfa9
7.22.6.127.2.8c037d6bde3dd
mainline2.6.127.35f270f091256
cip/6.122.6.126.12.112-cip335a8f82f9c583

04

State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.

CIP treeState
cip/6.12Fixed in 6.12.112-cip33
cip/6.1Affected — no CIP fix yet (latest 6.1.190-cip62)
cip/6.1-rtAffected — no CIP fix yet (latest 6.1.189-cip61-rt32)
cip/5.10Affected — no CIP fix yet (latest 5.10.272-cip79)
cip/5.10-rtAffected — no CIP fix yet (latest 5.10.272-cip79-rt35)
cip/4.19Affected — no CIP fix yet (latest 4.19.325-cip137)
cip/4.19-rtAffected — no CIP fix yet (latest 4.19.325-cip136-rt50)
cip/4.4Affected — no CIP fix yet (latest 4.4.302-cip115)
cip/4.4-rtAffected — no CIP fix yet (latest 4.4.302-cip115-rt63)