CVE-2026-98097: tipc: Dont send random pad bytes in RESET/ACTIVATE messages
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
tipc: Dont send random pad bytes in RESET/ACTIVATE messages
The interface name is passed in a fixed length (TIPC_MAX_IF_NAME) buffer. Replace the strcpy(data, l->if_name) with memcpy() so that the pad bytes are actually written (l->if_name[] is zero padded) rather than sending random bytes from the skb to the remote system.
Replace two other strcpy() with strscpy().
The Linux kernel CVE team has assigned CVE-2026-98097 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.6 with commit e74a386d70c793ef44678b44b021c99094b28c47 and fixed in 6.12.111 with commit 48033a89356b8ae21a94db70c79bb6fcc91a23c2 Issue introduced in 4.6 with commit e74a386d70c793ef44678b44b021c99094b28c47 and fixed in 6.18.53 with commit 4ab2977323d5f068a872126f7818d1aeb9e9ca0d Issue introduced in 4.6 with commit e74a386d70c793ef44678b44b021c99094b28c47 and fixed in 7.2.7 with commit bee1459e57f2e0bd240c62f35c0a284291e27971 Issue introduced in 4.6 with commit e74a386d70c793ef44678b44b021c99094b28c47 and fixed in 7.3-rc2 with commit 81c600c26302a27852ed8b19c5f2f647ea3555c9
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-98097
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
net/tipc/link.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/48033a89356b8ae21a94db70c79bb6fcc91a23c2 https://git.kernel.org/stable/c/4ab2977323d5f068a872126f7818d1aeb9e9ca0d https://git.kernel.org/stable/c/bee1459e57f2e0bd240c62f35c0a284291e27971 https://git.kernel.org/stable/c/81c600c26302a27852ed8b19c5f2f647ea3555c9