Bug 2347694 (CVE-2022-49344) - CVE-2022-49344 kernel: af_unix: Fix a data-race in unix_dgram_peer_wake_me().
Summary: CVE-2022-49344 kernel: af_unix: Fix a data-race in unix_dgram_peer_wake_me().
Keywords:
Status: NEW
Alias: CVE-2022-49344
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-02-26 03:03 UTC by OSIDB Bzimport
Modified: 2025-04-03 17:51 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-02-26 03:03:28 UTC
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.

Comment 1 Avinash Hanwate 2025-02-26 19:46:51 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022641-CVE-2022-49344-2b3a@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.