CVE-2024-50075: xhci: tegra: fix checked USB2 port number
In the Linux kernel, the following vulnerability has been resolved:
xhci: tegra: fix checked USB2 port number
If USB virtualizatoin is enabled, USB2 ports are shared between all Virtual Functions. The USB2 port number owned by an USB2 root hub in a Virtual Function may be less than total USB2 phy number supported by the Tegra XUSB controller.
Using total USB2 phy number as port number to check all PORTSC values would cause invalid memory access.
[ 116.923438] Unable to handle kernel paging request at virtual address 006c622f7665642f ... [ 117.213640] Call trace: [ 117.216783] tegraxusbenterelpg+0x23c/0x658 [ 117.222021] tegraxusbruntimesuspend+0x40/0x68 [ 117.227260] pmgenericruntimesuspend+0x30/0x50 [ 117.232847] rpmcallback+0x84/0x3c0 [ 117.237038] rpmsuspend+0x2dc/0x740 [ 117.241229] pmruntimework+0xa0/0xb8 [ 117.245769] processscheduledworks+0x24c/0x478 [ 117.251007] workerthread+0x23c/0x328 [ 117.255547] kthread+0x104/0x1b0 [ 117.259389] retfromfork+0x10/0x20 [ 117.263582] Code: 54000222 f9461ae8 f8747908 b4ffff48 (f9400100)
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1
Event History
Frequently Asked Questions
What is the severity of CVE-2024-50075?
CVE-2024-50075 has been classified as a medium severity vulnerability affecting specific versions of the Linux kernel.
How do I fix CVE-2024-50075?
To resolve CVE-2024-50075, update the Linux kernel to a version that includes the fix for this vulnerability.
Which versions of the Linux kernel are affected by CVE-2024-50075?
CVE-2024-50075 affects the Linux kernel versions from 6.3 up to 6.6.58 and specific release candidates like 6.12-rc1, 6.12-rc2, and 6.12-rc3.
What components does CVE-2024-50075 impact?
CVE-2024-50075 impacts USB virtualization functions within the Linux kernel related to USB2 port assignments.
Is CVE-2024-50075 exploitable?
Yes, if USB virtualization is enabled, CVE-2024-50075 could potentially allow unauthorized access to USB2 ports.