bpf, sockmap: Fix repeated calls to sock_put() when msg has more_data
In the Linux kernel, the following vulnerability has been resolved: bpf, sockmap: Fix repeated calls to sock_put() when msg has more_data In tcp_bpf_send_verdict() redirection, the eval variable is assigned to __SK_REDIRECT after the apply_bytes data is sent, if msg has more_data, sock_put() will be called multiple times. We should reset the eval variable to __SK_NONE every time more_data starts. This causes: IPv4: Attempt to release TCP socket in state 1 00000000b4c925d7 ------------[ cut here ]------------ refcount_t: addition on 0; use-after-free. WARNING: CPU: 5 PID: 4482 at lib/refcount.c:25 refcount_warn_saturate+0x7d/0x110 Modules linked in: CPU: 5 PID: 4482 Comm: sockhash_bypass Kdump: loaded Not tainted 6.0.0 #1 Hardware name: Red Hat KVM, BIOS 1.11.0-2.el7 04/01/2014 Call Trace: <TASK> __tcp_transmit_skb+0xa1b/0xb90 ? __alloc_skb+0x8c/0x1a0 ? __kmalloc_node_track_caller+0x184/0x320 tcp_write_xmit+0x22a/0x1110 __tcp_push_pending_frames+0x32/0xf0 do_tcp_sendpages+0x62d/0x640 tcp_bpf_push+0xae/0x2c0 tcp_bpf_sendmsg_redir+0x260/0x410 ? preempt_count_add+0x70/0xa0 tcp_bpf_send_verdict+0x386/0x4b0 tcp_bpf_sendmsg+0x21b/0x3b0 sock_sendmsg+0x58/0x70 __sys_sendto+0xfa/0x170 ? xfd_validate_state+0x1d/0x80 ? switch_fpu_return+0x59/0xe0 __x64_sys_sendto+0x24/0x30 do_syscall_64+0x37/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd
- Published
- Oct 7, 2025
- Updated
- Aug 5, 2026
- EPSS
- 0.2% · 6th percentile
- CWE
- CWE-415
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
31
Monitor
Low priority for now.
- CVSS
- 31 / 40 · 7.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.2%
CNA vs NVD score
- NVD
- 7.8
- CNA · Linux
- 7.8
- agree
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpAffected systems
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- linux linux kernel5.4.157 and later · before 5.4.229
- linux linux kernel5.10.77 and later · before 5.10.163
- linux linux kernel5.14.16 and later · before 5.15
- linux linux kernel5.15.1 and later · before 5.15.86
- linux linux kernel5.16 and later · before 6.0.16
- linux linux kernel6.1 and later · before 6.1.2
- linux linux kernel5.15
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 6f226ffe4458ea3b8c33287cb8c86f87dc198dce, 5.15affected
- 5f0bfe21c853917aae4bc5a70fe57ddb4054443e and later · before 7508b9f4daac4ec7dfe0b6fb2d688b1c1c105e10affected · git
- 15dec6d8f8642a26d6a272af2d7f9877df8f02b8 and later · before 28e4a763cd4a2b1a78852216ef4bd7df3a05cec6affected · git
- cd9733f5d75c94a32544d6ce5be47e14194cf137 and later · before 8786bde11a4f31b63b3036731df0b47337a7a245affected · git
- cd9733f5d75c94a32544d6ce5be47e14194cf137 and later · before 578a7628b838a3ac8ad61deaab5a816ff032ac13affected · git
- cd9733f5d75c94a32544d6ce5be47e14194cf137 and later · before 113236e8f49f262f318c00ebb14b15f4834e87c1affected · git
- cd9733f5d75c94a32544d6ce5be47e14194cf137 and later · before 7a9841ca025275b5b0edfb0b618934abb6ceec15affected · git
- 5.4.157 and later · before 5.4.229affected · semver
- 5.10.77 and later · before 5.10.163affected · semver
- 5.14.16 and later · before 5.15affected · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 6.1.4-1 | 6.1.4-1 |
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
- CVE-2016-5195Race condition in mm/gup.c in the Linux kernel 2.x through 4.x before 4.8.3 allows local users to gain privileges by leveraging incorrect haKEV83Now
- CVE-2019-13272In the Linux kernel before 5.1.17, ptrace_link in kernel/ptrace.c mishandles the recording of the credentials of a process that wants to creKEV77This week
- CVE-2013-6282The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the v6k and v7 ARM platforms do not validate certain addKEV77This week
- CVE-2013-2094The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows loKEV77This week
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 113236e8f49f262f318c00ebb14b15f4834e87c1 | Vendor (CNA) |
| Linux Linux | 28e4a763cd4a2b1a78852216ef4bd7df3a05cec6 | Vendor (CNA) |
| Linux Linux | 5.10.163 | Vendor (CNA) |
| Linux Linux | 5.15 | Vendor (CNA) |
| Linux Linux | 5.4.229 | Vendor (CNA) |
| Linux Linux | 578a7628b838a3ac8ad61deaab5a816ff032ac13 | Vendor (CNA) |
| Linux Linux | 7508b9f4daac4ec7dfe0b6fb2d688b1c1c105e10 | Vendor (CNA) |
| Linux Linux | 7a9841ca025275b5b0edfb0b618934abb6ceec15 | Vendor (CNA) |
| Linux Linux | 8786bde11a4f31b63b3036731df0b47337a7a245 | Vendor (CNA) |
| debian:linux | 6.1.4-1 · Debian:12 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2026-31608199 days apartsmb: server: avoid double-free in smb_direct_free_sendmsg after smb_direct_flush_send_list()39Monitor
- CVE-2026-31609199 days apartsmb: client: avoid double-free in smbd_free_send_io() after smbd_send_batch_flush()39Monitor
- CVE-2026-43011206 days apartnet/x25: Fix potential double free of skb39Monitor
- CVE-2026-43414213 days apartscsi: qla2xxx: Completely fix fcport double free39Monitor
- CVE-2026-52993260 days aparttipc: fix double-free in tipc_buf_append()39Monitor
- CVE-2026-64387291 days apartsmb: client: fix query directory replay double-free39Monitor
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-415 · Double FreeCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- git.kernel.org/stable/c/113236e8f49f262f318c00ebb14b15f4834e87c1
- git.kernel.org/stable/c/28e4a763cd4a2b1a78852216ef4bd7df3a05cec6
- git.kernel.org/stable/c/578a7628b838a3ac8ad61deaab5a816ff032ac13
- git.kernel.org/stable/c/7508b9f4daac4ec7dfe0b6fb2d688b1c1c105e10
- git.kernel.org/stable/c/7a9841ca025275b5b0edfb0b618934abb6ceec15
- git.kernel.org/stable/c/8786bde11a4f31b63b3036731df0b47337a7a245
Vendor advisories and official records. Exploit/PoC links are deliberately left out.