Skip to main content
← All vulnerabilities
CVE-2022-49344

af_unix: Fix a data-race in unix_dgram_peer_wake_me().

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.6.33, 3.3, 3.5, 3.11, 3.13, and 5 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Linux Linux

    From 2.6.32.70 · fixed in 2.6.33; From 3.2.75 · fixed in 3.3; From 3.4.111 · fixed in 3.5; From 3.10.95 · fixed in 3.11; From 3.12.52 · fixed in 3.13; From 3.14.59 · fixed in 3.15; From 3.18.26 · fixed in 3.19; From 4.1.15 · fixed in 4.2; From 4.2.8 · fixed in 4.3; From 4.3.3 · fixed in 4.4

  • Linux Linux

    4.4

References 7

git.kernel.org