# CVE-2026-23126: netdevsim: fix a race issue related to the operation on bpf\_bound\_progs list

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

- **Severity:** MEDIUM 4.7
- **CVSS:** 4.7 (v3.1, NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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.13% (percentile 1, 2026-11-26)
- **CWE:** CWE-362
- **Published:** 2026-02-14T15:09:55.552Z
- **Modified:** 2026-10-19T19:17:38.390Z

## Who should check

- Anyone running Linux \>= 31d3ad832948c75139b0e5b653912f7898a1d5d5, \< 3f560cfc7706029294132482fff5d1bc7884b70d; \>= 31d3ad832948c75139b0e5b653912f7898a1d5d5, \< f1f9cfd2f46a73b7de2982d01be822eac3a0efaa; \>= 31d3ad832948c75139b0e5b653912f7898a1d5d5, \< d77379ca82efcb2fe563359cc795027d680410db; \>= 31d3ad832948c75139b0e5b653912f7898a1d5d5, \< 68462ecc40ea8f780fb3c74ebfddd05506bb731b; \>= 31d3ad832948c75139b0e5b653912f7898a1d5d5, \< b97d5eedf4976cc94321243be83b39efe81a0e15
- Anyone running Linux 4.16

## Description

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

netdevsim: fix a race issue related to the operation on bpf\_bound\_progs list

The netdevsim driver lacks a protection mechanism for operations on the
bpf\_bound\_progs list. When the nsim\_bpf\_create\_prog() performs
list\_add\_tail, it is possible that nsim\_bpf\_destroy\_prog() is
simultaneously performs list\_del. Concurrent operations on the list may
lead to list corruption and trigger a kernel crash as follows:

\[  417.290971\] kernel BUG at lib/list\_debug.c:62!
\[  417.290983\] invalid opcode: 0000 \[\#1\] PREEMPT SMP NOPTI
\[  417.290992\] CPU: 10 PID: 168 Comm: kworker/10:1 Kdump: loaded Not tainted 6.19.0-rc5 \#1
\[  417.291003\] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
\[  417.291007\] Workqueue: events bpf\_prog\_free\_deferred
\[  417.291021\] RIP: 0010:\_\_list\_del\_entry\_valid\_or\_report+0xa7/0xc0
\[  417.291034\] Code: a8 ff 0f 0b 48 89 fe 48 89 ca 48 c7 c7 48 a1 eb ae e8 ed fb a8 ff 0f 0b 48 89 fe 48 89 c2 48 c7 c7 80 a1 eb ae e8 d9 fb a8 ff \<0f\> 0b 48 89 d1 48 c7 c7 d0 a1 eb ae 48 89 f2 48 89 c6 e8 c2 fb a8
\[  417.291040\] RSP: 0018:ffffb16a40807df8 EFLAGS: 00010246
\[  417.291046\] RAX: 000000000000006d RBX: ffff8e589866f500 RCX: 0000000000000000
\[  417.291051\] RDX: 0000000000000000 RSI: ffff8e59f7b23180 RDI: ffff8e59f7b23180
\[  417.291055\] RBP: ffffb16a412c9000 R08: 0000000000000000 R09: 0000000000000003
\[  417.291059\] R10: ffffb16a40807c80 R11: ffffffffaf9edce8 R12: ffff8e594427ac20
\[  417.291063\] R13: ffff8e59f7b44780 R14: ffff8e58800b7a05 R15: 0000000000000000
\[  417.291074\] FS:  0000000000000000(0000) GS:ffff8e59f7b00000(0000) knlGS:0000000000000000
\[  417.291079\] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
\[  417.291083\] CR2: 00007fc4083efe08 CR3: 00000001c3626006 CR4: 0000000000770ee0
\[  417.291088\] PKRU: 55555554
\[  417.291091\] Call Trace:
\[  417.291096\]  \<TASK\>
\[  417.291103\]  nsim\_bpf\_destroy\_prog+0x31/0x80 \[netdevsim\]
\[  417.291154\]  \_\_bpf\_prog\_offload\_destroy+0x2a/0x80
\[  417.291163\]  bpf\_prog\_dev\_bound\_destroy+0x6f/0xb0
\[  417.291171\]  bpf\_prog\_free\_deferred+0x18e/0x1a0
\[  417.291178\]  process\_one\_work+0x18a/0x3a0
\[  417.291188\]  worker\_thread+0x27b/0x3a0
\[  417.291197\]  ? \_\_pfx\_worker\_thread+0x10/0x10
\[  417.291207\]  kthread+0xe5/0x120
\[  417.291214\]  ? \_\_pfx\_kthread+0x10/0x10
\[  417.291221\]  ret\_from\_fork+0x31/0x50
\[  417.291230\]  ? \_\_pfx\_kthread+0x10/0x10
\[  417.291236\]  ret\_from\_fork\_asm+0x1a/0x30
\[  417.291246\]  \</TASK\>

Add a mutex lock, to prevent simultaneous addition and deletion operations
on the list.

## Affected and fixed versions

- Linux: \>= 31d3ad832948c75139b0e5b653912f7898a1d5d5, \< 3f560cfc7706029294132482fff5d1bc7884b70d; \>= 31d3ad832948c75139b0e5b653912f7898a1d5d5, \< f1f9cfd2f46a73b7de2982d01be822eac3a0efaa; \>= 31d3ad832948c75139b0e5b653912f7898a1d5d5, \< d77379ca82efcb2fe563359cc795027d680410db; \>= 31d3ad832948c75139b0e5b653912f7898a1d5d5, \< 68462ecc40ea8f780fb3c74ebfddd05506bb731b; \>= 31d3ad832948c75139b0e5b653912f7898a1d5d5, \< b97d5eedf4976cc94321243be83b39efe81a0e15 (cvelist)
- Linux: 4.16 (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-23126. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-23126.md
Affected: Linux >= 31d3ad832948c75139b0e5b653912f7898a1d5d5, < 3f560cfc7706029294132482fff5d1bc7884b70d; >= 31d3ad832948c75139b0e5b653912f7898a1d5d5, < f1f9cfd2f46a73b7de2982d01be822eac3a0efaa; >= 31d3ad832948c75139b0e5b653912f7898a1d5d5, < d77379ca82efcb2fe563359cc795027d680410db; >= 31d3ad832948c75139b0e5b…
Fixed in: Linux 3f560cfc7706029294132482fff5d1bc7884b70d, Linux 68462ecc40ea8f780fb3c74ebfddd05506bb731b

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

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

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

Medium: CVSS 4.7 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

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

Linux \>= 31d3ad832948c75139b0e5b653912f7898a1d5d5, \< 3f560cfc7706029294132482fff5d1bc7884b70d; \>= 31d3ad832948c75139b0e5b653912f7898a1d5d5, \< f1f9cfd2f46a73b7de2982d01be822eac3a0efaa; \>= 31d3ad832948c75139b0e5b653912f7898a1d5d5, \< d77379ca82efcb2fe563359cc795027d680410db; \>= 31d3ad832948c75139b0e5b653912f7898a1d5d5, \< 68462ecc40ea8f780fb3c74ebfddd05506bb731b; \>= 31d3ad832948c75139b0e5b653912f7898a1d5d5, \< b97d5eedf4976cc94321243be83b39efe81a0e15; Linux 4.16.

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

Yes. Fixed in Linux 3f560cfc7706029294132482fff5d1bc7884b70d, Linux 68462ecc40ea8f780fb3c74ebfddd05506bb731b. No fix listed yet: follow the vendor advisory.

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

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/3f560cfc7706029294132482fff5d1bc7884b70d>
- patch: <https://git.kernel.org/stable/c/f1f9cfd2f46a73b7de2982d01be822eac3a0efaa>
- patch: <https://git.kernel.org/stable/c/d77379ca82efcb2fe563359cc795027d680410db>
- patch: <https://git.kernel.org/stable/c/68462ecc40ea8f780fb3c74ebfddd05506bb731b>
- patch: <https://git.kernel.org/stable/c/b97d5eedf4976cc94321243be83b39efe81a0e15>

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

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