CVE-2026-74714

bpf: tcp: Fix use-after-free in bpf_iter_tcp_established_batch()

CVE-2026-74714 is fixed in 92 products on 1 platform, first by DEBIAN-CVE-2026-74714, released August 27, 2026. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
7.8
Moderate
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0013
2nd percentile

In the Linux kernel, the following vulnerability has been resolved: bpf: tcp: Fix use-after-free in bpf_iter_tcp_established_batch() reqsk_queue_hash_req() publishes a TCP_NEW_SYN_RECV request_sock onto the ehash chain, drops the bucket lock, and only afterwards sets rsk_refcnt to 3. Lockless readers such as __inet_lookup_established() handle this with refcount_inc_not_zero(), but bpf_iter_tcp_established_batch() uses plain sock_hold() while holding the bucket lock, on the assumption that the lock guarantees sk_refcnt > 0. That assumption does not hold for request_sock: CPU 0 CPU 1 ----- ----- tcp_conn_request() reqsk_queue_hash_req() inet_ehash_insert(req) spin_lock(bucket) __sk_nulls_add_node_rcu(req) // rsk_refcnt == 0 spin_unlock(bucket) bpf_iter_tcp_established_batch() spin_lock(bucket) sock_hold(req) <-- addition on 0 spin_unlock(bucket) refcount_set(&req->rsk_refcnt, 3) // clobbers saturated value which surfaces as: refcount_t: addition on 0; use-after-free. WARNING: lib/refcount.c:25 at refcount_warn_saturate+0x48/0x90, CPU#1 Call Trace: bpf_iter_tcp_established_batch+0x14e/0x170 bpf_iter_tcp_batch+0x53/0x200 bpf_iter_tcp_seq_next+0x27/0x70 bpf_seq_read+0x107/0x410 vfs_read+0xb9/0x380 The iterator's stolen reference is lost when the publishing CPU's refcount_set() overwrites the count, leaving the socket one reference short. When the last legitimate owner drops its reference the reqsk is freed while still reachable, leading to use-after-free. This reproduces in seconds with tcp_syncookies=0, a handful of threads doing connect()/close() to a local listener while others read an iter/tcp link in a tight loop. Use refcount_inc_not_zero() and skip the socket on failure. A skipped socket is still part of the bucket, so keep counting it in expected. The reallocations are sized from expected, and a request sock whose refcount gets published while the lock is held across the last realloc must already have room. A skipped socket is counted in expected but never batched, so end_sk can be short of expected on a batch that is actually complete. Decide completeness by whether the walk left any socket behind instead. The WARN after the locked realloc checks the same, replacing an end_sk == expected check that could not hold on that path since commit cdec67a489d4 ("bpf: tcp: Make sure iter->batch always contains a full bucket snapshot"). If every matching socket in a bucket is mid-init (refcount 0), end_sk stays 0. Advance to the next bucket rather than returning a batch entry that was never filled this round.

Where it's fixed

ProductFixed inFixReleased
Linux
bpftool · amzn 2023 1:6.1.186-228.374.amzn2023 ALAS2023-2026-2143 Sep 14, 2026
bpftool-debuginfo · amzn 2023 1:6.1.186-228.374.amzn2023 ALAS2023-2026-2143 Sep 14, 2026
bpftool6.12 · amzn 2023 1:6.12.110-135.201.amzn2023 ALAS2023-2026-3196 Nov 7, 2026
bpftool6.12-debuginfo · amzn 2023 1:6.12.110-135.201.amzn2023 ALAS2023-2026-3196 Nov 7, 2026
bpftool6.18 · amzn 2023 1:6.18.48-107.148.amzn2023 ALAS2023-2026-3139 Sep 28, 2026
bpftool6.18-debuginfo · amzn 2023 1:6.18.48-107.148.amzn2023 ALAS2023-2026-3139 Sep 28, 2026
kernel · amzn 2023 1:6.1.186-228.374.amzn2023 ALAS2023-2026-2143 Sep 14, 2026
kernel-debuginfo · amzn 2023 1:6.1.186-228.374.amzn2023 ALAS2023-2026-2143 Sep 14, 2026
kernel-debuginfo-common-aarch64 · amzn 2023 1:6.1.186-228.374.amzn2023 ALAS2023-2026-2143 Sep 14, 2026
kernel-debuginfo-common-x86_64 · amzn 2023 1:6.1.186-228.374.amzn2023 ALAS2023-2026-2143 Sep 14, 2026
kernel-devel · amzn 2023 1:6.1.186-228.374.amzn2023 ALAS2023-2026-2143 Sep 14, 2026
kernel-headers · amzn 2023 1:6.1.186-228.374.amzn2023 ALAS2023-2026-2143 Sep 14, 2026
kernel-livepatch-6.1.186-228.374 · amzn 2023 1:1.0-0.amzn2023 ALAS2023-2026-2143 Sep 14, 2026
kernel-livepatch-6.12.110-135.201 · amzn 2023 1:1.0-0.amzn2023 ALAS2023-2026-3196 Nov 7, 2026
kernel-livepatch-6.18.48-107.148 · amzn 2023 1:1.0-0.amzn2023 ALAS2023-2026-3139 Sep 28, 2026
kernel-modules-extra · amzn 2023 1:6.1.186-228.374.amzn2023 ALAS2023-2026-2143 Sep 14, 2026
kernel-modules-extra-common · amzn 2023 1:6.1.186-228.374.amzn2023 ALAS2023-2026-2143 Sep 14, 2026
kernel-tools · amzn 2023 1:6.1.186-228.374.amzn2023 ALAS2023-2026-2143 Sep 14, 2026
kernel-tools-debuginfo · amzn 2023 1:6.1.186-228.374.amzn2023 ALAS2023-2026-2143 Sep 14, 2026
kernel-tools-devel · amzn 2023 1:6.1.186-228.374.amzn2023 ALAS2023-2026-2143 Sep 14, 2026
kernel-uek · ol 10 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek · ol 9 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek-core · ol 10 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek-core · ol 9 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek-debug · ol 10 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek-debug · ol 9 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek-debug-core · ol 10 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek-debug-core · ol 9 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek-debug-devel · ol 10 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek-debug-devel · ol 9 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek-debug-modules · ol 10 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek-debug-modules · ol 9 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek-debug-modules-core · ol 10 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek-debug-modules-core · ol 9 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek-debug-modules-deprecated · ol 10 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek-debug-modules-deprecated · ol 9 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek-debug-modules-desktop · ol 10 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek-debug-modules-desktop · ol 9 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek-debug-modules-extra · ol 10 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek-debug-modules-extra · ol 9 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek-debug-modules-extra-netfilter · ol 10 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek-debug-modules-extra-netfilter · ol 9 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek-debug-modules-usb · ol 10 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek-debug-modules-usb · ol 9 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek-debug-modules-wireless · ol 10 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek-debug-modules-wireless · ol 9 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek-devel · ol 10 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek-devel · ol 9 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek-doc · ol 10 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek-doc · ol 9 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek-modules · ol 10 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek-modules · ol 9 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek-modules-core · ol 10 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek-modules-core · ol 9 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek-modules-deprecated · ol 10 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek-modules-deprecated · ol 9 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek-modules-desktop · ol 10 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek-modules-desktop · ol 9 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek-modules-extra · ol 10 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek-modules-extra · ol 9 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek-modules-extra-netfilter · ol 10 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek-modules-extra-netfilter · ol 9 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek-modules-usb · ol 10 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek-modules-usb · ol 9 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek-modules-wireless · ol 10 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek-modules-wireless · ol 9 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek-tools · ol 10 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek-tools · ol 9 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek64k · ol 10 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek64k · ol 9 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek64k-core · ol 10 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek64k-core · ol 9 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek64k-devel · ol 10 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek64k-devel · ol 9 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek64k-modules · ol 10 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek64k-modules · ol 9 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek64k-modules-core · ol 10 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek64k-modules-core · ol 9 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek64k-modules-deprecated · ol 10 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek64k-modules-deprecated · ol 9 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek64k-modules-desktop · ol 10 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek64k-modules-desktop · ol 9 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek64k-modules-extra · ol 10 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek64k-modules-extra · ol 9 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek64k-modules-extra-netfilter · ol 10 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek64k-modules-extra-netfilter · ol 9 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek64k-modules-usb · ol 10 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek64k-modules-usb · ol 9 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek64k-modules-wireless · ol 10 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel-uek64k-modules-wireless · ol 9 0:6.12.0-206.104.3.3.el9uek ELSA-2026-500248 Sep 4, 2026
kernel6.12 · amzn 2023 1:6.12.110-135.201.amzn2023 ALAS2023-2026-3196 Nov 7, 2026
kernel6.12-debuginfo · amzn 2023 1:6.12.110-135.201.amzn2023 ALAS2023-2026-3196 Nov 7, 2026
kernel6.12-debuginfo-common-aarch64 · amzn 2023 1:6.12.110-135.201.amzn2023 ALAS2023-2026-3196 Nov 7, 2026
kernel6.12-debuginfo-common-x86_64 · amzn 2023 1:6.12.110-135.201.amzn2023 ALAS2023-2026-3196 Nov 7, 2026
kernel6.12-devel · amzn 2023 1:6.12.110-135.201.amzn2023 ALAS2023-2026-3196 Nov 7, 2026
kernel6.12-headers · amzn 2023 1:6.12.110-135.201.amzn2023 ALAS2023-2026-3196 Nov 7, 2026
kernel6.12-modules-extra · amzn 2023 1:6.12.110-135.201.amzn2023 ALAS2023-2026-3196 Nov 7, 2026
kernel6.12-modules-extra-common · amzn 2023 1:6.12.110-135.201.amzn2023 ALAS2023-2026-3196 Nov 7, 2026
kernel6.12-tools · amzn 2023 1:6.12.110-135.201.amzn2023 ALAS2023-2026-3196 Nov 7, 2026
kernel6.12-tools-debuginfo · amzn 2023 1:6.12.110-135.201.amzn2023 ALAS2023-2026-3196 Nov 7, 2026
kernel6.12-tools-devel · amzn 2023 1:6.12.110-135.201.amzn2023 ALAS2023-2026-3196 Nov 7, 2026
kernel6.18 · amzn 2023 1:6.18.48-107.148.amzn2023 ALAS2023-2026-3139 Sep 28, 2026
kernel6.18-debuginfo · amzn 2023 1:6.18.48-107.148.amzn2023 ALAS2023-2026-3139 Sep 28, 2026
kernel6.18-debuginfo-common-aarch64 · amzn 2023 1:6.18.48-107.148.amzn2023 ALAS2023-2026-3139 Sep 28, 2026
kernel6.18-debuginfo-common-x86_64 · amzn 2023 1:6.18.48-107.148.amzn2023 ALAS2023-2026-3139 Sep 28, 2026
kernel6.18-devel · amzn 2023 1:6.18.48-107.148.amzn2023 ALAS2023-2026-3139 Sep 28, 2026
kernel6.18-headers · amzn 2023 1:6.18.48-107.148.amzn2023 ALAS2023-2026-3139 Sep 28, 2026
kernel6.18-modules-extra · amzn 2023 1:6.18.48-107.148.amzn2023 ALAS2023-2026-3139 Sep 28, 2026
kernel6.18-modules-extra-common · amzn 2023 1:6.18.48-107.148.amzn2023 ALAS2023-2026-3139 Sep 28, 2026
kernel6.18-tools · amzn 2023 1:6.18.48-107.148.amzn2023 ALAS2023-2026-3139 Sep 28, 2026
kernel6.18-tools-debuginfo · amzn 2023 1:6.18.48-107.148.amzn2023 ALAS2023-2026-3139 Sep 28, 2026
kernel6.18-tools-devel · amzn 2023 1:6.18.48-107.148.amzn2023 ALAS2023-2026-3139 Sep 28, 2026
linux · Debian 12.15 (bookworm) 6.1.187-1 DEBIAN-CVE-2026-74714 Aug 27, 2026
linux · Debian 13.5 (trixie) 6.12.105-1 DEBIAN-CVE-2026-74714 Aug 27, 2026
linux · Debian 14 7.1.9-1 DEBIAN-CVE-2026-74714 Aug 27, 2026
linux-6.12 · Debian 12.15 (bookworm) 6.12.107-1~deb12u1 DEBIAN-CVE-2026-74714 Aug 27, 2026
microvm-kernel6.18 · amzn 2023 1:6.18.48-107.148.amzn2023 ALAS2023-2026-3139 Sep 28, 2026
perf · amzn 2023 1:6.1.186-228.374.amzn2023 ALAS2023-2026-2143 Sep 14, 2026
perf-debuginfo · amzn 2023 1:6.1.186-228.374.amzn2023 ALAS2023-2026-2143 Sep 14, 2026
perf6.12 · amzn 2023 1:6.12.110-135.201.amzn2023 ALAS2023-2026-3196 Nov 7, 2026
perf6.12-debuginfo · amzn 2023 1:6.12.110-135.201.amzn2023 ALAS2023-2026-3196 Nov 7, 2026
perf6.18 · amzn 2023 1:6.18.48-107.148.amzn2023 ALAS2023-2026-3139 Sep 28, 2026
perf6.18-debuginfo · amzn 2023 1:6.18.48-107.148.amzn2023 ALAS2023-2026-3139 Sep 28, 2026
python3-perf · amzn 2023 1:6.1.186-228.374.amzn2023 ALAS2023-2026-2143 Sep 14, 2026
python3-perf-debuginfo · amzn 2023 1:6.1.186-228.374.amzn2023 ALAS2023-2026-2143 Sep 14, 2026
python3-perf6.12 · amzn 2023 1:6.12.110-135.201.amzn2023 ALAS2023-2026-3196 Nov 7, 2026
python3-perf6.12-debuginfo · amzn 2023 1:6.12.110-135.201.amzn2023 ALAS2023-2026-3196 Nov 7, 2026
python3-perf6.18 · amzn 2023 1:6.18.48-107.148.amzn2023 ALAS2023-2026-3139 Sep 28, 2026
python3-perf6.18-debuginfo · amzn 2023 1:6.18.48-107.148.amzn2023 ALAS2023-2026-3139 Sep 28, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.