usb: gadget: uvc: Fix null pointer dereference in uvcg_video_init()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.18.50, 7.2.4
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: usb: gadget: uvc: Fix null pointer dereference in uvcg_video_init() In uvcg_video_init(), if kthread_run_worker() fails, the error logged uses uvcg_err(), however, the pointer it uses: video->uvc is not assigned at this point, triggering a null pointer dereference. Fix this by directly using uvc->func which is assigned already.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From f0bbfbd16b3b67106535299d6a9ca3a5565494a6 · fixed in dbe2762ae8e543b06c57f1ac6512b02fd3fd09b2; From f0bbfbd16b3b67106535299d6a9ca3a5565494a6 · fixed in d511e015d06767f52bb18d48371cab6d7cb88433; From f0bbfbd16b3b67106535299d6a9ca3a5565494a6 · fixed in 5b1da38592efdc1a263d4c0353298cba19e9d6fc
- Linux Linux
6.13
- KernelLinux
From 6.13.0 · fixed in 6.18.50; From 6.19.0 · fixed in 7.2.4