nday
CVE-2022-50531

tipc: fix an information leak in tipc_topsrv_kern_subscr

Linux / Linux

CVE 공개: . nday가 아직 패치 근거를 수집하지 않았습니다. 패치가 없다는 뜻은 아닙니다. PoC 출처 4곳 모두 미등재. CISA KEV 미등재.

tags weakness typeresource exhaustion accesslocalno user interaction productLinux kernel product typeoperating system
why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

resource exhaustion
CWE-401, stated by NVD's analysts
local
AV:L in CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1) from NVD's analysts
no user interaction
UI:N in CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1) from NVD's analysts
Linux kernel
affected products in the CVE record: Linux · LinuxCPE names NVD's analysts give as vulnerable: o:linux:linux_kernel
operating system
affected products in the CVE record: Linux · LinuxCPE names NVD's analysts give as vulnerable: o:linux:linux_kernelthe product type of Linux kernel in nday's product registry
현재 단계
DIS
공개
CVSS
점수 없음

생명주기

가로축 UTC. 점 = 분 단위, 넓은 막대 = 날짜만, 빈 표시 = 불명 또는 추정.
시점 알 수 없음
DIS공개
2025-10-07T15:19Z
PAT패치
아직 기록 없음
ANA분석
아직 기록 없음
POCPoC
아직 기록 없음
ITW악용
아직 기록 없음
KEVKEV
아직 기록 없음

요약

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

tipc: fix an information leak in tipc_topsrv_kern_subscr

Use a 8-byte write to initialize sub.usr_handle in tipc_topsrv_kern_subscr(), otherwise four bytes remain uninitialized when issuing setsockopt(..., SOL_TIPC, ...). This resulted in an infoleak reported by KMSAN when the packet was received:

=====================================================
BUG: KMSAN: kernel-infoleak in copyout+0xbc/0x100 lib/iov_iter.c:169
 instrument_copy_to_user ./include/linux/instrumented.h:121
 copyout+0xbc/0x100 lib/iov_iter.c:169
 _copy_to_iter+0x5c0/0x20a0 lib/iov_iter.c:527
 copy_to_iter ./include/linux/uio.h:176
 simple_copy_to_iter+0x64/0xa0 net/core/datagram.c:513
 __skb_datagram_iter+0x123/0xdc0 net/core/datagram.c:419
 skb_copy_datagram_iter+0x58/0x200 net/core/datagram.c:527
 skb_copy_datagram_msg ./include/linux/skbuff.h:3903
 packet_recvmsg+0x521/0x1e70 net/packet/af_packet.c:3469
 ____sys_recvmsg+0x2c4/0x810 net/socket.c:?
 ___sys_recvmsg+0x217/0x840 net/socket.c:2743
 __sys_recvmsg net/socket.c:2773
 __do_sys_recvmsg net/socket.c:2783
 __se_sys_recvmsg net/socket.c:2780
 __x64_sys_recvmsg+0x364/0x540 net/socket.c:2780
 do_syscall_x64 arch/x86/entry/common.c:50
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd arch/x86/entry/entry_64.S:120

...

Uninit was stored to memory at:

 tipc_sub_subscribe+0x42d/0xb50 net/tipc/subscr.c:156
 tipc_conn_rcv_sub+0x246/0x620 net/tipc/topsrv.c:375
 tipc_topsrv_kern_subscr+0x2e8/0x400 net/tipc/topsrv.c:579
 tipc_group_create+0x4e7/0x7d0 net/tipc/group.c:190
 tipc_sk_join+0x2a8/0x770 net/tipc/socket.c:3084
 tipc_setsockopt+0xae5/0xe40 net/tipc/socket.c:3201
 __sys_setsockopt+0x87f/0xdc0 net/socket.c:2252
 __do_sys_setsockopt net/socket.c:2263
 __se_sys_setsockopt net/socket.c:2260
 __x64_sys_setsockopt+0xe0/0x160 net/socket.c:2260
 do_syscall_x64 arch/x86/entry/common.c:50
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd arch/x86/entry/entry_64.S:120

Local variable sub created at:
 tipc_topsrv_kern_subscr+0x57/0x400 net/tipc/topsrv.c:562
 tipc_group_create+0x4e7/0x7d0 net/tipc/group.c:190

Bytes 84-87 of 88 are uninitialized Memory access of size 88 starts at ffff88801ed57cd0 Data copied to user address 0000000020000400

...
=====================================================

Original text of the CVE record (cvelist), shown as published.

이벤트 로그

+DISCVE 공개

CVE 레코드 공개(CNA: Linux).

출처 cvelist · nday 일괄 수집 · 원본
{
  "id": 279758,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2022-50531",
  "occurred_at": "2025-10-07T15:19:21.911Z",
  "observed_at": "2026-11-13T05:37:51.196939Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "state": "PUBLISHED",
    "date_published": "2025-10-07T15:19:21.911Z",
    "assigner_short_name": "Linux"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

연구자 논의

최근 7일간 연구자 0명이 언급

목록의 연구자가 X에서 이 CVE를 언급한 게시물입니다. 원문 그대로 보여 주며 nday는 검증하지 않습니다.

명단의 연구자가 X에서 이 CVE를 언급한 게시물은 아직 수집되지 않았습니다.

Discussion

0 comments

No comments yet.