# CVE-2026-98098: tipc: fix NULL deref in tipc_named_node_up() on empty publication list

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-09-25T10:24:28.298Z
- Modified: 2026-10-28T19:09:49.213Z
- Weaknesses: CWE-476
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

tipc: fix NULL deref in tipc_named_node_up() on empty publication list

User-space applications can bind a large number of service addresses to
one or more sockets. Each binding of a local-scope service address inserts
one entry (publication) into the TIPC name table. If the number of these
publications exceeds TIPC_MAX_PUBL (65535), protocol service types
(such as node state and link state) are no longer inserted into the name
table. This causes two issues:

1. User-space applications subscribing to node or link up/down events
   stop receiving notifications.

2. A NULL pointer dereference can occur:

   BUG: kernel NULL pointer dereference, address: 00000000000000d0
   ...
   CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 7.2.0-rc4-default+ #5 PREEMPT(full)
   ...
   RIP: 0010:tipc_named_node_up (./include/linux/skbuff.h:2251 net/tipc/name_distr.c:195 net/tipc/name_distr.c:221)
   ...
   Call Trace:
   <IRQ>
   tipc_node_write_unlock (net/tipc/node.c:428)
   tipc_rcv (net/tipc/node.c:934 net/tipc/node.c:2189)
   tipc_udp_recv (net/tipc/udp_media.c:389)

   Thread 1 (tipc_net_finalize) | Thread 2 (named_distribute)
   -----------------------------|-----------------------------
                                | ...
                                | list_for_each_entry(publ, pls, binding_node) {
                                | ...
                                | __skb_queue_tail(list, skb);
                                | ...
                                | }
                                | ...
                                | hdr = buf_msg(skb_peek_tail(list));
   ...                          |
   tipc_nametbl_publish();      |

   If 'tipc_nametbl_publish()' (Thread 1) fails because the number of
   local publications reaches TIPC_MAX_PUBL, list (Thread 2) will be empty. As a
   result, NULL is passed to 'buf_msg()', leading to a NULL pointer dereference.

Fix these issues by allowing protocol service types (node state, link state,
and topology server) to be inserted into the name table unconditionally.
This ensures that users subscribing to these types always receive
notifications. In addition, the maximum number of local user publications is
reduced to (TIPC_MAX_PUBL - 1). This ensures that the maximum bulk size
calculated in tipc_link_set_queue_limits() remains valid.

(As written by CVE List.)

## Affected

- Linux Linux: from a5e7ac5ce134d8f72f59631011fafa7bbf7ca174 before 246a4b4aace490664927042e93400a6f940d197f; from a5e7ac5ce134d8f72f59631011fafa7bbf7ca174 before 6188cf0c989dea60f2efe800eaebb7d0bd16e2b2; from a5e7ac5ce134d8f72f59631011fafa7bbf7ca174 before b5344e459996afb45e30fdc407b41e6674793b21; from a5e7ac5ce134d8f72f59631011fafa7bbf7ca174 before 68619f965329d2f7b113a3d5811aa23198f39105; from a5e7ac5ce134d8f72f59631011fafa7bbf7ca174 before ad805326d874062f8bc72a94884f86046148cde3; from a5e7ac5ce134d8f72f59631011fafa7bbf7ca174 before d0d82f1214f321143c5dbc2e48e4a4e6c4226895; from a5e7ac5ce134d8f72f59631011fafa7bbf7ca174 before b3b76e9f4f2476f1135b2ba7743a821db4a0df4b; 3.15 (not affected: before 3.15; from 5.15.222 up to 5.15.*; from 6.1.189 up to 6.1.*; from 6.6.158 up to 6.6.*; from 6.12.111 up to 6.12.*; from 6.18.53 up to 6.18.*; from 7.2.7 up to 7.2.*; from 7.3 up to *)
- linux linux_kernel: from 3.15 before 5.15.222; from 5.16 before 6.1.189; from 6.2 before 6.6.158; from 6.7 before 6.12.111; from 6.13 up to 6.18.53; from 6.19 before 7.2.7; 7.3

## References

- <https://git.kernel.org/stable/c/246a4b4aace490664927042e93400a6f940d197f> (patch)
- <https://git.kernel.org/stable/c/6188cf0c989dea60f2efe800eaebb7d0bd16e2b2> (patch)
- <https://git.kernel.org/stable/c/b5344e459996afb45e30fdc407b41e6674793b21> (patch)
- <https://git.kernel.org/stable/c/68619f965329d2f7b113a3d5811aa23198f39105> (patch)
- <https://git.kernel.org/stable/c/ad805326d874062f8bc72a94884f86046148cde3> (patch)
- <https://git.kernel.org/stable/c/d0d82f1214f321143c5dbc2e48e4a4e6c4226895> (patch)
- <https://git.kernel.org/stable/c/b3b76e9f4f2476f1135b2ba7743a821db4a0df4b> (patch)

## Sources

- CVE List: [CVE-2026-98098](https://www.cve.org/CVERecord?id=CVE-2026-98098), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-98098](https://nvd.nist.gov/vuln/detail/CVE-2026-98098), Public domain, modified 2026-10-28

---

Page: https://cve.day/CVE-2026-98098 · Whole record: https://cve.day/CVE-2026-98098.json · Rebuilt by cve.day 2026-11-25T22:59:41.058Z
