# CVE-2022-49664: tipc: move bc link creation back to tipc_node_create

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/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.69%, higher than 54% of CVEs (2026-12-01)
- Published: 2025-02-26T02:23:59.792Z
- Modified: 2026-08-05T08:55:57.231Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

tipc: move bc link creation back to tipc_node_create

Shuang Li reported a NULL pointer dereference crash:

  [] BUG: kernel NULL pointer dereference, address: 0000000000000068
  [] RIP: 0010:tipc_link_is_up+0x5/0x10 [tipc]
  [] Call Trace:
  []  <IRQ>
  []  tipc_bcast_rcv+0xa2/0x190 [tipc]
  []  tipc_node_bc_rcv+0x8b/0x200 [tipc]
  []  tipc_rcv+0x3af/0x5b0 [tipc]
  []  tipc_udp_recv+0xc7/0x1e0 [tipc]

It was caused by the 'l' passed into tipc_bcast_rcv() is NULL. When it
creates a node in tipc_node_check_dest(), after inserting the new node
into hashtable in tipc_node_create(), it creates the bc link. However,
there is a gap between this insert and bc link creation, a bc packet
may come in and get the node from the hashtable then try to dereference
its bc link, which is NULL.

This patch is to fix it by moving the bc link creation before inserting
into the hashtable.

Note that for a preliminary node becoming "real", the bc link creation
should also be called before it's rehashed, as we don't create it for
preliminary nodes.

(As written by CVE List.)

## Affected

- Linux Linux: from 4cbf8ac2fe5a0846508fe02b95a5de1a90fa73f4 before 456bc338871c4a52117dd5ef29cce3745456d248; from 4cbf8ac2fe5a0846508fe02b95a5de1a90fa73f4 before 35fcb2ba35b4d9b592b558c3bcc6e0d90e213588; from 4cbf8ac2fe5a0846508fe02b95a5de1a90fa73f4 before e52910e671f58c619e33dac476b11b35e2d3ab6f; from 4cbf8ac2fe5a0846508fe02b95a5de1a90fa73f4 before cb8092d70a6f5f01ec1490fce4d35efed3ed996c; 0b8f0026bbd4df1688e1726026476e60762daf2a; from 5.4.287 before 5.5; 5.5 (not affected: before 5.5; from 5.10.129 up to 5.10.*; from 5.15.53 up to 5.15.*; from 5.18.10 up to 5.18.*; from 5.19 up to *)
- linux linux_kernel: from 5.4.287 before 5.10.129; from 5.11 before 5.15.53; from 5.16 before 5.18.10; 5.19

## Every score

- Linux: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/456bc338871c4a52117dd5ef29cce3745456d248> (patch)
- <https://git.kernel.org/stable/c/35fcb2ba35b4d9b592b558c3bcc6e0d90e213588> (patch)
- <https://git.kernel.org/stable/c/e52910e671f58c619e33dac476b11b35e2d3ab6f> (patch)
- <https://git.kernel.org/stable/c/cb8092d70a6f5f01ec1490fce4d35efed3ed996c> (patch)

## Sources

- CVE List: [CVE-2022-49664](https://www.cve.org/CVERecord?id=CVE-2022-49664), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2022-49664](https://nvd.nist.gov/vuln/detail/CVE-2022-49664), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2022-49664 · Whole record: https://cve.day/CVE-2022-49664.json · Rebuilt by cve.day 2026-11-25T22:58:20.792Z
