Skip to content
CVE PROGRAM SOURCE RECORD4.7 Medium

CVE-2022-49344

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

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 7d267278a9ece963d77eefec61630223fce08c6c to < 95f0ba806277733bf6024e23e27e1be773701ccaaffected
  • 7d267278a9ece963d77eefec61630223fce08c6c to < 556720013c36c193d9cbfb06e7b33e51f0c39fbfaffected
  • 7d267278a9ece963d77eefec61630223fce08c6c to < c61848500a3fd6867dfa4834b8c7f97133eceb9faffected
  • 7d267278a9ece963d77eefec61630223fce08c6c to < c926ae58f24f7bd55aa2ea4add9f952032507913affected
  • 7d267278a9ece963d77eefec61630223fce08c6c to < 71e8bfc7f838cabc60cba24e09ca84c4f8321ab2affected
  • 7d267278a9ece963d77eefec61630223fce08c6c to < 8801eb3ccd2e4e3b1a01449383e3321ae6dbd9d6affected
  • 7d267278a9ece963d77eefec61630223fce08c6c to < 662a80946ce13633ae90a55379f1346c10f0c432affected
  • 60bc010667ef06e0fb08d5ec599c0977adc2ac72affected
  • a3b0f6e8a21ef02f69a15abac440572d8cde8c2aaffected
  • ec54d5ae9d298abf01c273233de9f2bc25d80475affected
  • da8db0830a2ce63f628150307a01a315f5081202affected
  • 9964b4c4ee925b2910723e509abd7241cff1ef84affected
  • 9d054f57adc981a5f503d5eb9b259aa450b90dc5affected
  • 72032798034d921ed565e3bf8dfdc3098f6473e2affected
  • 5c77e26862ce604edea05b3442ed765e9756fe0faffected
  • bad967fdd8ecbdd171f5f243657be033d2d081a7affected
  • 58a6a46a036ce81a2a8ecaa6fc1537c894349e3faffected
  • 2.6.32.70 to < 2.6.33affected
  • 3.2.75 to < 3.3affected
  • 3.4.111 to < 3.5affected
  • 3.10.95 to < 3.11affected
  • 3.12.52 to < 3.13affected
  • 3.14.59 to < 3.15affected
  • 3.18.26 to < 3.19affected
  • 4.1.15 to < 4.2affected
  • 4.2.8 to < 4.3affected
  • 4.3.3 to < 4.4affected

Linux Linux

Default version status: affected

  • 4.4affected
  • 0 to < 4.4unaffected
  • 4.19.247 to ≤ 4.19.*unaffected
  • 5.4.198 to ≤ 5.4.*unaffected
  • 5.10.122 to ≤ 5.10.*unaffected
  • 5.15.47 to ≤ 5.15.*unaffected
  • 5.17.15 to ≤ 5.17.*unaffected
  • 5.18.4 to ≤ 5.18.*unaffected
  • 5.19 to ≤ *unaffected

References