CVE-2022-49344

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

4.7 medium EPSS 0.19%

Published 26 Feb 2025 Updated 23 May 2026 CNA: Linux

Check your servers for CVE-2022-49344

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-49344 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

4.7 medium CVSS 3.1 from CISA (ADP)
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
high: an attack depends on conditions outside the control of the attacker, such as a race
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.19%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 9.10% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 1 Oct 2025):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Weakness

  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 7d267278a9ece963d77eefec61630223fce08c6c, before 95f0ba806277733bf6024e23e27e1be773701cca
affected from 7d267278a9ece963d77eefec61630223fce08c6c, before 556720013c36c193d9cbfb06e7b33e51f0c39fbf
affected from 7d267278a9ece963d77eefec61630223fce08c6c, before c61848500a3fd6867dfa4834b8c7f97133eceb9f
affected from 7d267278a9ece963d77eefec61630223fce08c6c, before c926ae58f24f7bd55aa2ea4add9f952032507913
affected from 7d267278a9ece963d77eefec61630223fce08c6c, before 71e8bfc7f838cabc60cba24e09ca84c4f8321ab2
affected from 7d267278a9ece963d77eefec61630223fce08c6c, before 8801eb3ccd2e4e3b1a01449383e3321ae6dbd9d6
affected from 7d267278a9ece963d77eefec61630223fce08c6c, before 662a80946ce13633ae90a55379f1346c10f0c432
affected 60bc010667ef06e0fb08d5ec599c0977adc2ac72
affected a3b0f6e8a21ef02f69a15abac440572d8cde8c2a
affected ec54d5ae9d298abf01c273233de9f2bc25d80475
affected da8db0830a2ce63f628150307a01a315f5081202
affected 9964b4c4ee925b2910723e509abd7241cff1ef84
affected 9d054f57adc981a5f503d5eb9b259aa450b90dc5
affected 72032798034d921ed565e3bf8dfdc3098f6473e2
affected 5c77e26862ce604edea05b3442ed765e9756fe0f
affected bad967fdd8ecbdd171f5f243657be033d2d081a7
affected 58a6a46a036ce81a2a8ecaa6fc1537c894349e3f
affected from 2.6.32.70, before 2.6.33
affected from 3.2.75, before 3.3
affected from 3.4.111, before 3.5
affected from 3.10.95, before 3.11
affected from 3.12.52, before 3.13
affected from 3.14.59, before 3.15
affected from 3.18.26, before 3.19
affected from 4.1.15, before 4.2
and 2 more entries
Other versions: unaffected
Linux
affected 4.4
unaffected before 4.4
unaffected from 4.19.247 up to and including 4.19.*
unaffected from 5.4.198 up to and including 5.4.*
unaffected from 5.10.122 up to and including 5.10.*
unaffected from 5.15.47 up to and including 5.15.*
unaffected from 5.17.15 up to and including 5.17.*
unaffected from 5.18.4 up to and including 5.18.*
unaffected 5.19 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-49344 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-49344

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2022-49344
trivy image --scanners vuln IMAGE | grep CVE-2022-49344

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2022-49344 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.