SB2025100844 - Memory leak in Linux kernel gadget function driver
Published: October 8, 2025 Updated: October 26, 2025
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 security vulnerability.
1) Memory leak (CVE-ID: CVE-2022-50514)
The vulnerability allows a local user to perform a denial of service (DoS) attack.
The vulnerability exists due to memory leak within the hidg_alloc() function in drivers/usb/gadget/function/f_hid.c. A local user can perform a denial of service (DoS) attack.
Remediation
Install update from vendor's website.
References
- https://git.kernel.org/stable/c/216437dd64fce36791a3b6cc8f8013df36856958
- https://git.kernel.org/stable/c/70a3288a7586526315105c699b687d78cd32559a
- https://git.kernel.org/stable/c/80dc47e751a837106c09bec73964ff8f7ea280b4
- https://git.kernel.org/stable/c/95412c932b3c9e8cc4431dac4fac8fcd80d54982
- https://git.kernel.org/stable/c/9d4a0aca8a75550d3456c8de339a341dc4536ec5
- https://git.kernel.org/stable/c/ba78f7c10606719f702c04a15fb0471507b32d7b
- https://git.kernel.org/stable/c/e88b89a096af0001bcff6bf7ad2feb1486487173
- https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.10.163