What’s Vulnerable › Vulnerabilities
CVE-2022-49344: af_unix: Fix a data-race in unix_dgram_peer_wake_me().
- Severity: medium (CVSS 4.7 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-02-26 · updated 2026-06-17
- Weakness: CWE-362
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.
Affected products
- Linux kernel: from 3.2.75 before 3.3; from 3.4.111 before 3.5; from 3.10.95 before 3.11; from 3.12.52 before 3.13; from 3.14.59 before 3.15; from 3.18.26 before 3.19 — fixed in 3.11, 3.13, 3.15, 3.19, 3.3, 3.5
How to fix
Upgrade to a fixed version: Linux kernel 3.11, 3.13, 3.15, 3.19. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/556720013c36c193d9cbfb06e7b33e51f0c39fbf
- https://git.kernel.org/stable/c/662a80946ce13633ae90a55379f1346c10f0c432
- https://git.kernel.org/stable/c/71e8bfc7f838cabc60cba24e09ca84c4f8321ab2
- https://git.kernel.org/stable/c/8801eb3ccd2e4e3b1a01449383e3321ae6dbd9d6
- https://git.kernel.org/stable/c/95f0ba806277733bf6024e23e27e1be773701cca
- https://git.kernel.org/stable/c/c61848500a3fd6867dfa4834b8c7f97133eceb9f
- https://git.kernel.org/stable/c/c926ae58f24f7bd55aa2ea4add9f952032507913
Get alerted when CVE-2022-49344 or the next vulnerability affects your stack