Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-49814

published high CVSS 3.1 · 7.8

kcm: close race conditions on sk_receive_queue

Published
01 May 2025, 14:09:38 UTC
Updated
05 Aug 2026, 08:56:23 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxab7ac4eb9832e32a09f4e8042705484d2fb0aad3 to < 22f6b5d47396b4287662668ee3f5c1f766cb4259 · ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 to < d9ad4de92e184b19bcae4da10dac0275abf83931 · ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 to < ce57d6474ae999a3b2d442314087473a646a65c7 · ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 to < 4154b6afa2bd639214ff259d912faad984f7413a · ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 to < f7b0e95071bb4be4b811af3f0bfc3e200eedeaa3 · ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 to < bf92e54597d842da127c59833b365d6faeeaf020 · ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 to < 5121197ecc5db58c07da95eb1ff82b98b121a221 · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.6 (affected) · 0 to < 4.6 (unaffected · semver) · 4.14.300 through 4.14.* (unaffected · semver) · 4.19.267 through 4.19.* (unaffected · semver) · 5.4.225 through 5.4.* (unaffected · semver) · 5.10.156 through 5.10.* (unaffected · semver) · 5.15.80 through 5.15.* (unaffected · semver) · 6.0.10 through 6.0.* (unaffected · semver) · 6.1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluationALAS2-2022-1903 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2022-024 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2023-012 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.4-2024-071 Fixed Not stated Amazon Linux assessment
SUSE / openSUSE SLE-12-SP5 cluster-md-kmp-defaultaarch64 Advisory build 4.12.14-122.266.1 SUSE-SU-2025:02334-1
Amazon Linux AL2 kernelaarch64 Listed in advisory Not stated ALAS2-2022-1903
Show 60 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
SUSE / openSUSE SLE-12-SP5 cluster-md-kmp-defaultppc64le Advisory build 4.12.14-122.266.1 SUSE-SU-2025:02334-1
SUSE / openSUSE SLE-12-SP5 cluster-md-kmp-defaults390x Advisory build 4.12.14-122.266.1 SUSE-SU-2025:02334-1
SUSE / openSUSE SLE-12-SP5 cluster-md-kmp-defaultx86_64 Advisory build 4.12.14-122.266.1 SUSE-SU-2025:02334-1
SUSE / openSUSE SLE-12-SP5 dlm-kmp-defaultaarch64 Advisory build 4.12.14-122.266.1 SUSE-SU-2025:02334-1
SUSE / openSUSE SLE-12-SP5 dlm-kmp-defaultppc64le Advisory build 4.12.14-122.266.1 SUSE-SU-2025:02334-1
SUSE / openSUSE SLE-12-SP5 dlm-kmp-defaults390x Advisory build 4.12.14-122.266.1 SUSE-SU-2025:02334-1
SUSE / openSUSE SLE-12-SP5 dlm-kmp-defaultx86_64 Advisory build 4.12.14-122.266.1 SUSE-SU-2025:02334-1
SUSE / openSUSE SLE-12-SP5 gfs2-kmp-defaultaarch64 Advisory build 4.12.14-122.266.1 SUSE-SU-2025:02334-1
SUSE / openSUSE SLE-12-SP5 gfs2-kmp-defaultppc64le Advisory build 4.12.14-122.266.1 SUSE-SU-2025:02334-1
SUSE / openSUSE SLE-12-SP5 gfs2-kmp-defaults390x Advisory build 4.12.14-122.266.1 SUSE-SU-2025:02334-1
SUSE / openSUSE SLE-12-SP5 gfs2-kmp-defaultx86_64 Advisory build 4.12.14-122.266.1 SUSE-SU-2025:02334-1
SUSE / openSUSE SLE-12-SP5 kernel-defaultaarch64 Advisory build 4.12.14-122.266.1 SUSE-SU-2025:02334-1
SUSE / openSUSE SLE-12-SP5 kernel-defaultppc64le Advisory build 4.12.14-122.266.1 SUSE-SU-2025:02334-1
SUSE / openSUSE SLE-12-SP5 kernel-defaults390x Advisory build 4.12.14-122.266.1 SUSE-SU-2025:02334-1
SUSE / openSUSE SLE-12-SP5 kernel-defaultx86_64 Advisory build 4.12.14-122.266.1 SUSE-SU-2025:02334-1
SUSE / openSUSE SLE-12-SP5 kernel-default-baseaarch64 Advisory build 4.12.14-122.266.1 SUSE-SU-2025:02334-1
SUSE / openSUSE SLE-12-SP5 kernel-default-baseppc64le Advisory build 4.12.14-122.266.1 SUSE-SU-2025:02334-1
SUSE / openSUSE SLE-12-SP5 kernel-default-bases390x Advisory build 4.12.14-122.266.1 SUSE-SU-2025:02334-1
SUSE / openSUSE SLE-12-SP5 kernel-default-basex86_64 Advisory build 4.12.14-122.266.1 SUSE-SU-2025:02334-1
SUSE / openSUSE SLE-12-SP5 kernel-default-develaarch64 Advisory build 4.12.14-122.266.1 SUSE-SU-2025:02334-1
SUSE / openSUSE SLE-12-SP5 kernel-default-develppc64le Advisory build 4.12.14-122.266.1 SUSE-SU-2025:02334-1
SUSE / openSUSE SLE-12-SP5 kernel-default-devels390x Advisory build 4.12.14-122.266.1 SUSE-SU-2025:02334-1
SUSE / openSUSE SLE-12-SP5 kernel-default-develx86_64 Advisory build 4.12.14-122.266.1 SUSE-SU-2025:02334-1
SUSE / openSUSE SLE-12-SP5 kernel-default-kgraftppc64le Advisory build 4.12.14-122.266.1 SUSE-SU-2025:02334-1
SUSE / openSUSE SLE-12-SP5 kernel-default-kgrafts390x Advisory build 4.12.14-122.266.1 SUSE-SU-2025:02334-1
SUSE / openSUSE SLE-12-SP5 kernel-default-kgraftx86_64 Advisory build 4.12.14-122.266.1 SUSE-SU-2025:02334-1
SUSE / openSUSE SLE-12-SP5 kernel-default-kgraft-develppc64le Advisory build 4.12.14-122.266.1 SUSE-SU-2025:02334-1
SUSE / openSUSE SLE-12-SP5 kernel-default-kgraft-devels390x Advisory build 4.12.14-122.266.1 SUSE-SU-2025:02334-1
SUSE / openSUSE SLE-12-SP5 kernel-default-kgraft-develx86_64 Advisory build 4.12.14-122.266.1 SUSE-SU-2025:02334-1
SUSE / openSUSE SLE-12-SP5 kernel-default-mans390x Advisory build 4.12.14-122.266.1 SUSE-SU-2025:02334-1
SUSE / openSUSE SLE-12-SP5 kernel-develnoarch Advisory build 4.12.14-122.266.1 SUSE-SU-2025:02334-1
SUSE / openSUSE SLE-12-SP5 kernel-macrosnoarch Advisory build 4.12.14-122.266.1 SUSE-SU-2025:02334-1
SUSE / openSUSE SLE-12-SP5 kernel-sourcenoarch Advisory build 4.12.14-122.266.1 SUSE-SU-2025:02334-1
SUSE / openSUSE SLE-12-SP5 kernel-symsaarch64 Advisory build 4.12.14-122.266.1 SUSE-SU-2025:02334-1
SUSE / openSUSE SLE-12-SP5 kernel-symsppc64le Advisory build 4.12.14-122.266.1 SUSE-SU-2025:02334-1
SUSE / openSUSE SLE-12-SP5 kernel-symss390x Advisory build 4.12.14-122.266.1 SUSE-SU-2025:02334-1
SUSE / openSUSE SLE-12-SP5 kernel-symsx86_64 Advisory build 4.12.14-122.266.1 SUSE-SU-2025:02334-1
SUSE / openSUSE SLE-12-SP5 kgraft-patch-4_12_14-122_266-defaultppc64le Advisory build 1-8.5.1 SUSE-SU-2025:02334-1
SUSE / openSUSE SLE-12-SP5 kgraft-patch-4_12_14-122_266-defaults390x Advisory build 1-8.5.1 SUSE-SU-2025:02334-1
SUSE / openSUSE SLE-12-SP5 kgraft-patch-4_12_14-122_266-defaultx86_64 Advisory build 1-8.5.1 SUSE-SU-2025:02334-1
SUSE / openSUSE SLE-12-SP5 ocfs2-kmp-defaultaarch64 Advisory build 4.12.14-122.266.1 SUSE-SU-2025:02334-1
SUSE / openSUSE SLE-12-SP5 ocfs2-kmp-defaultppc64le Advisory build 4.12.14-122.266.1 SUSE-SU-2025:02334-1
SUSE / openSUSE SLE-12-SP5 ocfs2-kmp-defaults390x Advisory build 4.12.14-122.266.1 SUSE-SU-2025:02334-1
SUSE / openSUSE SLE-12-SP5 ocfs2-kmp-defaultx86_64 Advisory build 4.12.14-122.266.1 SUSE-SU-2025:02334-1
Amazon Linux AL2 kernelaarch64 Listed in advisory Not stated ALAS2KERNEL-5.10-2022-024
Amazon Linux AL2 kernelaarch64 Listed in advisory Not stated ALAS2KERNEL-5.15-2023-012
Amazon Linux AL2 kernelaarch64 Listed in advisory Not stated ALAS2KERNEL-5.4-2024-071
Amazon Linux AL2 kerneli686 Listed in advisory Not stated ALAS2-2022-1903
Amazon Linux AL2 kerneli686 Listed in advisory Not stated ALAS2KERNEL-5.10-2022-024
Amazon Linux AL2 kerneli686 Listed in advisory Not stated ALAS2KERNEL-5.15-2023-012
Amazon Linux AL2 kerneli686 Listed in advisory Not stated ALAS2KERNEL-5.4-2024-071
Amazon Linux AL2 kernelsrc Listed in advisory Not stated ALAS2-2022-1903
Amazon Linux AL2 kernelsrc Listed in advisory Not stated ALAS2KERNEL-5.10-2022-024
Amazon Linux AL2 kernelsrc Listed in advisory Not stated ALAS2KERNEL-5.15-2023-012
Amazon Linux AL2 kernelsrc Listed in advisory Not stated ALAS2KERNEL-5.4-2024-071
Amazon Linux AL2 kernelx86_64 Listed in advisory Not stated ALAS2-2022-1903
Amazon Linux AL2 kernelx86_64 Listed in advisory Not stated ALAS2KERNEL-5.10-2022-024
Amazon Linux AL2 kernelx86_64 Listed in advisory Not stated ALAS2KERNEL-5.15-2023-012
Amazon Linux AL2 kernelx86_64 Listed in advisory Not stated ALAS2KERNEL-5.4-2024-071

Description

In the Linux kernel, the following vulnerability has been resolved: kcm: close race conditions on sk_receive_queue sk->sk_receive_queue is protected by skb queue lock, but for KCM sockets its RX path takes mux->rx_lock to protect more than just skb queue. However, kcm_recvmsg() still only grabs the skb queue lock, so race conditions still exist. We can teach kcm_recvmsg() to grab mux->rx_lock too but this would introduce a potential performance regression as struct kcm_mux can be shared by multiple KCM sockets. So we have to enforce skb queue lock in requeue_rx_msgs() and handle skb peek case carefully in kcm_wait_data(). Fortunately, skb_recv_datagram() already handles it nicely and is widely used by other sockets, we can just switch to skb_recv_datagram() after getting rid of the unnecessary sock lock in kcm_recvmsg() and kcm_splice_read(). Side note: SOCK_DONE is not used by KCM sockets, so it is safe to get rid of this check too. I ran the original syzbot reproducer for 30 min without seeing any issue.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

5

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The race is triggered only via local AF_KCM syscalls (socket, SIOCKCMATTACH/CLONE, setsockopt KCM_RECV_DISABLE/close, and recvmsg/recvmmsg); remote TCP data may fill the queue but cannot alone exercise the unlocked requeue versus recvmsg window. AC:L - The attacker controls both sides of the race—one thread in kcm_recvmsg while another drives requeue_rx_msgs via KCM_RECV_DISABLE, close/kcm_done, or mux RX paths on sockets they created—and can retry indefinitely; syzbot reproduced a GPF in skb_unlink with a C repro. PR:L - net/kcm/ has no capable()/CAP_NET_ADMIN checks; AF_KCM autoloads via MODULE_ALIAS_NETPROTO(PF_KCM), and an unprivileged user can create KCM sockets, attach their own TCP socket with a SOCKET_FILTER, and trigger the race (same PR:L posture as CVE-2025-38717). UI:N - The attacker performs socket setup, attach/clone, concurrent recvmsg and disable/close entirely themselves; no victim action is required. S:U - This is a standard in-kernel sk_buff heap use-after-free within the host kernel authority and does not cross a VM, IOMMU, or sandbox boundary. C:H - The race leaves recvmsg holding a pointer to an sk_buff already dequeued/freed by requeue_rx_msgs, a reclaimable heap UAF that enables arbitrary kernel read via spray/reuse of the freed skb. I:H - Concurrent unlocked unlink/dequeue corrupts the receive-queue list and can double-free the skb, giving a heap write/control-flow primitive consistent with treating exploitable kernel UAFs as High integrity. A:H - Even without full exploitation, the bug causes a general protection fault/oops in skb_unlink from kcm_recvmsg (as demonstrated by syzbot), which is a full kernel availability impact.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 to < 22f6b5d47396b4287662668ee3f5c1f766cb4259 (affected · git)ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 to < d9ad4de92e184b19bcae4da10dac0275abf83931 (affected · git)ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 to < ce57d6474ae999a3b2d442314087473a646a65c7 (affected · git)ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 to < 4154b6afa2bd639214ff259d912faad984f7413a (affected · git)ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 to < f7b0e95071bb4be4b811af3f0bfc3e200eedeaa3 (affected · git)ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 to < bf92e54597d842da127c59833b365d6faeeaf020 (affected · git)ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 to < 5121197ecc5db58c07da95eb1ff82b98b121a221 (affected · git)Default: unaffected Linux · cna
Linux Linux 4.6 (affected)0 to < 4.6 (unaffected · semver)4.14.300 through 4.14.* (unaffected · semver)4.19.267 through 4.19.* (unaffected · semver)5.4.225 through 5.4.* (unaffected · semver)5.10.156 through 5.10.* (unaffected · semver)5.15.80 through 5.15.* (unaffected · semver)6.0.10 through 6.0.* (unaffected · semver)6.1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

7

Provider assertions

1

Linux · cna

kcm: close race conditions on sk_receive_queue

Provenance

Schema
5.2
Searchable
yes
Content hash
71bab46bddf3d7d11d9767b7e479672aa30158fa4e052cb9c49625d96735b7db
Ingested
23 Sep 2026, 08:04:21 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected