# CVE-2026-98590: bpf: Fix bpf\_sock context code generation

> 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.22% (percentile 7, 2026-11-28)
- **Published:** 2026-10-18T15:19:02.747Z
- **Modified:** 2026-10-19T10:19:20.057Z

## Who should check

- Anyone running Linux \>= c3c16f2ea6d20159903cf93afbb1155f3d8348d5, \< e3ddcf4aeb342d4de2e5761c7042270d454752de; \>= c3c16f2ea6d20159903cf93afbb1155f3d8348d5, \< 4a41d064facc3330e176ecbbf5b0026ed18a5c69; \>= c3c16f2ea6d20159903cf93afbb1155f3d8348d5, \< 70288599d1754e157df8326239316dbdf08ea33c; \>= c3c16f2ea6d20159903cf93afbb1155f3d8348d5, \< ea4dc96c902ccfa49dd3e4f23c443dab4a74b018; \>= c3c16f2ea6d20159903cf93afbb1155f3d8348d5, \< b3f37afc7fd7c52bc2114310aff1eb24c7cd4d73; \>= c3c16f2ea6d20159903cf93afbb1155f3d8348d5, \< d95dd5a6c6cd08d5ae466d3aed27b3cf59155a6c; \>= c3c16f2ea6d20159903cf93afbb1155f3d8348d5, \< 84ebb991ae985149079ae9ab51b7e3ba25a9ff53; \>= c3c16f2ea6d20159903cf93afbb1155f3d8348d5, \< 4a4852376e3a2727ea40e61143d6d7c22bb6dfad
- Anyone running Linux 5.8

## Description

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

bpf: Fix bpf\_sock context code generation

Currently, the ctx access code reads the rx\_queue\_mapping
field with either a 4-byte or 2-byte load. The rest of the bits
in the register are marked known zero by the verifier. However,
the emitted ctx access code places in the register on certain
the special value (-1) using BPF\_MOV\_IMM64, which gets sign-extended
to turn on all the bits in the register. By shifting this value right,
the program ends up with a value at runtime above what the verifier
assumes is possible.

Fix this by ensuring the read value is as wide as the assumed size.
Use MOV32 instructions instead of MOV64 instructions to keep
the upper bits zero as assumed by the verifier. Also properly report
the size of the destination variable (the bpf\_sock field, 4 bytes) instead
of the source (the socket field, 2 bytes).

## Affected and fixed versions

- Linux: \>= c3c16f2ea6d20159903cf93afbb1155f3d8348d5, \< e3ddcf4aeb342d4de2e5761c7042270d454752de; \>= c3c16f2ea6d20159903cf93afbb1155f3d8348d5, \< 4a41d064facc3330e176ecbbf5b0026ed18a5c69; \>= c3c16f2ea6d20159903cf93afbb1155f3d8348d5, \< 70288599d1754e157df8326239316dbdf08ea33c; \>= c3c16f2ea6d20159903cf93afbb1155f3d8348d5, \< ea4dc96c902ccfa49dd3e4f23c443dab4a74b018; \>= c3c16f2ea6d20159903cf93afbb1155f3d8348d5, \< b3f37afc7fd7c52bc2114310aff1eb24c7cd4d73; \>= c3c16f2ea6d20159903cf93afbb1155f3d8348d5, \< d95dd5a6c6cd08d5ae466d3aed27b3cf59155a6c; \>= c3c16f2ea6d20159903cf93afbb1155f3d8348d5, \< 84ebb991ae985149079ae9ab51b7e3ba25a9ff53; \>= c3c16f2ea6d20159903cf93afbb1155f3d8348d5, \< 4a4852376e3a2727ea40e61143d6d7c22bb6dfad (cvelist)
- Linux: 5.8 (cvelist)

## Mitigation

- Upgrade Linux to 4a4852376e3a2727ea40e61143d6d7c22bb6dfad 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-98590. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98590.md
Affected: Linux >= c3c16f2ea6d20159903cf93afbb1155f3d8348d5, < e3ddcf4aeb342d4de2e5761c7042270d454752de; >= c3c16f2ea6d20159903cf93afbb1155f3d8348d5, < 4a41d064facc3330e176ecbbf5b0026ed18a5c69; >= c3c16f2ea6d20159903cf93afbb1155f3d8348d5, < 70288599d1754e157df8326239316dbdf08ea33c; >= c3c16f2ea6d20159903cf93…
Fixed in: Linux 4a41d064facc3330e176ecbbf5b0026ed18a5c69, Linux 70288599d1754e157df8326239316dbdf08ea33c, Linux 84ebb991ae985149079ae9ab51b7e3ba25a9ff53, Linux 4a4852376e3a2727ea40e61143d6d7c22bb6dfad

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= c3c16f2ea6d20159903cf93afbb1155f3d8348d5, \< e3ddcf4aeb342d4de2e5761c7042270d454752de; \>= c3c16f2ea6d20159903cf93afbb1155f3d8348d5, \< 4a41d064facc3330e176ecbbf5b0026ed18a5c69; \>= c3c16f2ea6d20159903cf93afbb1155f3d8348d5, \< 70288599d1754e157df8326239316dbdf08ea33c; \>= c3c16f2ea6d20159903cf93afbb1155f3d8348d5, \< ea4dc96c902ccfa49dd3e4f23c443dab4a74b018; \>= c3c16f2ea6d20159903cf93afbb1155f3d8348d5, \< b3f37afc7fd7c52bc2114310aff1eb24c7cd4d73; \>= c3c16f2ea6d20159903cf93afbb1155f3d8348d5, \< d95dd5a6c6cd08d5ae466d3aed27b3cf59155a6c; \>= c3c16f2ea6d20159903cf93afbb1155f3d8348d5, \< 84ebb991ae985149079ae9ab51b7e3ba25a9ff53; \>= c3c16f2ea6d20159903cf93afbb1155f3d8348d5, \< 4a4852376e3a2727ea40e61143d6d7c22bb6dfad; Linux 5.8.

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

Yes. Fixed in Linux 4a41d064facc3330e176ecbbf5b0026ed18a5c69, Linux 70288599d1754e157df8326239316dbdf08ea33c, Linux 84ebb991ae985149079ae9ab51b7e3ba25a9ff53, Linux 4a4852376e3a2727ea40e61143d6d7c22bb6dfad. Upgrade Linux to 4a4852376e3a2727ea40e61143d6d7c22bb6dfad or later.

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

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/e3ddcf4aeb342d4de2e5761c7042270d454752de>
- other: <https://git.kernel.org/stable/c/4a41d064facc3330e176ecbbf5b0026ed18a5c69>
- other: <https://git.kernel.org/stable/c/70288599d1754e157df8326239316dbdf08ea33c>
- other: <https://git.kernel.org/stable/c/ea4dc96c902ccfa49dd3e4f23c443dab4a74b018>
- other: <https://git.kernel.org/stable/c/b3f37afc7fd7c52bc2114310aff1eb24c7cd4d73>
- other: <https://git.kernel.org/stable/c/d95dd5a6c6cd08d5ae466d3aed27b3cf59155a6c>
- other: <https://git.kernel.org/stable/c/84ebb991ae985149079ae9ab51b7e3ba25a9ff53>
- other: <https://git.kernel.org/stable/c/4a4852376e3a2727ea40e61143d6d7c22bb6dfad>

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

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