CVE-2022-49862

tipc: fix the msg->req tlv len check in tipc_nl_compat_name_table_dump_header

MEDIUM
5.5
CVSS Score
Published: May 1, 2025 at 02:10 PM UTC
Updated: June 17, 2026 at 05:19 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: tipc: fix the msg->req tlv len check in tipc_nl_compat_name_table_dump_header This is a follow-up for commit 974cb0e3e7c9 ("tipc: fix uninit-value in tipc_nl_compat_name_table_dump") where it should have type casted sizeof(..) to int to work when TLV_GET_DATA_LEN() returns a negative value. syzbot reported a call trace because of it: BUG: KMSAN: uninit-value in ... tipc_nl_compat_name_table_dump+0x841/0xea0 net/tipc/netlink_compat.c:934 __tipc_nl_compat_dumpit+0xab2/0x1320 net/tipc/netlink_compat.c:238 tipc_nl_compat_dumpit+0x991/0xb50 net/tipc/netlink_compat.c:321 tipc_nl_compat_recv+0xb6e/0x1640 net/tipc/netlink_compat.c:1324 genl_family_rcv_msg_doit net/netlink/genetlink.c:731 [inline] genl_family_rcv_msg net/netlink/genetlink.c:775 [inline] genl_rcv_msg+0x103f/0x1260 net/netlink/genetlink.c:792 netlink_rcv_skb+0x3a5/0x6c0 net/netlink/af_netlink.c:2501 genl_rcv+0x3c/0x50 net/netlink/genetlink.c:803 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline] netlink_unicast+0xf3b/0x1270 net/netlink/af_netlink.c:1345 netlink_sendmsg+0x1288/0x1440 net/netlink/af_netlink.c:1921 sock_sendmsg_nosec net/socket.c:714 [inline] sock_sendmsg net/socket.c:734 [inline]

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 4.20.4v ≥ 4.4.1724.14.95 ≤ v < 4.14.3004.19.17 ≤ v < 4.19.2674.20.4 ≤ v < 4.214.20.4 ≤ v < 5.4.2254.4.172 ≤ v < 4.54.9.152 ≤ v < 4.9.3345.0 ≤ v < 5.10.1555.0 ≤ v < 5.15.795.0 ≤ v < 5.4.2255.0 ≤ v < 6.0.95.0 ≤ v < 6.15.11 ≤ v < 5.15.795.16 ≤ v < 6.0.95.5 ≤ v < 5.10.1552aae1723dea1235ffef183daf0694805297424f62d5fc1d492d194aa2986c5a9d8a48a60e9143a724.14.954.19.174.20.44.4.1724.9.1524c559fb7e111077b56f62ccf833a52d8169cde195486e8d46560ca2b4d86cbd7d3a66d9913b2ac656.1 rc16.1 rc26.1 rc36.1 rc4974cb0e3e7c963ced06c4e32c5b2884173fa5e01c25352f9ad5dffb4de95069e67891e2aa2e99e50
Vendor states this is fixed in 082707d3df191bf5bb8801d43e4ce3dea39ca173 (fixed)
Vendor states this is fixed in 1c075b192fe41030457cd4a5f7dea730412bca40 (fixed)
Vendor states this is fixed in 301caa06091af4d5cf056ac8249cbda4e6029c6a (fixed)
Vendor states this is fixed in 36769b9477491a7af6635863bd950309c1e1b96c (fixed)
Vendor states this is fixed in 55a253a6753a603e80b95932ca971ba514aa6ce7 (fixed)
Vendor states this is fixed in 6cee2c60bd168279852ac7dbe54c2b70d1028644 (fixed)
Vendor states this is fixed in a0ead1d648df9c456baec832b494513ef405949a (fixed)
Vendor states this is fixed in f31dd158580940938f77514b87337a777520185a (fixed)
Vendor states this is fixed in 4.14.300 (unaffected)
Vendor states this is fixed in 4.19.267 (unaffected)
Affected range stops below 4.21, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.5, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 4.9.334 (unaffected)
Vendor states this is fixed in 5.0 (unaffected)
Vendor states this is fixed in 5.10.155 (unaffected)
Vendor states this is fixed in 5.15.79 (unaffected)
Vendor states this is fixed in 5.4.225 (unaffected)
Vendor states this is fixed in 6.0.9 (unaffected)
Vendor states this is fixed in 6.1 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/082707d3df191bf5bb8801d43e4ce3dea39ca173
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1c075b192fe41030457cd4a5f7dea730412bca40
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/301caa06091af4d5cf056ac8249cbda4e6029c6a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/36769b9477491a7af6635863bd950309c1e1b96c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/55a253a6753a603e80b95932ca971ba514aa6ce7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6cee2c60bd168279852ac7dbe54c2b70d1028644
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a0ead1d648df9c456baec832b494513ef405949a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f31dd158580940938f77514b87337a777520185a

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-908

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card