# CVE-2026-43016: bpf: sockmap: Fix use-after-free of sk-\>sk\_socket in sk\_psock\_verdict\_data\_ready().

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2026-05-01T14:15:20.887Z
- **Modified:** 2026-11-11T23:10:00.263Z

## Who should check

- Anyone running Linux \>= c63829182c37c2d6d0608976d15fa61ebebe9e6b, \< ac9f092e9994cada106432d5070e28ee9cb2fdac; \>= c63829182c37c2d6d0608976d15fa61ebebe9e6b, \< 8d597e3e74027900ffa81b8ff47ab51999a3e110; \>= c63829182c37c2d6d0608976d15fa61ebebe9e6b, \< 68187f18a89be4b6237d28ae1313b5adf76238c6; \>= c63829182c37c2d6d0608976d15fa61ebebe9e6b, \< 18861f87a043e78b1f901cae4237e755ed7ef095; \>= c63829182c37c2d6d0608976d15fa61ebebe9e6b, \< af95bc39a83d82ae6ad253986335037256888b3f; \>= c63829182c37c2d6d0608976d15fa61ebebe9e6b, \< ad8391d37f334ee73ba91926f8b4e4cf6d31ea04
- Anyone running Linux 5.15

## Description

In the Linux kernel, the following vulnerability has been resolved:

bpf: sockmap: Fix use-after-free of sk-\>sk\_socket in sk\_psock\_verdict\_data\_ready().

syzbot reported use-after-free of AF\_UNIX socket's sk-\>sk\_socket
in sk\_psock\_verdict\_data\_ready(). \[0\]

In unix\_stream\_sendmsg(), the peer socket's -\>sk\_data\_ready() is
called after dropping its unix\_state\_lock().

Although the sender socket holds the peer's refcount, it does not
prevent the peer's sock\_orphan(), and the peer's sk\_socket might
be freed after one RCU grace period.

Let's fetch the peer's sk-\>sk\_socket and sk-\>sk\_socket-\>ops under
RCU in sk\_psock\_verdict\_data\_ready().

\[0\]:
BUG: KASAN: slab-use-after-free in sk\_psock\_verdict\_data\_ready+0xec/0x590 net/core/skmsg.c:1278
Read of size 8 at addr ffff8880594da860 by task syz.4.1842/11013

CPU: 1 UID: 0 PID: 11013 Comm: syz.4.1842 Not tainted syzkaller \#0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
Call Trace:
 \<TASK\>
 dump\_stack\_lvl+0xe8/0x150 lib/dump\_stack.c:120
 print\_address\_description mm/kasan/report.c:378 \[inline\]
 print\_report+0xba/0x230 mm/kasan/report.c:482
 kasan\_report+0x117/0x150 mm/kasan/report.c:595
 sk\_psock\_verdict\_data\_ready+0xec/0x590 net/core/skmsg.c:1278
 unix\_stream\_sendmsg+0x8a3/0xe80 net/unix/af\_unix.c:2482
 sock\_sendmsg\_nosec net/socket.c:721 \[inline\]
 \_\_sock\_sendmsg net/socket.c:736 \[inline\]
 \_\_\_\_sys\_sendmsg+0x972/0x9f0 net/socket.c:2585
 \_\_\_sys\_sendmsg+0x2a5/0x360 net/socket.c:2639
 \_\_sys\_sendmsg net/socket.c:2671 \[inline\]
 \_\_do\_sys\_sendmsg net/socket.c:2676 \[inline\]
 \_\_se\_sys\_sendmsg net/socket.c:2674 \[inline\]
 \_\_x64\_sys\_sendmsg+0x1bd/0x2a0 net/socket.c:2674
 do\_syscall\_x64 arch/x86/entry/syscall\_64.c:63 \[inline\]
 do\_syscall\_64+0x14d/0xf80 arch/x86/entry/syscall\_64.c:94
 entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f
RIP: 0033:0x7facf899c819
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 \<48\> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007facf9827028 EFLAGS: 00000246 ORIG\_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007facf8c15fa0 RCX: 00007facf899c819
RDX: 0000000000000000 RSI: 0000200000000500 RDI: 0000000000000004
RBP: 00007facf8a32c91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007facf8c16038 R14: 00007facf8c15fa0 R15: 00007ffd41b01c78
 \</TASK\>

Allocated by task 11013:
 kasan\_save\_stack mm/kasan/common.c:57 \[inline\]
 kasan\_save\_track+0x3e/0x80 mm/kasan/common.c:78
 unpoison\_slab\_object mm/kasan/common.c:340 \[inline\]
 \_\_kasan\_slab\_alloc+0x6c/0x80 mm/kasan/common.c:366
 kasan\_slab\_alloc include/linux/kasan.h:253 \[inline\]
 slab\_post\_alloc\_hook mm/slub.c:4538 \[inline\]
 slab\_alloc\_node mm/slub.c:4866 \[inline\]
 kmem\_cache\_alloc\_lru\_noprof+0x2b8/0x640 mm/slub.c:4885
 sock\_alloc\_inode+0x28/0xc0 net/socket.c:316
 alloc\_inode+0x6a/0x1b0 fs/inode.c:347
 new\_inode\_pseudo include/linux/fs.h:3003 \[inline\]
 sock\_alloc net/socket.c:631 \[inline\]
 \_\_sock\_create+0x12d/0x9d0 net/socket.c:1562
 sock\_create net/socket.c:1656 \[inline\]
 \_\_sys\_socketpair+0x1c4/0x560 net/socket.c:1803
 \_\_do\_sys\_socketpair net/socket.c:1856 \[inline\]
 \_\_se\_sys\_socketpair net/socket.c:1853 \[inline\]
 \_\_x64\_sys\_socketpair+0x9b/0xb0 net/socket.c:1853
 do\_syscall\_x64 arch/x86/entry/syscall\_64.c:63 \[inline\]
 do\_syscall\_64+0x14d/0xf80 arch/x86/entry/syscall\_64.c:94
 entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f

Freed by task 15:
 kasan\_save\_stack mm/kasan/common.c:57 \[inline\]
 kasan\_save\_track+0x3e/0x80 mm/kasan/common.c:78
 kasan\_save\_free\_info+0x46/0x50 mm/kasan/generic.c:584
 poison\_slab\_object mm/kasan/common.c:253 \[inline\]
 \_\_kasan\_slab\_free+0x5c/0x80 mm/kasan/common.c:285
 kasan\_slab\_free include/linux/kasan.h:235 \[inline\]
 slab\_free\_hook mm/slub.c:2685 \[inline\]
 slab\_free mm/slub.c:6165 \[inline\]
 kmem\_cache\_free+0x187/0x630 mm/slub.c:6295
 rcu\_do\_batch kernel/rcu/tree.c:
---truncated---

## Affected and fixed versions

- Linux: \>= c63829182c37c2d6d0608976d15fa61ebebe9e6b, \< ac9f092e9994cada106432d5070e28ee9cb2fdac; \>= c63829182c37c2d6d0608976d15fa61ebebe9e6b, \< 8d597e3e74027900ffa81b8ff47ab51999a3e110; \>= c63829182c37c2d6d0608976d15fa61ebebe9e6b, \< 68187f18a89be4b6237d28ae1313b5adf76238c6; \>= c63829182c37c2d6d0608976d15fa61ebebe9e6b, \< 18861f87a043e78b1f901cae4237e755ed7ef095; \>= c63829182c37c2d6d0608976d15fa61ebebe9e6b, \< af95bc39a83d82ae6ad253986335037256888b3f; \>= c63829182c37c2d6d0608976d15fa61ebebe9e6b, \< ad8391d37f334ee73ba91926f8b4e4cf6d31ea04 (cvelist)
- Linux: 5.15 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-43016. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-43016.md
Affected: Linux >= c63829182c37c2d6d0608976d15fa61ebebe9e6b, < ac9f092e9994cada106432d5070e28ee9cb2fdac; >= c63829182c37c2d6d0608976d15fa61ebebe9e6b, < 8d597e3e74027900ffa81b8ff47ab51999a3e110; >= c63829182c37c2d6d0608976d15fa61ebebe9e6b, < 68187f18a89be4b6237d28ae1313b5adf76238c6; >= c63829182c37c2d6d060897…
Fixed in: Linux 8d597e3e74027900ffa81b8ff47ab51999a3e110, Linux 68187f18a89be4b6237d28ae1313b5adf76238c6, Linux 18861f87a043e78b1f901cae4237e755ed7ef095

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.
```

## FAQ

### Is CVE-2026-43016 being exploited?

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

### How serious is CVE-2026-43016?

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

### Which versions are affected by CVE-2026-43016?

Linux \>= c63829182c37c2d6d0608976d15fa61ebebe9e6b, \< ac9f092e9994cada106432d5070e28ee9cb2fdac; \>= c63829182c37c2d6d0608976d15fa61ebebe9e6b, \< 8d597e3e74027900ffa81b8ff47ab51999a3e110; \>= c63829182c37c2d6d0608976d15fa61ebebe9e6b, \< 68187f18a89be4b6237d28ae1313b5adf76238c6; \>= c63829182c37c2d6d0608976d15fa61ebebe9e6b, \< 18861f87a043e78b1f901cae4237e755ed7ef095; \>= c63829182c37c2d6d0608976d15fa61ebebe9e6b, \< af95bc39a83d82ae6ad253986335037256888b3f; \>= c63829182c37c2d6d0608976d15fa61ebebe9e6b, \< ad8391d37f334ee73ba91926f8b4e4cf6d31ea04; Linux 5.15.

### Is there a fix for CVE-2026-43016?

Yes. Fixed in Linux 8d597e3e74027900ffa81b8ff47ab51999a3e110, Linux 68187f18a89be4b6237d28ae1313b5adf76238c6, Linux 18861f87a043e78b1f901cae4237e755ed7ef095. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-43016?

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.

## References

- patch: <https://git.kernel.org/stable/c/8d597e3e74027900ffa81b8ff47ab51999a3e110>
- patch: <https://git.kernel.org/stable/c/68187f18a89be4b6237d28ae1313b5adf76238c6>
- patch: <https://git.kernel.org/stable/c/18861f87a043e78b1f901cae4237e755ed7ef095>
- patch: <https://git.kernel.org/stable/c/af95bc39a83d82ae6ad253986335037256888b3f>
- patch: <https://git.kernel.org/stable/c/ad8391d37f334ee73ba91926f8b4e4cf6d31ea04>
- other: <https://git.kernel.org/stable/c/ac9f092e9994cada106432d5070e28ee9cb2fdac>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-43016>

HTML: <https://flawdb.com/CVE-2026-43016> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-43016>
