# CVE-2026-45933: bpf: Preserve id of register in sync\_linked\_regs()

> 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.18% (percentile 5, 2026-11-26)
- **CWE:** CWE-682
- **Published:** 2026-05-27T12:17:51.127Z
- **Modified:** 2026-10-19T20:18:21.540Z

## Who should check

- Anyone running Linux \>= 98d7ca374ba4b39e7535613d40e159f09ca14da2, \< 58059335e46537de682db84984f7716c813208c4; \>= 98d7ca374ba4b39e7535613d40e159f09ca14da2, \< 92a8cb1806adefb263cf096eab6705705cf7eee1; \>= 98d7ca374ba4b39e7535613d40e159f09ca14da2, \< 65d114b5270b62aefb820ecd6c3b7caeea8f895d; \>= 98d7ca374ba4b39e7535613d40e159f09ca14da2, \< af9e89d8dd39530c8bd14c33ddf6b502df1071b6
- Anyone running Linux 6.11

## Description

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

bpf: Preserve id of register in sync\_linked\_regs()

sync\_linked\_regs() copies the id of known\_reg to reg when propagating
bounds of known\_reg to reg using the off of known\_reg, but when
known\_reg was linked to reg like:

known\_reg = reg         ; both known\_reg and reg get same id
known\_reg += 4          ; known\_reg gets off = 4, and its id gets BPF\_ADD\_CONST

now when a call to sync\_linked\_regs() happens, let's say with the following:

if known\_reg \>= 10 goto pc+2

known\_reg's new bounds are propagated to reg but now reg gets
BPF\_ADD\_CONST from the copy.

This means if another link to reg is created like:

another\_reg = reg       ; another\_reg should get the id of reg but
                          assign\_scalar\_id\_before\_mov() sees
                          BPF\_ADD\_CONST on reg and assigns a new id to it.

As reg has a new id now, known\_reg's link to reg is broken. If we find
new bounds for known\_reg, they will not be propagated to reg.

This can be seen in the selftest added in the next commit:

0: (85) call bpf\_get\_prandom\_u32\#7    ; R0=scalar()
1: (57) r0 &= 255                     ; R0=scalar(smin=smin32=0,smax=umax=smax32=umax32=255,var\_off=(0x0; 0xff))
2: (bf) r1 = r0                       ; R0=scalar(id=1,smin=smin32=0,smax=umax=smax32=umax32=255,var\_off=(0x0; 0xff)) R1=scalar(id=1,smin=smin32=0,smax=umax=smax32=umax32=255,var\_off=(0x0; 0xff))
3: (07) r1 += 4                       ; R1=scalar(id=1+4,smin=umin=smin32=umin32=4,smax=umax=smax32=umax32=259,var\_off=(0x0; 0x1ff))
4: (a5) if r1 \< 0xa goto pc+4         ; R1=scalar(id=1+4,smin=umin=smin32=umin32=10,smax=umax=smax32=umax32=259,var\_off=(0x0; 0x1ff))
5: (bf) r2 = r0                       ; R0=scalar(id=2,smin=umin=smin32=umin32=6,smax=umax=smax32=umax32=255) R2=scalar(id=2,smin=umin=smin32=umin32=6,smax=umax=smax32=umax32=255)
6: (a5) if r1 \< 0xe goto pc+2         ; R1=scalar(id=1+4,smin=umin=smin32=umin32=14,smax=umax=smax32=umax32=259,var\_off=(0x0; 0x1ff))
7: (35) if r0 \>= 0xa goto pc+1        ; R0=scalar(id=2,smin=umin=smin32=umin32=6,smax=umax=smax32=umax32=9,var\_off=(0x0; 0xf))
8: (37) r0 /= 0
div by zero

When 4 is verified, r1's bounds are propagated to r0 but r0 also gets
BPF\_ADD\_CONST (bug).
When 5 is verified, r0 gets a new id (2) and its link with r1 is broken.

After 6 we know r1 has bounds \[14, 259\] and therefore r0 should have
bounds \[10, 255\], therefore the branch at 7 is always taken. But because
r0's id was changed to 2, r1's new bounds are not propagated to r0.
The verifier still thinks r0 has bounds \[6, 255\] before 7 and execution
can reach div by zero.

Fix this by preserving id in sync\_linked\_regs() like off and subreg\_def.

## Affected and fixed versions

- Linux: \>= 98d7ca374ba4b39e7535613d40e159f09ca14da2, \< 58059335e46537de682db84984f7716c813208c4; \>= 98d7ca374ba4b39e7535613d40e159f09ca14da2, \< 92a8cb1806adefb263cf096eab6705705cf7eee1; \>= 98d7ca374ba4b39e7535613d40e159f09ca14da2, \< 65d114b5270b62aefb820ecd6c3b7caeea8f895d; \>= 98d7ca374ba4b39e7535613d40e159f09ca14da2, \< af9e89d8dd39530c8bd14c33ddf6b502df1071b6 (cvelist)
- Linux: 6.11 (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-45933. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-45933.md
Affected: Linux >= 98d7ca374ba4b39e7535613d40e159f09ca14da2, < 58059335e46537de682db84984f7716c813208c4; >= 98d7ca374ba4b39e7535613d40e159f09ca14da2, < 92a8cb1806adefb263cf096eab6705705cf7eee1; >= 98d7ca374ba4b39e7535613d40e159f09ca14da2, < 65d114b5270b62aefb820ecd6c3b7caeea8f895d; >= 98d7ca374ba4b39e7535613…
Fixed in: Linux 58059335e46537de682db84984f7716c813208c4, Linux 92a8cb1806adefb263cf096eab6705705cf7eee1, Linux 65d114b5270b62aefb820ecd6c3b7caeea8f895d

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

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

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

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

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

Linux \>= 98d7ca374ba4b39e7535613d40e159f09ca14da2, \< 58059335e46537de682db84984f7716c813208c4; \>= 98d7ca374ba4b39e7535613d40e159f09ca14da2, \< 92a8cb1806adefb263cf096eab6705705cf7eee1; \>= 98d7ca374ba4b39e7535613d40e159f09ca14da2, \< 65d114b5270b62aefb820ecd6c3b7caeea8f895d; \>= 98d7ca374ba4b39e7535613d40e159f09ca14da2, \< af9e89d8dd39530c8bd14c33ddf6b502df1071b6; Linux 6.11.

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

Yes. Fixed in Linux 58059335e46537de682db84984f7716c813208c4, Linux 92a8cb1806adefb263cf096eab6705705cf7eee1, Linux 65d114b5270b62aefb820ecd6c3b7caeea8f895d. No fix listed yet: follow the vendor advisory.

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

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/58059335e46537de682db84984f7716c813208c4>
- patch: <https://git.kernel.org/stable/c/92a8cb1806adefb263cf096eab6705705cf7eee1>
- patch: <https://git.kernel.org/stable/c/65d114b5270b62aefb820ecd6c3b7caeea8f895d>
- patch: <https://git.kernel.org/stable/c/af9e89d8dd39530c8bd14c33ddf6b502df1071b6>

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

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