CVE-2026-99555Linux
NVD
Vulnerability Summary
In the Linux kernel, the following vulnerability has been resolved:
media: usbtv: fix null-pointer dereference on disconnect
A null-pointer dereference can occur in usb_make_path() when called from
usbtv_querycap() (and other ioctl handlers) during device disconnection.
Oops: general protection fault, probably for non-canonical address
0xdffffc000000000a: 0000 [#1] SMP KASAN NOPTI
KASAN: null-ptr-deref in range [0x0000000000000050-0x0000000000000057]
RIP: 0010:usb_make_path include/linux/usb.h:985 [inline]
RIP: 0010:usbtv_querycap+0x9c/0x100
drivers/media/usb/usbtv/usbtv-video.c:612
...
Call Trace:
<TASK>
v4l_querycap+0x236/0x470 drivers/media/v4l2-core/v4l2-ioctl.c:1106
__video_do_ioctl+0x8af/0xc70 drivers/media/v4l2-core/v4l2-ioctl.c:3133
video_usercopy+0x860/0x1430 drivers/media/v4l2-core/v4l2-ioctl.c:3475
v4l2_ioctl+0x18d/0x1e0 drivers/media/v4l2-core/v4l2-dev.c:366
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:597 [inline]
__se_sys_ioctl+0xfc/0x170 fs/ioctl.c:583
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
This happens due to a race condition between the USB device disconnect
routine (usbtv_disconnect()) and V4L2 ioctls. When the device is
disconnected, usbtv_disconnect() sets usbtv->udev = NULL without holding
the usbtv->v4l2_lock mutex. Concurrently, an ioctl handler like
usbtv_querycap() can be executing under the v4l2_lock and attempt to use
usbtv->udev, leading to a crash.
To fix this, move the usbtv->udev = NULL assignment into usbtv_video_free()
and protect it with mutex_lock(&usbtv->v4l2_lock). This ensures that no
non-queue ioctl handler can run concurrently with the pointer being
nullified. If an ioctl is already running, the mutex will block the
disconnect path until the ioctl finishes. If an ioctl is blocked waiting
for the lock, it will acquire it after the disconnect routine releases it,
but will then check video_is_registered() (which was cleared by
vb2_video_unregister_device()) and safely return -ENODEV.
Acquiring v4l2_lock after vb2_video_unregister_device() avoids
reintroducing a historical deadlock issue, and usbtv_audio_free() remains
safe as it is called before usbtv_video_free().
media: usbtv: fix null-pointer dereference on disconnect
A null-pointer dereference can occur in usb_make_path() when called from
usbtv_querycap() (and other ioctl handlers) during device disconnection.
Oops: general protection fault, probably for non-canonical address
0xdffffc000000000a: 0000 [#1] SMP KASAN NOPTI
KASAN: null-ptr-deref in range [0x0000000000000050-0x0000000000000057]
RIP: 0010:usb_make_path include/linux/usb.h:985 [inline]
RIP: 0010:usbtv_querycap+0x9c/0x100
drivers/media/usb/usbtv/usbtv-video.c:612
...
Call Trace:
<TASK>
v4l_querycap+0x236/0x470 drivers/media/v4l2-core/v4l2-ioctl.c:1106
__video_do_ioctl+0x8af/0xc70 drivers/media/v4l2-core/v4l2-ioctl.c:3133
video_usercopy+0x860/0x1430 drivers/media/v4l2-core/v4l2-ioctl.c:3475
v4l2_ioctl+0x18d/0x1e0 drivers/media/v4l2-core/v4l2-dev.c:366
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:597 [inline]
__se_sys_ioctl+0xfc/0x170 fs/ioctl.c:583
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
This happens due to a race condition between the USB device disconnect
routine (usbtv_disconnect()) and V4L2 ioctls. When the device is
disconnected, usbtv_disconnect() sets usbtv->udev = NULL without holding
the usbtv->v4l2_lock mutex. Concurrently, an ioctl handler like
usbtv_querycap() can be executing under the v4l2_lock and attempt to use
usbtv->udev, leading to a crash.
To fix this, move the usbtv->udev = NULL assignment into usbtv_video_free()
and protect it with mutex_lock(&usbtv->v4l2_lock). This ensures that no
non-queue ioctl handler can run concurrently with the pointer being
nullified. If an ioctl is already running, the mutex will block the
disconnect path until the ioctl finishes. If an ioctl is blocked waiting
for the lock, it will acquire it after the disconnect routine releases it,
but will then check video_is_registered() (which was cleared by
vb2_video_unregister_device()) and safely return -ENODEV.
Acquiring v4l2_lock after vb2_video_unregister_device() avoids
reintroducing a historical deadlock issue, and usbtv_audio_free() remains
safe as it is called before usbtv_video_free().
Affected & Patched Versions
- Linux >= 4ec4641df57cbdfdc51bb4959afcdbcf5003ddb9 and < 3ad747dbf0cd07b41af50978ecd6b819f37ecebc
- Linux >= d5ed208d04acf06781d63d30f9fa991e8d609ebd and < dfc4acc8a05ae8fec335d4425696e3db2dfc6a83
- Linux >= bdd82c47b22a8befd617b723098b2a41b77373c7 and < 53af48fc2ed1336b8a43e6d6ca8ad9ab15548137
- Linux >= dea46e246ef0f98d89d59a4229157cd9ffb636bf and < 93ef58b176a5376e2a73b3025bb3e10f18c28837
- Linux >= 65e6a2773d655172143cc0b927cdc89549842895 and < 9b8a85025df329bc3d3e063d153aea3baf72d266
- Linux >= 65e6a2773d655172143cc0b927cdc89549842895 and < 42451fefb076230cdeac1da4e85b08e18af67d18
- Linux >= 65e6a2773d655172143cc0b927cdc89549842895 and < 5f4bd9eebdd2c79603ed74e25da7345bcf63345e
- Linux >= 65e6a2773d655172143cc0b927cdc89549842895 and < cb705f75d03e946a4514488beb9e3bac9bcdb2e6
- Linux 3e7d82ebb86e94643bdb30b0b5b077ed27dce1c2
- Linux >= 5.10.227 and < 5.10.275
- Linux >= 5.15.168 and < 5.15.226
- Linux >= 6.1.113 and < 6.1.193
- Linux >= 6.6.55 and < 6.6.163
- Linux >= 6.8.2 and < 6.9
- Linux 6.9
- Linux 3ad747dbf0cd07b41af50978ecd6b819f37ecebc
- Linux dfc4acc8a05ae8fec335d4425696e3db2dfc6a83
- Linux 53af48fc2ed1336b8a43e6d6ca8ad9ab15548137
- Linux 93ef58b176a5376e2a73b3025bb3e10f18c28837
- Linux 9b8a85025df329bc3d3e063d153aea3baf72d266
- Linux 42451fefb076230cdeac1da4e85b08e18af67d18
- Linux 5f4bd9eebdd2c79603ed74e25da7345bcf63345e
- Linux cb705f75d03e946a4514488beb9e3bac9bcdb2e6
- Linux 5.10.275
- Linux 5.15.226
- Linux 6.1.193
- Linux 6.6.163
- Linux 6.9
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run Linux and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 19, 2026Published
- Nov 23, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Linux CVEsYou are reading CVE-2026-99555. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Referencehttps://git.kernel.org/stable/c/3ad747dbf0cd07b41af50978ecd6b819f37ecebc
- Referencehttps://git.kernel.org/stable/c/42451fefb076230cdeac1da4e85b08e18af67d18
- Referencehttps://git.kernel.org/stable/c/53af48fc2ed1336b8a43e6d6ca8ad9ab15548137
- Referencehttps://git.kernel.org/stable/c/5f4bd9eebdd2c79603ed74e25da7345bcf63345e
- Referencehttps://git.kernel.org/stable/c/93ef58b176a5376e2a73b3025bb3e10f18c28837
- Referencehttps://git.kernel.org/stable/c/9b8a85025df329bc3d3e063d153aea3baf72d266
- Referencehttps://git.kernel.org/stable/c/cb705f75d03e946a4514488beb9e3bac9bcdb2e6
- Referencehttps://git.kernel.org/stable/c/dfc4acc8a05ae8fec335d4425696e3db2dfc6a83
Data last checked: Nov 24, 2026 14:13 UTC