Improper locking in Linux kernel - CVE-2026-43340
Published: May 9, 2026
Linux kernel
Detailed vulnerability description
The vulnerability allows a local user to cause a denial of service.
The vulnerability exists due to improper lock initialization in the comedi_device spinlock handling in the COMEDI subsystem when reattaching a COMEDI device to different low-level drivers via the COMEDI_DEVCONFIG ioctl command. A local user can issue crafted device configuration operations to cause a denial of service.
The issue affects COMEDI devices created when the comedi.comedi_num_legacy_minors parameter is non-zero, and inconsistent lock states are reported when different low-level drivers use mismatched spin-lock locking levels.
How to mitigate CVE-2026-43340
Sources
- https://git.kernel.org/stable/c/2b1f49e4fdff3ef0f8e9158bbb5b149e06287560
- https://git.kernel.org/stable/c/3181c34b415c5464be9d34bff3e43ef63b747039
- https://git.kernel.org/stable/c/430291d8f3884f57ae0057049b0ca291453e29e1
- https://git.kernel.org/stable/c/4b9a9a6d71e3e252032f959fb3895a33acb5865c
- https://git.kernel.org/stable/c/4d5ffe524903a30e2e0da7d16841a56bec2de55c
- https://git.kernel.org/stable/c/83134a7a176ce5b4b19b6edecf4360e8d98d1a5a
- https://git.kernel.org/stable/c/b89c026227712c367950bbae055a5b31073d3b30
- https://git.kernel.org/stable/c/c01bcc67a9a692d65508ebd480405b5e77d562b7