CVE-2022-49344

medium

Description

In the Linux kernel, the following vulnerability has been resolved: af_unix: Fix a data-race in unix_dgram_peer_wake_me(). unix_dgram_poll() calls unix_dgram_peer_wake_me() without `other`'s lock held and check if its receive queue is full. Here we need to use unix_recvq_full_lockless() instead of unix_recvq_full(), otherwise KCSAN will report a data-race.

References

https://git.kernel.org/stable/c/c926ae58f24f7bd55aa2ea4add9f952032507913

https://git.kernel.org/stable/c/c61848500a3fd6867dfa4834b8c7f97133eceb9f

https://git.kernel.org/stable/c/95f0ba806277733bf6024e23e27e1be773701cca

https://git.kernel.org/stable/c/8801eb3ccd2e4e3b1a01449383e3321ae6dbd9d6

https://git.kernel.org/stable/c/71e8bfc7f838cabc60cba24e09ca84c4f8321ab2

https://git.kernel.org/stable/c/662a80946ce13633ae90a55379f1346c10f0c432

https://git.kernel.org/stable/c/556720013c36c193d9cbfb06e7b33e51f0c39fbf

Details

Source: Mitre, NVD

Published: 2025-02-26

Updated: 2025-02-26

Risk Information

CVSS v2

Base Score: 5.4

Vector: CVSS2#AV:L/AC:M/Au:N/C:P/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 4.7

Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium