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-49973

published

skmsg: Fix wrong last sg check in sk_msg_recvmsg()

Published
18 Jun 2025, 11:00:36 UTC
Updated
05 Nov 2026, 20:00:12 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux293c53b7dbf9073cbcc488f938bc053ff4caeec0 to < de22cba333d8699ad77e79f862fe1320cb1284de · 1295dae30f30c3daa03005ed8958d44b17f037fd to < 10ee118a1756141f8e9c87aa7344ed12b41630a8 · 9974d37ea75f01b47d16072b5dad305bd8d23fcc to < 583585e48d965338e73e1eb383768d16e0922d73 · 4674c0da448b546e390a981b819cd4af5cb16cf9 · 5.18.18 to < 5.19 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.15.61 to < 5.15.66 · 5.19.2 to < 5.19.8 · Other versions: unaffected Affected Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Red Hat Enterprise Linux RHEL-9 bpftoolaarch64 Advisory build 7.0.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 bpftoolppc64le Advisory build 7.0.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 bpftools390x Advisory build 7.0.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 bpftoolx86_64 Advisory build 7.0.0-284.11.1.el9_2 RHSA-2023:2458
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfoaarch64 Advisory build 7.0.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfoppc64le Advisory build 7.0.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfos390x Advisory build 7.0.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfox86_64 Advisory build 7.0.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernelaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernelppc64le Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernels390x Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernelsrc Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernelx86_64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-64kaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-64k-coreaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-64k-debugaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-coreaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-debuginfoaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-develaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-devel-matchedaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modulesaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modules-coreaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modules-extraaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-64k-debuginfoaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-64k-develaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-64k-devel-matchedaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-64k-modulesaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-64k-modules-coreaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-64k-modules-extraaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-abi-stablelistsnoarch Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-coreaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-coreppc64le Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-cores390x Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-corex86_64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debugaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debugppc64le Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debugs390x Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debugx86_64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-coreaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-coreppc64le Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-cores390x Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-corex86_64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfoaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfoppc64le Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfos390x Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfox86_64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-develaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-develppc64le Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-devels390x Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-develx86_64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedppc64le Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matcheds390x Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedx86_64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesppc64le Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-moduless390x Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesx86_64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-coreaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-coreppc64le Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-cores390x Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-corex86_64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extraaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extrappc64le Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extras390x Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extrax86_64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debug-uki-virtx86_64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debuginfoaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debuginfoppc64le Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debuginfos390x Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debuginfox86_64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-aarch64aarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-ppc64leppc64le Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-s390xs390x Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-x86_64x86_64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-develaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-develppc64le Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-devels390x Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-develx86_64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-devel-matchedaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-devel-matchedppc64le Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-devel-matcheds390x Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-devel-matchedx86_64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-docnoarch Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-modulesaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-modulesppc64le Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-moduless390x Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-modulesx86_64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-modules-coreaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-modules-coreppc64le Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-modules-cores390x Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-modules-corex86_64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-modules-extraaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-modules-extrappc64le Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-modules-extras390x Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-modules-extrax86_64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-toolsaarch64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-toolsppc64le Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-toolss390x Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458
Red Hat Enterprise Linux RHEL-9 kernel-toolsx86_64 Advisory build 5.14.0-284.11.1.el9_2 RHSA-2023:2458

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: skmsg: Fix wrong last sg check in sk_msg_recvmsg() Fix one kernel NULL pointer dereference as below: [ 224.462334] Call Trace: [ 224.462394] __tcp_bpf_recvmsg+0xd3/0x380 [ 224.462441] ? sock_has_perm+0x78/0xa0 [ 224.462463] tcp_bpf_recvmsg+0x12e/0x220 [ 224.462494] inet_recvmsg+0x5b/0xd0 [ 224.462534] __sys_recvfrom+0xc8/0x130 [ 224.462574] ? syscall_trace_enter+0x1df/0x2e0 [ 224.462606] ? __do_page_fault+0x2de/0x500 [ 224.462635] __x64_sys_recvfrom+0x24/0x30 [ 224.462660] do_syscall_64+0x5d/0x1d0 [ 224.462709] entry_SYSCALL_64_after_hwframe+0x65/0xca In commit 9974d37ea75f ("skmsg: Fix invalid last sg check in sk_msg_recvmsg()"), we change last sg check to sg_is_last(), but in sockmap redirection case (without stream_parser/stream_verdict/ skb_verdict), we did not mark the end of the scatterlist. Check the sk_msg_alloc, sk_msg_page_add, and bpf_msg_push_data functions, they all do not mark the end of sg. They are expected to use sg.end for end judgment. So the judgment of '(i != msg_rx->sg.end)' is added back here.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

1

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 293c53b7dbf9073cbcc488f938bc053ff4caeec0 to < de22cba333d8699ad77e79f862fe1320cb1284de (affected · git)1295dae30f30c3daa03005ed8958d44b17f037fd to < 10ee118a1756141f8e9c87aa7344ed12b41630a8 (affected · git)9974d37ea75f01b47d16072b5dad305bd8d23fcc to < 583585e48d965338e73e1eb383768d16e0922d73 (affected · git)4674c0da448b546e390a981b819cd4af5cb16cf9 (affected · git)5.18.18 to < 5.19 (affected · semver)Default: unaffected Linux · cna
Linux Linux 5.15.61 to < 5.15.66 (affected · semver)5.19.2 to < 5.19.8 (affected · semver)Default: unaffected Linux · cna

Weaknesses

0

No weakness assertions.

References

3

Provider assertions

2

Linux · cna

skmsg: Fix wrong last sg check in sk_msg_recvmsg()

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
290aab233f3281ae29978a040d39a256dea29dc13938c18a160aacafd80ba185
Ingested
07 Nov 2026, 23:07:45 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