{"id":"CVE-2026-23126","title":"netdevsim: fix a race issue related to the operation on bpf_bound_progs list","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetdevsim: fix a race issue related to the operation on bpf_bound_progs list\n\nThe netdevsim driver lacks a protection mechanism for operations on the\nbpf_bound_progs li…","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= 31d3ad832948c75139b0e5b653912f7898a1d5d5 < 3f560cfc7706029294132482fff5d1bc7884b70d","Linux >= 31d3ad832948c75139b0e5b653912f7898a1d5d5 < f1f9cfd2f46a73b7de2982d01be822eac3a0efaa","Linux >= 31d3ad832948c75139b0e5b653912f7898a1d5d5 < d77379ca82efcb2fe563359cc795027d680410db","Linux >= 31d3ad832948c75139b0e5b653912f7898a1d5d5 < 68462ecc40ea8f780fb3c74ebfddd05506bb731b","Linux >= 31d3ad832948c75139b0e5b653912f7898a1d5d5 < b97d5eedf4976cc94321243be83b39efe81a0e15","Linux 4.16"],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-10T20:41:30.500855Z"},"published":"2026-02-14","updated":"2026-10-19","sourceUpdated":"2026-10-19T18:25:32.555Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-23126","references":[{"url":"https://git.kernel.org/stable/c/3f560cfc7706029294132482fff5d1bc7884b70d"},{"url":"https://git.kernel.org/stable/c/f1f9cfd2f46a73b7de2982d01be822eac3a0efaa"},{"url":"https://git.kernel.org/stable/c/d77379ca82efcb2fe563359cc795027d680410db"},{"url":"https://git.kernel.org/stable/c/68462ecc40ea8f780fb3c74ebfddd05506bb731b"},{"url":"https://git.kernel.org/stable/c/b97d5eedf4976cc94321243be83b39efe81a0e15"}],"tags":["cve.org"],"epss":0.00098,"epssPercentile":0.0074,"ingestedAt":"2026-10-19T18:35:50.101Z","slug":"CVE-2026-23126","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nnetdevsim: fix a race issue related to the operation on bpf_bound_progs list\n\nThe netdevsim driver lacks a protection mechanism for operations on the\nbpf_bound_progs list. When the nsim_bpf_create_prog() performs\nlist_add_tail, it is possible that nsim_bpf_destroy_prog() is\nsimultaneously performs list_del. Concurrent operations on the list may\nlead to list corruption and trigger a kernel crash as follows:\n\n[  417.290971] kernel BUG at lib/list_debug.c:62!\n[  417.290983] invalid opcode: 0000 [#1] PREEMPT SMP NOPTI\n[  417.290992] CPU: 10 PID: 168 Comm: kworker/10:1 Kdump: loaded Not tainted 6.19.0-rc5 #1\n[  417.291003] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014\n[  417.291007] Workqueue: events bpf_prog_free_deferred\n[  417.291021] RIP: 0010:__list_del_entry_valid_or_report+0xa7/0xc0\n[  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\n[  417.291040] RSP: 0018:ffffb16a40807df8 EFLAGS: 00010246\n[  417.291046] RAX: 000000000000006d RBX: ffff8e589866f500 RCX: 0000000000000000\n[  417.291051] RDX: 0000000000000000 RSI: ffff8e59f7b23180 RDI: ffff8e59f7b23180\n[  417.291055] RBP: ffffb16a412c9000 R08: 0000000000000000 R09: 0000000000000003\n[  417.291059] R10: ffffb16a40807c80 R11: ffffffffaf9edce8 R12: ffff8e594427ac20\n[  417.291063] R13: ffff8e59f7b44780 R14: ffff8e58800b7a05 R15: 0000000000000000\n[  417.291074] FS:  0000000000000000(0000) GS:ffff8e59f7b00000(0000) knlGS:0000000000000000\n[  417.291079] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033\n[  417.291083] CR2: 00007fc4083efe08 CR3: 00000001c3626006 CR4: 0000000000770ee0\n[  417.291088] PKRU: 55555554\n[  417.291091] Call Trace:\n[  417.291096]  <TASK>\n[  417.291103]  nsim_bpf_destroy_prog+0x31/0x80 [netdevsim]\n[  417.291154]  __bpf_prog_offload_destroy+0x2a/0x80\n[  417.291163]  bpf_prog_dev_bound_destroy+0x6f/0xb0\n[  417.291171]  bpf_prog_free_deferred+0x18e/0x1a0\n[  417.291178]  process_one_work+0x18a/0x3a0\n[  417.291188]  worker_thread+0x27b/0x3a0\n[  417.291197]  ? __pfx_worker_thread+0x10/0x10\n[  417.291207]  kthread+0xe5/0x120\n[  417.291214]  ? __pfx_kthread+0x10/0x10\n[  417.291221]  ret_from_fork+0x31/0x50\n[  417.291230]  ? __pfx_kthread+0x10/0x10\n[  417.291236]  ret_from_fork_asm+0x1a/0x30\n[  417.291246]  </TASK>\n\nAdd a mutex lock, to prevent simultaneous addition and deletion operations\non the list.\n\n## Affected\n\n- `Linux >= 31d3ad832948c75139b0e5b653912f7898a1d5d5 < 3f560cfc7706029294132482fff5d1bc7884b70d`\n- `Linux >= 31d3ad832948c75139b0e5b653912f7898a1d5d5 < f1f9cfd2f46a73b7de2982d01be822eac3a0efaa`\n- `Linux >= 31d3ad832948c75139b0e5b653912f7898a1d5d5 < d77379ca82efcb2fe563359cc795027d680410db`\n- `Linux >= 31d3ad832948c75139b0e5b653912f7898a1d5d5 < 68462ecc40ea8f780fb3c74ebfddd05506bb731b`\n- `Linux >= 31d3ad832948c75139b0e5b653912f7898a1d5d5 < b97d5eedf4976cc94321243be83b39efe81a0e15`\n- `Linux 4.16`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}