Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-21683

MEDIUM 5.5EPSS 16%

bpf: Fix bpf_sk_select_reuseport() memory leak

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 64d85290d79c0677edb5a8ee2295b36c022fa5df, < bb36838dac7bb334a3f3d7eb29875593ec9473fc; >= 64d85290d79c0677edb5a8ee2295b36c022fa5df, < 0ab52a8ca6e156a64c51b5e7456cac9a0ebfd9bf; >= 64d85290d79c0677edb5a8ee2295b36c022fa5df, < d0a3b3d1176d39218b8edb2a2d03164942ab9ccd; >= 64d85290d79c0677edb5a8ee2295b36c022fa5df, < b02e70be498b138e9c21701c2f33f4018ca7cd5e; >= 64d85290d79c0677edb5a8ee2295b36c022fa5df, < cccd51dd22574216e64e5d205489e634f86999f3; >= 64d85290d79c0677edb5a8ee2295b36c022fa5df, < b3af60928ab9129befa65e6df0310d27300942bf
  • Anyone running Linux 5.8

Vulnerability facts

Affected
Linux >= 64d85290d79c0677edb5a8ee2295b36c022fa5df, < bb36838dac7bb334a3f3d7eb29875593ec9473fc; >= 64d85290d79c0677edb5a8ee2295b36c022fa5df, < 0ab52a8ca6e156a64c51b5e7456cac9a0ebfd9bf; >= 64d85290d79c0677edb5a8ee2295b36c022fa5df, < d0a3b3d1176d39218b8edb2a2d03164942ab9ccd; >= 64d85290d79c0677edb5a8ee2295b36c022fa5df, < b02e70be498b138e9c21701c2f33f4018ca7cd5e; >= 64d85290d79c0677edb5a8ee2295b36c022fa5df, < cccd51dd22574216e64e5d205489e634f86999f3; >= 64d85290d79c0677edb5a8ee2295b36c022fa5df, < b3af60928ab9129befa65e6df0310d27300942bf; Linux 5.8
Fixed in
Linux 0ab52a8ca6e156a64c51b5e7456cac9a0ebfd9bf
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.31% chance of exploitation in 30 days (percentile 16, 2026-11-26)
CWE
CWE-401
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Fix bpf_sk_select_reuseport() memory leak As pointed out in the original comment, lookup in sockmap can return a TCP ESTABLISHED socket. Such TCP socket may have had SO_ATTACH_REUSEPORT_EBPF set before it was ESTABLISHED. In other words, a non-NULL sk_reuseport_cb does not imply a non-refcounted socket. Drop sk's reference in both error paths. unreferenced object 0xffff888101911800 (size 2048): comm "test_progs", pid 44109, jiffies 4297131437 hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 80 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace (crc 9336483b): __kmalloc_noprof+0x3bf/0x560 __reuseport_alloc+0x1d/0x40 reuseport_alloc+0xca/0x150 reuseport_attach_prog+0x87/0x140 sk_reuseport_attach_bpf+0xc8/0x100 sk_setsockopt+0x1181/0x1990 do_sock_setsockopt+0x12b/0x160 __sys_setsockopt+0x7b/0xc0 __x64_sys_setsockopt+0x1b/0x30 do_syscall_64+0x93/0x180 entry_SYSCALL_64_after_hwframe+0x76/0x7e

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 64d85290d79c0677edb5a8ee2295b36c022fa5df, < bb36838dac7bb334a3f3d7eb29875593ec9473fc; >= 64d85290d79c0677edb5a8ee2295b36c022fa5df, < 0ab52a8ca6e156a64c51b5e7456cac9a0ebfd9bf; >= 64d85290d79c0677edb5a8ee2295b36c022fa5df, < d0a3b3d1176d39218b8edb2a2d03164942ab9ccd; >= 64d85290d79c0677edb5a8ee2295b36c022fa5df, < b02e70be498b138e9c21701c2f33f4018ca7cd5e; >= 64d85290d79c0677edb5a8ee2295b36c022fa5df, < cccd51dd22574216e64e5d205489e634f86999f3; >= 64d85290d79c0677edb5a8ee2295b36c022fa5df, < b3af60928ab9129befa65e6df0310d27300942bf—cvelist
Linux5.8—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-21683. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-21683.md
Affected: Linux >= 64d85290d79c0677edb5a8ee2295b36c022fa5df, < bb36838dac7bb334a3f3d7eb29875593ec9473fc; >= 64d85290d79c0677edb5a8ee2295b36c022fa5df, < 0ab52a8ca6e156a64c51b5e7456cac9a0ebfd9bf; >= 64d85290d79c0677edb5a8ee2295b36c022fa5df, < d0a3b3d1176d39218b8edb2a2d03164942ab9ccd; >= 64d85290d79c0677edb5a8e…
Fixed in: Linux 0ab52a8ca6e156a64c51b5e7456cac9a0ebfd9bf

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-21683 being exploited?

There is no confirmed exploitation: CVE-2025-21683 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-21683?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2025-21683?

Linux >= 64d85290d79c0677edb5a8ee2295b36c022fa5df, < bb36838dac7bb334a3f3d7eb29875593ec9473fc; >= 64d85290d79c0677edb5a8ee2295b36c022fa5df, < 0ab52a8ca6e156a64c51b5e7456cac9a0ebfd9bf; >= 64d85290d79c0677edb5a8ee2295b36c022fa5df, < d0a3b3d1176d39218b8edb2a2d03164942ab9ccd; >= 64d85290d79c0677edb5a8ee2295b36c022fa5df, < b02e70be498b138e9c21701c2f33f4018ca7cd5e; >= 64d85290d79c0677edb5a8ee2295b36c022fa5df, < cccd51dd22574216e64e5d205489e634f86999f3; >= 64d85290d79c0677edb5a8ee2295b36c022fa5df, < b3af60928ab9129befa65e6df0310d27300942bf; Linux 5.8.

Is there a fix for CVE-2025-21683?

Yes. Fixed in Linux 0ab52a8ca6e156a64c51b5e7456cac9a0ebfd9bf. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2025-21683?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors