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-2024-26640

published high CVSS 3.1 · 7.8

tcp: add sanity checks to rx zerocopy

Published
18 Mar 2024, 10:19:07 UTC
Updated
05 Aug 2026, 11:26:27 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux93ab6cc69162775201587cc9da00d5016dc890e2 to < f48bf9a83b1666d934247cb58a9887d7b3127b6f · 93ab6cc69162775201587cc9da00d5016dc890e2 to < 718f446e60316bf606946f7f42367d691d21541e · 93ab6cc69162775201587cc9da00d5016dc890e2 to < b383d4ea272fe5795877506dcce5aad1f6330e5e · 93ab6cc69162775201587cc9da00d5016dc890e2 to < d15cc0f66884ef2bed28c7ccbb11c102aa3a0760 · 93ab6cc69162775201587cc9da00d5016dc890e2 to < 1b8adcc0e2c584fec778add7777fe28e20781e60 · 93ab6cc69162775201587cc9da00d5016dc890e2 to < 577e4432f3ac810049cb7e6b71f4d96ec7c6e894 · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.18 (affected) · 0 to < 4.18 (unaffected · semver) · 5.10.210 through 5.10.* (unaffected · semver) · 5.15.149 through 5.15.* (unaffected · semver) · 6.1.77 through 6.1.* (unaffected · semver) · 6.6.16 through 6.6.* (unaffected · semver) · 6.7.4 through 6.7.* (unaffected · semver) · 6.8 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected; No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2024-053 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2024-039 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2024-517 Fixed Not stated Amazon Linux assessment
AlmaLinux 8 bpftool Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
Debian bullseye linux Advisory build 5.10.216-1 DSA-5681-1
Show 98 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 8 kernel Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-abi-stablelists Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-core Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-cross-headers Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-debug Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-debug-core Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-debug-devel Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-debug-modules Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-debug-modules-extra Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-devel Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-doc Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-headers Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-modules Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-modules-extra Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-rt Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-core Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-debug Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-debug-core Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-debug-devel Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-debug-kvm Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-debug-modules Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-debug-modules-extra Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-devel Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-kvm Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-modules Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-rt-modules-extra Advisory build 4.18.0-553.16.1.rt7.357.el8_10 ALSA-2024:5102
AlmaLinux 8 kernel-tools Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-tools-libs Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-tools-libs-devel Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-zfcpdump Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-zfcpdump-core Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-zfcpdump-devel Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-zfcpdump-modules Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 kernel-zfcpdump-modules-extra Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 perf Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 8 python3-perf Advisory build 4.18.0-553.16.1.el8_10 ALSA-2024:5101
AlmaLinux 9 bpftool Advisory build 7.3.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-64k Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-64k-core Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-64k-debug Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-64k-debug-core Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-64k-debug-devel Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-64k-debug-devel-matched Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-64k-debug-modules Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-64k-debug-modules-core Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-64k-debug-modules-extra Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-64k-devel Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-64k-devel-matched Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-64k-modules Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-64k-modules-core Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-64k-modules-extra Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-abi-stablelists Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-core Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-cross-headers Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-debug Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-debug-core Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-debug-devel Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-debug-devel-matched Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-debug-modules Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-debug-modules-core Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-debug-modules-extra Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-debug-uki-virt Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-devel Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-devel-matched Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-doc Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-headers Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-modules Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-modules-core Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-modules-extra Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-rt Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-rt-core Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-rt-debug Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-rt-debug-core Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-rt-debug-devel Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-rt-debug-modules Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-rt-debug-modules-core Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-rt-debug-modules-extra Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-rt-devel Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-rt-modules Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-rt-modules-core Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-rt-modules-extra Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-tools Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-tools-libs Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-tools-libs-devel Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-uki-virt Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-zfcpdump Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-zfcpdump-core Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-zfcpdump-devel Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-zfcpdump-devel-matched Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-zfcpdump-modules Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-zfcpdump-modules-core Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 kernel-zfcpdump-modules-extra Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 libperf Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 perf Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 python3-perf Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 rtla Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617
AlmaLinux 9 rv Advisory build 5.14.0-427.42.1.el9_4 ALSA-2024:8617

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

Description

In the Linux kernel, the following vulnerability has been resolved: tcp: add sanity checks to rx zerocopy TCP rx zerocopy intent is to map pages initially allocated from NIC drivers, not pages owned by a fs. This patch adds to can_map_frag() these additional checks: - Page must not be a compound one. - page->mapping must be NULL. This fixes the panic reported by ZhangPeng. syzbot was able to loopback packets built with sendfile(), mapping pages owned by an ext4 file to TCP rx zerocopy. r3 = socket$inet_tcp(0x2, 0x1, 0x0) mmap(&(0x7f0000ff9000/0x4000)=nil, 0x4000, 0x0, 0x12, r3, 0x0) r4 = socket$inet_tcp(0x2, 0x1, 0x0) bind$inet(r4, &(0x7f0000000000)={0x2, 0x4e24, @multicast1}, 0x10) connect$inet(r4, &(0x7f00000006c0)={0x2, 0x4e24, @empty}, 0x10) r5 = openat$dir(0xffffffffffffff9c, &(0x7f00000000c0)='./file0\x00', 0x181e42, 0x0) fallocate(r5, 0x0, 0x0, 0x85b8) sendfile(r4, r5, 0x0, 0x8ba0) getsockopt$inet_tcp_TCP_ZEROCOPY_RECEIVE(r4, 0x6, 0x23, &(0x7f00000001c0)={&(0x7f0000ffb000/0x3000)=nil, 0x3000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, &(0x7f0000000440)=0x40) r6 = openat$dir(0xffffffffffffff9c, &(0x7f00000000c0)='./file0\x00', 0x181e42, 0x0)

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

61

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 - Triggering requires local syscalls on the attacker's own process — mmap() of a TCP socket, sendfile() of a page-cache-backed file over loopback, and getsockopt(TCP_ZEROCOPY_RECEIVE). A purely remote peer cannot supply page-cache or compound pages into the receive frags, since those come from the local NIC/page_pool allocator. AC:L - The syzbot reproducer is fully deterministic with no race window and no dependence on memory layout: sendfile() guarantees PAGE_SIZE frags at offset 0 pointing at ext4 page-cache pages, and loopback delivers them unchanged to the same socket's receive queue. Follow-on inode eviction is likewise triggered on demand by the attacker via O_TRUNC/unlink+close. PR:L - Every step is available to an ordinary unprivileged user — tcp_mmap() performs no capability check, TCP_ZEROCOPY_RECEIVE is unconditionally compiled in under CONFIG_MMU, and sendfile() on a file the user owns needs no privilege. No CAP_NET_ADMIN or namespace trickery is required at all. UI:N - A single unprivileged process performs the entire sequence against itself via a loopback self-connect; no victim process must be running, and no administrator or user action is needed. S:U - The corruption is confined to the kernel's own page-cache/rmap accounting and the attacking process's address space, managed by the same security authority. There is no crossing of a VM, IOMMU, or sandbox boundary. C:H - Because the page is mapped outside the inode's i_mmap tree, filemap_unaccount_folio()'s recovery path resets mapcount and subtracts the PTE's reference, letting the page be freed and reallocated while the attacker retains a valid read-only PTE to it — an arbitrary-read window into whatever kernel data (slab objects, page tables, other processes' pages) subsequently occupies that physical page. I:H - The dropped reference plus the later munmap-time page_remove_rmap()/put_page() drives _mapcount and the page refcount negative, producing a double-free of a buddy-allocator page that can be handed out twice and used as a write primitive into kernel-owned memory. The mismatched rmap/_nr_pages_mapped accounting for compound folios corrupts kernel state directly. A:H - This is exactly the reported crash — truncating the file makes filemap_unaccount_folio() hit VM_BUG_ON_FOLIO(folio_mapped(folio)) and panic the kernel; on non-DEBUG_VM builds it produces "BUG: Bad page cache"/bad-page-state taints and freelist corruption that destabilizes the whole system.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 93ab6cc69162775201587cc9da00d5016dc890e2 to < f48bf9a83b1666d934247cb58a9887d7b3127b6f (affected · git)93ab6cc69162775201587cc9da00d5016dc890e2 to < 718f446e60316bf606946f7f42367d691d21541e (affected · git)93ab6cc69162775201587cc9da00d5016dc890e2 to < b383d4ea272fe5795877506dcce5aad1f6330e5e (affected · git)93ab6cc69162775201587cc9da00d5016dc890e2 to < d15cc0f66884ef2bed28c7ccbb11c102aa3a0760 (affected · git)93ab6cc69162775201587cc9da00d5016dc890e2 to < 1b8adcc0e2c584fec778add7777fe28e20781e60 (affected · git)93ab6cc69162775201587cc9da00d5016dc890e2 to < 577e4432f3ac810049cb7e6b71f4d96ec7c6e894 (affected · git)Default: unaffected Linux · cna
Linux Linux 4.18 (affected)0 to < 4.18 (unaffected · semver)5.10.210 through 5.10.* (unaffected · semver)5.15.149 through 5.15.* (unaffected · semver)6.1.77 through 6.1.* (unaffected · semver)6.6.16 through 6.6.* (unaffected · semver)6.7.4 through 6.7.* (unaffected · semver)6.8 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

7

Provider assertions

3

Linux · cna

tcp: add sanity checks to rx zerocopy

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
1cc1fc8c7be53b3888926d8e4200ee3edf9707849c1d0b2d4ab02de7d37eb633
Ingested
23 Sep 2026, 08:20:34 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