FKIE_CVE-2026-99555
Vulnerability from fkie_nvd - Published: 2026-11-19 15:18 - Updated: 2026-11-23 08:17
Severity
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().
References
Impacted products
| Vendor | Product | Version |
|---|
{
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/media/usb/usbtv/usbtv-core.c",
"drivers/media/usb/usbtv/usbtv-video.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "3ad747dbf0cd07b41af50978ecd6b819f37ecebc",
"status": "affected",
"version": "4ec4641df57cbdfdc51bb4959afcdbcf5003ddb9",
"versionType": "git"
},
{
"lessThan": "dfc4acc8a05ae8fec335d4425696e3db2dfc6a83",
"status": "affected",
"version": "d5ed208d04acf06781d63d30f9fa991e8d609ebd",
"versionType": "git"
},
{
"lessThan": "53af48fc2ed1336b8a43e6d6ca8ad9ab15548137",
"status": "affected",
"version": "bdd82c47b22a8befd617b723098b2a41b77373c7",
"versionType": "git"
},
{
"lessThan": "93ef58b176a5376e2a73b3025bb3e10f18c28837",
"status": "affected",
"version": "dea46e246ef0f98d89d59a4229157cd9ffb636bf",
"versionType": "git"
},
{
"lessThan": "9b8a85025df329bc3d3e063d153aea3baf72d266",
"status": "affected",
"version": "65e6a2773d655172143cc0b927cdc89549842895",
"versionType": "git"
},
{
"lessThan": "42451fefb076230cdeac1da4e85b08e18af67d18",
"status": "affected",
"version": "65e6a2773d655172143cc0b927cdc89549842895",
"versionType": "git"
},
{
"lessThan": "5f4bd9eebdd2c79603ed74e25da7345bcf63345e",
"status": "affected",
"version": "65e6a2773d655172143cc0b927cdc89549842895",
"versionType": "git"
},
{
"lessThan": "cb705f75d03e946a4514488beb9e3bac9bcdb2e6",
"status": "affected",
"version": "65e6a2773d655172143cc0b927cdc89549842895",
"versionType": "git"
},
{
"status": "affected",
"version": "3e7d82ebb86e94643bdb30b0b5b077ed27dce1c2",
"versionType": "git"
},
{
"lessThan": "5.10.275",
"status": "affected",
"version": "5.10.227",
"versionType": "semver"
},
{
"lessThan": "5.15.226",
"status": "affected",
"version": "5.15.168",
"versionType": "semver"
},
{
"lessThan": "6.1.193",
"status": "affected",
"version": "6.1.113",
"versionType": "semver"
},
{
"lessThan": "6.6.163",
"status": "affected",
"version": "6.6.55",
"versionType": "semver"
},
{
"lessThan": "6.9",
"status": "affected",
"version": "6.8.2",
"versionType": "semver"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/media/usb/usbtv/usbtv-core.c",
"drivers/media/usb/usbtv/usbtv-video.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "6.9"
},
{
"lessThan": "6.9",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.275",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.226",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.193",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.163",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.117",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.61",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.3.*",
"status": "unaffected",
"version": "7.3.2",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.4-rc1",
"versionType": "original_commit_for_fix"
}
]
}
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: usbtv: fix null-pointer dereference on disconnect\n\nA null-pointer dereference can occur in usb_make_path() when called from\nusbtv_querycap() (and other ioctl handlers) during device disconnection.\n\nOops: general protection fault, probably for non-canonical address\n0xdffffc000000000a: 0000 [#1] SMP KASAN NOPTI\nKASAN: null-ptr-deref in range [0x0000000000000050-0x0000000000000057]\nRIP: 0010:usb_make_path include/linux/usb.h:985 [inline]\nRIP: 0010:usbtv_querycap+0x9c/0x100\ndrivers/media/usb/usbtv/usbtv-video.c:612\n...\nCall Trace:\n \u003cTASK\u003e\n v4l_querycap+0x236/0x470 drivers/media/v4l2-core/v4l2-ioctl.c:1106\n __video_do_ioctl+0x8af/0xc70 drivers/media/v4l2-core/v4l2-ioctl.c:3133\n video_usercopy+0x860/0x1430 drivers/media/v4l2-core/v4l2-ioctl.c:3475\n v4l2_ioctl+0x18d/0x1e0 drivers/media/v4l2-core/v4l2-dev.c:366\n vfs_ioctl fs/ioctl.c:51 [inline]\n __do_sys_ioctl fs/ioctl.c:597 [inline]\n __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:583\n do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]\n do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94\n\nThis happens due to a race condition between the USB device disconnect\nroutine (usbtv_disconnect()) and V4L2 ioctls. When the device is\ndisconnected, usbtv_disconnect() sets usbtv-\u003eudev = NULL without holding\nthe usbtv-\u003ev4l2_lock mutex. Concurrently, an ioctl handler like\nusbtv_querycap() can be executing under the v4l2_lock and attempt to use\nusbtv-\u003eudev, leading to a crash.\n\nTo fix this, move the usbtv-\u003eudev = NULL assignment into usbtv_video_free()\nand protect it with mutex_lock(\u0026usbtv-\u003ev4l2_lock). This ensures that no\nnon-queue ioctl handler can run concurrently with the pointer being\nnullified. If an ioctl is already running, the mutex will block the\ndisconnect path until the ioctl finishes. If an ioctl is blocked waiting\nfor the lock, it will acquire it after the disconnect routine releases it,\nbut will then check video_is_registered() (which was cleared by\nvb2_video_unregister_device()) and safely return -ENODEV.\n\nAcquiring v4l2_lock after vb2_video_unregister_device() avoids\nreintroducing a historical deadlock issue, and usbtv_audio_free() remains\nsafe as it is called before usbtv_video_free()."
}
],
"id": "CVE-2026-99555",
"lastModified": "2026-11-23T08:17:57.760",
"metrics": {},
"published": "2026-11-19T15:18:11.957",
"references": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/3ad747dbf0cd07b41af50978ecd6b819f37ecebc"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/42451fefb076230cdeac1da4e85b08e18af67d18"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/53af48fc2ed1336b8a43e6d6ca8ad9ab15548137"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/5f4bd9eebdd2c79603ed74e25da7345bcf63345e"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/93ef58b176a5376e2a73b3025bb3e10f18c28837"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/9b8a85025df329bc3d3e063d153aea3baf72d266"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/cb705f75d03e946a4514488beb9e3bac9bcdb2e6"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/dfc4acc8a05ae8fec335d4425696e3db2dfc6a83"
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"vulnStatus": "Received"
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…