# CVE-2022-50542: linux: In the Linux kernel, the following vulnerability has been resolved:  media: si470x: Fix use-after-free in si470x_int_...

CVE-2022-50542 is fixed in linux on 1 platform, first by DEBIAN-CVE-2022-50542, released October 7, 2025. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2022-50542
- Priority: High
- CVSS: 7.8 (high)
- EPSS: 0.0017
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Oct 7, 2025

## Description

In the Linux kernel, the following vulnerability has been resolved:  media: si470x: Fix use-after-free in si470x_int_in_callback()  syzbot reported use-after-free in si470x_int_in_callback() [1].  This indicates that urb->context, which contains struct si470x_device object, is freed when si470x_int_in_callback() is called.  The cause of this issue is that si470x_int_in_callback() is called for freed urb.  si470x_usb_driver_probe() calls si470x_start_usb(), which then calls usb_submit_urb() and si470x_start().  If si470x_start_usb() fails, si470x_usb_driver_probe() doesn't kill urb, but it just frees struct si470x_device object, as depicted below:  si470x_usb_driver_probe()   ...   si470x_start_usb()     ...     usb_submit_urb()     retval = si470x_start()     return retval   if (retval < 0)     free struct si470x_device object, but don't kill urb  This patch fixes this issue by killing urb when si470x_start_usb() fails and urb is submitted.  If si470x_start_usb() fails and urb is not submitted, i.e. submitting usb fails, it just frees struct si470x_device object.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | linux Debian 12.15 (bookworm) | 6.1.4-1 | [DEBIAN-CVE-2022-50542](https://patchblox.com/security/data/fix/linux/debian-cve-2022-50542.md) | Oct 7, 2025 |
| Linux | linux Debian 13.5 (trixie) | 6.1.4-1 | [DEBIAN-CVE-2022-50542](https://patchblox.com/security/data/fix/linux/debian-cve-2022-50542.md) | Oct 7, 2025 |
| Linux | linux Debian 14 | 6.1.4-1 | [DEBIAN-CVE-2022-50542](https://patchblox.com/security/data/fix/linux/debian-cve-2022-50542.md) | Oct 7, 2025 |

---

Data as of 2026-11-09T01:18:40Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
