# CVE-2022-49344: af_unix: Fix a data-race in unix_dgram_peer_wake_me().

- Severity: Medium 4.7 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2025-02-26T02:11:00.498Z
- Modified: 2026-06-17T05:17:46.560Z
- Weaknesses: CWE-362
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 7d267278a9ece963d77eefec61630223fce08c6c before 95f0ba806277733bf6024e23e27e1be773701cca; from 7d267278a9ece963d77eefec61630223fce08c6c before 556720013c36c193d9cbfb06e7b33e51f0c39fbf; from 7d267278a9ece963d77eefec61630223fce08c6c before c61848500a3fd6867dfa4834b8c7f97133eceb9f; from 7d267278a9ece963d77eefec61630223fce08c6c before c926ae58f24f7bd55aa2ea4add9f952032507913; from 7d267278a9ece963d77eefec61630223fce08c6c before 71e8bfc7f838cabc60cba24e09ca84c4f8321ab2; from 7d267278a9ece963d77eefec61630223fce08c6c before 8801eb3ccd2e4e3b1a01449383e3321ae6dbd9d6; from 7d267278a9ece963d77eefec61630223fce08c6c before 662a80946ce13633ae90a55379f1346c10f0c432; 60bc010667ef06e0fb08d5ec599c0977adc2ac72; a3b0f6e8a21ef02f69a15abac440572d8cde8c2a; ec54d5ae9d298abf01c273233de9f2bc25d80475; da8db0830a2ce63f628150307a01a315f5081202; 9964b4c4ee925b2910723e509abd7241cff1ef84; and 16 more (not affected: before 4.4; from 4.19.247 up to 4.19.*; from 5.4.198 up to 5.4.*; from 5.10.122 up to 5.10.*; from 5.15.47 up to 5.15.*; from 5.17.15 up to 5.17.*; from 5.18.4 up to 5.18.*; from 5.19 up to *)
- linux 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; from 4.1.15 before 4.2; from 4.2.8 before 4.3; from 4.3.3 before 4.19.247; from 4.20 before 5.4.198; from 5.5 before 5.10.122; from 5.11 before 5.15.47; and 3 more

## Every score

- CISA-ADP: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/95f0ba806277733bf6024e23e27e1be773701cca> (patch)
- <https://git.kernel.org/stable/c/556720013c36c193d9cbfb06e7b33e51f0c39fbf> (patch)
- <https://git.kernel.org/stable/c/c61848500a3fd6867dfa4834b8c7f97133eceb9f> (patch)
- <https://git.kernel.org/stable/c/c926ae58f24f7bd55aa2ea4add9f952032507913> (patch)
- <https://git.kernel.org/stable/c/71e8bfc7f838cabc60cba24e09ca84c4f8321ab2> (patch)
- <https://git.kernel.org/stable/c/8801eb3ccd2e4e3b1a01449383e3321ae6dbd9d6> (patch)
- <https://git.kernel.org/stable/c/662a80946ce13633ae90a55379f1346c10f0c432> (patch)

## Sources

- CVE List: [CVE-2022-49344](https://www.cve.org/CVERecord?id=CVE-2022-49344), CVE Terms of Use, modified 2026-05-23
- NVD: [CVE-2022-49344](https://nvd.nist.gov/vuln/detail/CVE-2022-49344), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49344 · Whole record: https://cve.day/CVE-2022-49344.json · Rebuilt by cve.day 2026-11-25T22:58:20.431Z
