CVE-2022-49664CWE-476

CVE-2022-49664

High · published February 26, 2025

CVSS v3.1
7.5
EPSS
1%
Percentile
52.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00693 · 52.3th percentile
Weakness
CWE-476 · NULL Pointer Dereference
Published
2025-02-26T12:01Z
Affected products (7)
ProductVersionsFixed in
linux/linux_kernel≥ 5.4.287, < 5.10.1295.10.129
linux/linux_kernel≥ 5.11, < 5.15.535.15.53
linux/linux_kernel≥ 5.16, < 5.18.105.18.10
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (4)
EPSS history
Timeline
  • 26 FEB 02:23Z
    tipc: move bc link creation back to tipc_node_create
    cvelistv5