CVE-2022-49344
JSON

4.7medium

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

Severity
4.7medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.19% (higher than 9% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 and 20 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.*
CVE List
linux linux_kernelfrom 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 and 7 moreNVD

All scores

CISA-ADP4.7medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD4.7medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-362

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: af_unix: Se solucionó una ejecución de datos en unix_dgram_peer_wake_me(). unix_dgram_poll() llama a unix_dgram_peer_wake_me() sin el bloqueo de `other` y verifica si su cola de recepción está llena. Aquí necesitamos usar unix_recvq_full_lockless() en lugar de unix_recvq_full(), de lo contrario KCSAN informará una ejecución de datos.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-49344 changed 2026-05-23CVE Terms of Use
NVDCVE-2022-49344 changed 2026-06-17Public domain