# CVE-2026-98384: bpf: Fix out-of-bounds read of sk\_protocol in bpf\_sock\_destroy()

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-10-09T07:34:23.097Z
- **Modified:** 2026-10-19T10:18:41.760Z

## Who should check

- Anyone running Linux \>= 4ddbcb886268af8d12a23e6640b39d1d9c652b1b, \< 5b4eb82475ae17d55974235c09e97044829426a8; \>= 4ddbcb886268af8d12a23e6640b39d1d9c652b1b, \< a9651704c6fd64590b5ad4fbe7c3768accf95993; \>= 4ddbcb886268af8d12a23e6640b39d1d9c652b1b, \< 91a482a81eabddebf5430cbbdf12027e1a91b767; \>= 4ddbcb886268af8d12a23e6640b39d1d9c652b1b, \< 2534a5e5d360c2b10203cfa80f4ab9d021e48f2f; \>= 4ddbcb886268af8d12a23e6640b39d1d9c652b1b, \< 01b245ba016d44861690594e10f67e026ce8552f
- Anyone running Linux 6.5

## Description

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

bpf: Fix out-of-bounds read of sk\_protocol in bpf\_sock\_destroy()

sk\_protocol lives in struct sock, not in struct sock\_common. A timewait
or request sock handed to bpf\_sock\_destroy() by the tcp iterator is
neither, so reading sk-\>sk\_protocol runs past the object:

==================================================================
BUG: KASAN: slab-out-of-bounds in bpf\_sock\_destroy+0xc7/0xe0
Read of size 2 at addr ffff8881047d11b4 by task test\_progs/428

Tainted: \[W\]=WARN
Call Trace:
 \<TASK\>
 dump\_stack\_lvl+0x91/0xf0
 print\_report+0xd1/0x630
 kasan\_report+0xf3/0x130
 \_\_asan\_report\_load2\_noabort+0x14/0x30
 bpf\_sock\_destroy+0xc7/0xe0
 bpf\_prog\_c3dd61f9d9cd9f37\_iter\_tcp6\_timewait+0x9f/0xb7
 bpf\_iter\_run\_prog+0x538/0xde0
 bpf\_iter\_tcp\_seq\_show+0x26b/0x4b0
 bpf\_seq\_read+0x424/0x1210
 vfs\_read+0x197/0xe40
 ksys\_read+0x119/0x240
 \_\_x64\_sys\_read+0x72/0xc0
 x64\_sys\_call+0x647/0x27e0
 do\_syscall\_64+0xe5/0x610
 entry\_SYSCALL\_64\_after\_hwframe+0x76/0x7e

Only check sk\_protocol on full socks. tcp\_abort() already knows how to
deal with TIME\_WAIT and NEW\_SYN\_RECV socks. Also fix the comment, it
never matched the code.

## Affected and fixed versions

- Linux: \>= 4ddbcb886268af8d12a23e6640b39d1d9c652b1b, \< 5b4eb82475ae17d55974235c09e97044829426a8; \>= 4ddbcb886268af8d12a23e6640b39d1d9c652b1b, \< a9651704c6fd64590b5ad4fbe7c3768accf95993; \>= 4ddbcb886268af8d12a23e6640b39d1d9c652b1b, \< 91a482a81eabddebf5430cbbdf12027e1a91b767; \>= 4ddbcb886268af8d12a23e6640b39d1d9c652b1b, \< 2534a5e5d360c2b10203cfa80f4ab9d021e48f2f; \>= 4ddbcb886268af8d12a23e6640b39d1d9c652b1b, \< 01b245ba016d44861690594e10f67e026ce8552f (cvelist)
- Linux: 6.5 (cvelist)

## Mitigation

- Upgrade Linux to 01b245ba016d44861690594e10f67e026ce8552f or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-98384.md
Affected: Linux >= 4ddbcb886268af8d12a23e6640b39d1d9c652b1b, < 5b4eb82475ae17d55974235c09e97044829426a8; >= 4ddbcb886268af8d12a23e6640b39d1d9c652b1b, < a9651704c6fd64590b5ad4fbe7c3768accf95993; >= 4ddbcb886268af8d12a23e6640b39d1d9c652b1b, < 91a482a81eabddebf5430cbbdf12027e1a91b767; >= 4ddbcb886268af8d12a23e6…
Fixed in: Linux 5b4eb82475ae17d55974235c09e97044829426a8, Linux 91a482a81eabddebf5430cbbdf12027e1a91b767, Linux 2534a5e5d360c2b10203cfa80f4ab9d021e48f2f, Linux 01b245ba016d44861690594e10f67e026ce8552f

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-98384 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 4ddbcb886268af8d12a23e6640b39d1d9c652b1b, \< 5b4eb82475ae17d55974235c09e97044829426a8; \>= 4ddbcb886268af8d12a23e6640b39d1d9c652b1b, \< a9651704c6fd64590b5ad4fbe7c3768accf95993; \>= 4ddbcb886268af8d12a23e6640b39d1d9c652b1b, \< 91a482a81eabddebf5430cbbdf12027e1a91b767; \>= 4ddbcb886268af8d12a23e6640b39d1d9c652b1b, \< 2534a5e5d360c2b10203cfa80f4ab9d021e48f2f; \>= 4ddbcb886268af8d12a23e6640b39d1d9c652b1b, \< 01b245ba016d44861690594e10f67e026ce8552f; Linux 6.5.

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

Yes. Fixed in Linux 5b4eb82475ae17d55974235c09e97044829426a8, Linux 91a482a81eabddebf5430cbbdf12027e1a91b767, Linux 2534a5e5d360c2b10203cfa80f4ab9d021e48f2f, Linux 01b245ba016d44861690594e10f67e026ce8552f. Upgrade Linux to 01b245ba016d44861690594e10f67e026ce8552f or later.

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

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

- other: <https://git.kernel.org/stable/c/5b4eb82475ae17d55974235c09e97044829426a8>
- other: <https://git.kernel.org/stable/c/a9651704c6fd64590b5ad4fbe7c3768accf95993>
- other: <https://git.kernel.org/stable/c/91a482a81eabddebf5430cbbdf12027e1a91b767>
- other: <https://git.kernel.org/stable/c/2534a5e5d360c2b10203cfa80f4ab9d021e48f2f>
- other: <https://git.kernel.org/stable/c/01b245ba016d44861690594e10f67e026ce8552f>

## 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-98384>

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