CVE-2023-52477: usb: hub: Guard against accesses to uninitialized BOS descriptors

Published Feb 29, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

usb: hub: Guard against accesses to uninitialized BOS descriptors

Many functions in drivers/usb/core/hub.c and drivers/usb/core/hub.h access fields inside udev->bos without checking if it was allocated and initialized. If usbgetbosdescriptor() fails for whatever reason, udev->bos will be NULL and those accesses will result in a crash:

BUG: kernel NULL pointer dereference, address: 0000000000000018 PGD 0 P4D 0 Oops: 0000 [#1] PREEMPT SMP NOPTI CPU: 5 PID: 17818 Comm: kworker/5:1 Tainted: G W 5.15.108-18910-gab0e1cb584e1 #1 <HASH:1f9e 1> Hardware name: Google Kindred/Kindred, BIOS GoogleKindred.12672.413.0 02/03/2021 Workqueue: usbhubwq hubevent RIP: 0010:hubportreset+0x193/0x788 Code: 89 f7 e8 20 f7 15 00 48 8b 43 08 80 b8 96 03 00 00 03 75 36 0f b7 88 92 03 00 00 81 f9 10 03 00 00 72 27 48 8b 80 a8 03 00 00 <48> 83 78 18 00 74 19 48 89 df 48 8b 75 b0 ba 02 00 00 00 4c 89 e9 RSP: 0018:ffffab740c53fcf8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffffa1bc5f678000 RCX: 0000000000000310 RDX: fffffffffffffdff RSI: 0000000000000286 RDI: ffffa1be9655b840 RBP: ffffab740c53fd70 R08: 00001b7d5edaa20c R09: ffffffffb005e060 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000 R13: ffffab740c53fd3e R14: 0000000000000032 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffffa1be96540000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000018 CR3: 000000022e80c005 CR4: 00000000003706e0 Call Trace: hubevent+0x73f/0x156e ? hubactivate+0x5b7/0x68f processonework+0x1a2/0x487 workerthread+0x11a/0x288 kthread+0x13a/0x152 ? processonework+0x487/0x487 ? kthreadassociateblkcg+0x70/0x70 retfromfork+0x1f/0x30

Fall back to a default behavior if the BOS descriptor isn't accessible and skip all the functionalities that depend on it: LPM support checks, Super Speed capabilitiy checks, U1/U2 states setup.

Other sources

In the Linux kernel, the following vulnerability has been resolved:

usb: hub: Guard against accesses to uninitialized BOS descriptors

The Linux kernel CVE team has assigned CVE-2023-52477 to this issue.

Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024022921-CVE-2023-52477-6f20@gregkh/T/#u

— Red Hat

Linux Kernel is vulnerable to a denial of service, caused by a NULL pointer dereference flaw when usbgetbosdescriptor() fails. By sending a specially crafted request, a local authenticated attacker could exploit this vulnerability to cause a denial of service condition.

— IBM

Affected Software

191 affected componentsFixes available
Linux Linux kernel<4.14.328
Linux Linux kernel>=4.15<4.19.297
Linux Linux kernel>=4.20<5.4.259
Linux Linux kernel>=5.5<5.10.199
Linux Linux kernel>=5.11<5.15.136
Linux Linux kernel>=5.16<6.1.59
Linux Linux kernel>=6.2<6.5.8
Linux Linux kernel=6.6-rc1
Linux Linux kernel=6.6-rc2
Linux Linux kernel=6.6-rc3
Linux Linux kernel=6.6-rc4
Linux Linux kernel=6.6-rc5
IBM Security Verify Governance<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Software Stack<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Virtual Appliance<=ISVG 10.0.2
IBM Security Verify Governance Identity Manager Container<=ISVG 10.0.2
redhat/kernel<4.14.328
4.14.328
redhat/kernel<4.19.297
4.19.297
redhat/kernel<5.4.259
5.4.259
redhat/kernel<5.10.199
5.10.199
redhat/kernel<5.15.136
5.15.136
redhat/kernel<6.1.59
6.1.59
redhat/kernel<6.5.8
6.5.8
redhat/kernel<6.6
6.6
ubuntu/linux*
ubuntu/linux-aws<4.4.0-1147.153
4.4.0-1147.153
ubuntu/linux-azure<4.15.0-1192.207~14.04.1
4.15.0-1192.207~14.04.1
ubuntu/linux-lts-xenial<4.4.0-272.306~14.04.1
4.4.0-272.306~14.04.1
ubuntu/linux<4.4.0-272.306
4.4.0-272.306
ubuntu/linux-aws<4.4.0-1185.200
4.4.0-1185.200
ubuntu/linux-aws-hwe<4.15.0-1184.197~16.04.1
4.15.0-1184.197~16.04.1
ubuntu/linux-azure<4.15.0-1192.207~16.04.1
4.15.0-1192.207~16.04.1
ubuntu/linux-gcp<4.15.0-1177.194~16.04.1
4.15.0-1177.194~16.04.1
ubuntu/linux-hwe<4.15.0-241.253~16.04.1
4.15.0-241.253~16.04.1
ubuntu/linux-kvm<4.4.0-1148.159
4.4.0-1148.159
ubuntu/linux-oracle<4.15.0-1148.159~16.04.1
4.15.0-1148.159~16.04.1
ubuntu/linux-hwe-edge*
ubuntu/linux-fips<4.4.0-1117.124
4.4.0-1117.124
ubuntu/linux-fips*
ubuntu/linux<4.15.0-241.253
4.15.0-241.253
ubuntu/linux-aws<4.15.0-1184.197
4.15.0-1184.197
ubuntu/linux-aws-5.0*
ubuntu/linux-aws-5.3*
ubuntu/linux-aws-5.4<5.4.0-1118.128~18.04.1
5.4.0-1118.128~18.04.1
ubuntu/linux-azure*
ubuntu/linux-azure-4.15<4.15.0-1192.207
4.15.0-1192.207
ubuntu/linux-azure-5.3*
ubuntu/linux-azure-5.4<5.4.0-1123.130~18.04.1
5.4.0-1123.130~18.04.1
ubuntu/linux-azure-edge*
ubuntu/linux-gcp*
ubuntu/linux-gcp-4.15<4.15.0-1177.194
4.15.0-1177.194
ubuntu/linux-gcp-5.3*
ubuntu/linux-gcp-5.4<5.4.0-1122.131~18.04.1
5.4.0-1122.131~18.04.1
ubuntu/linux-gke-4.15*
ubuntu/linux-gke-5.4*
ubuntu/linux-gkeop-5.4*
ubuntu/linux-hwe*
ubuntu/linux-hwe-5.4<5.4.0-171.189~18.04.1
5.4.0-171.189~18.04.1
ubuntu/linux-hwe-edge*
ubuntu/linux-ibm-5.4<5.4.0-1065.70~18.04.1
5.4.0-1065.70~18.04.1
ubuntu/linux-kvm<4.15.0-1167.172
4.15.0-1167.172
ubuntu/linux-oem*
ubuntu/linux-oracle<4.15.0-1146.157
4.15.0-1146.157
ubuntu/linux-oracle-5.0*
ubuntu/linux-oracle-5.3*
ubuntu/linux-oracle-5.4<5.4.0-1117.126~18.04.1
5.4.0-1117.126~18.04.1
ubuntu/linux-raspi-5.4<5.4.0-1102.114~18.04.1
5.4.0-1102.114~18.04.1
ubuntu/linux-aws-fips<4.15.0-2122.128
4.15.0-2122.128
ubuntu/linux-azure-fips<4.15.0-2101.107
4.15.0-2101.107
ubuntu/linux-fips<4.15.0-1139.150
4.15.0-1139.150
ubuntu/linux-gcp-fips<4.15.0-2085.91
4.15.0-2085.91
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux<5.4.0-171.189
5.4.0-171.189
ubuntu/linux-aws<5.4.0-1118.128
5.4.0-1118.128
ubuntu/linux-aws-5.15<5.15.0-1053.58~20.04.1
5.15.0-1053.58~20.04.1
ubuntu/linux-azure<5.4.0-1123.130
5.4.0-1123.130
ubuntu/linux-azure-5.15<5.15.0-1056.64~20.04.1
5.15.0-1056.64~20.04.1
ubuntu/linux-bluefield<5.4.0-1078.84
5.4.0-1078.84
ubuntu/linux-gcp<5.4.0-1122.131
5.4.0-1122.131
ubuntu/linux-gcp-5.15<5.15.0-1051.59~20.04.1
5.15.0-1051.59~20.04.1
ubuntu/linux-gkeop<5.4.0-1085.89
5.4.0-1085.89
ubuntu/linux-gkeop-5.15<5.15.0-1036.42~20.04.1
5.15.0-1036.42~20.04.1
ubuntu/linux-hwe-5.15<5.15.0-94.104~20.04.1
5.15.0-94.104~20.04.1
ubuntu/linux-ibm<5.4.0-1065.70
5.4.0-1065.70
ubuntu/linux-ibm-5.15<5.15.0-1046.49~20.04.1
5.15.0-1046.49~20.04.1
ubuntu/linux-intel-iotg-5.15<5.15.0-1048.54~20.04.1
5.15.0-1048.54~20.04.1
ubuntu/linux-iot<5.4.0-1030.31
5.4.0-1030.31
ubuntu/linux-kvm<5.4.0-1106.113
5.4.0-1106.113
ubuntu/linux-lowlatency-hwe-5.15<5.15.0-94.104~20.04.1
5.15.0-94.104~20.04.1
ubuntu/linux-nvidia-tegra-5.15<5.15.0-1022.22~20.04.1
5.15.0-1022.22~20.04.1
ubuntu/linux-oracle<5.4.0-1117.126
5.4.0-1117.126
ubuntu/linux-oracle-5.15<5.15.0-1051.57~20.04.1
5.15.0-1051.57~20.04.1
ubuntu/linux-raspi<5.4.0-1102.114
5.4.0-1102.114
ubuntu/linux-riscv-5.15<5.15.0-1049.53~20.04.2
5.15.0-1049.53~20.04.2
ubuntu/linux-xilinx-zynqmp<5.4.0-1037.41
5.4.0-1037.41
ubuntu/linux-aws-5.11*
ubuntu/linux-aws-5.13*
ubuntu/linux-aws-5.8*
ubuntu/linux-azure-5.11*
ubuntu/linux-azure-5.13*
ubuntu/linux-azure-5.8*
ubuntu/linux-azure-fde*
ubuntu/linux-gcp-5.11*
ubuntu/linux-gcp-5.13*
ubuntu/linux-gcp-5.8*
ubuntu/linux-gke*
ubuntu/linux-gke-5.15*
ubuntu/linux-hwe-5.11*
ubuntu/linux-hwe-5.13*
ubuntu/linux-hwe-5.8*
ubuntu/linux-intel-5.13*
ubuntu/linux-oem-5.10*
ubuntu/linux-oem-5.13*
ubuntu/linux-oem-5.6*
ubuntu/linux-oracle-5.11*
ubuntu/linux-oracle-5.13*
ubuntu/linux-oracle-5.8*
ubuntu/linux-raspi2*
ubuntu/linux-riscv*
ubuntu/linux-riscv-5.11*
ubuntu/linux-riscv-5.8*
ubuntu/linux-aws-fips<5.4.0-1118.128+fips1
5.4.0-1118.128+fips1
ubuntu/linux-azure-fips<5.4.0-1123.130+fips1
5.4.0-1123.130+fips1
ubuntu/linux-fips<5.4.0-1092.102
5.4.0-1092.102
ubuntu/linux-gcp-fips<5.4.0-1122.131+fips1
5.4.0-1122.131+fips1
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux<5.15.0-94.104
5.15.0-94.104
ubuntu/linux-allwinner-5.19*
ubuntu/linux-aws<5.15.0-1053.58
5.15.0-1053.58
ubuntu/linux-aws-5.19*
ubuntu/linux-aws-6.2*
ubuntu/linux-aws-6.5*
ubuntu/linux-azure<5.15.0-1056.64
5.15.0-1056.64
ubuntu/linux-azure-5.19*
ubuntu/linux-azure-6.2*
ubuntu/linux-azure-6.5*
ubuntu/linux-azure-fde<5.15.0-1056.64.1
5.15.0-1056.64.1
ubuntu/linux-azure-fde-5.19*
ubuntu/linux-azure-fde-6.2*
ubuntu/linux-gcp<5.15.0-1051.59
5.15.0-1051.59
ubuntu/linux-gcp-5.19*
ubuntu/linux-gcp-6.2*
ubuntu/linux-gcp-6.5*
ubuntu/linux-gke<5.15.0-1050.55
5.15.0-1050.55
ubuntu/linux-gkeop<5.15.0-1036.42
5.15.0-1036.42
ubuntu/linux-hwe-5.19*
ubuntu/linux-hwe-6.2*
ubuntu/linux-hwe-6.5*
ubuntu/linux-ibm<5.15.0-1046.49
5.15.0-1046.49
ubuntu/linux-intel-iotg<5.15.0-1047.53
5.15.0-1047.53
ubuntu/linux-kvm<5.15.0-1050.55
5.15.0-1050.55
ubuntu/linux-lowlatency<5.15.0-94.104
5.15.0-94.104
ubuntu/linux-lowlatency-hwe-5.19*
ubuntu/linux-lowlatency-hwe-6.2*
ubuntu/linux-lowlatency-hwe-6.5*
ubuntu/linux-nvidia<5.15.0-1044.44
5.15.0-1044.44
ubuntu/linux-nvidia-6.2*
ubuntu/linux-nvidia-6.5<6.5.0-1014.14
6.5.0-1014.14
ubuntu/linux-nvidia-tegra<5.15.0-1022.22
5.15.0-1022.22
ubuntu/linux-nvidia-tegra-igx<5.15.0-1009.9
5.15.0-1009.9
ubuntu/linux-oem-5.17*
ubuntu/linux-oem-6.0*
ubuntu/linux-oem-6.1*
ubuntu/linux-oem-6.5*
ubuntu/linux-oracle<5.15.0-1051.57
5.15.0-1051.57
ubuntu/linux-oracle-6.5*
ubuntu/linux-raspi<5.15.0-1046.49
5.15.0-1046.49
ubuntu/linux-realtime*
ubuntu/linux-riscv*
ubuntu/linux-riscv-5.19*
ubuntu/linux-starfive-5.19*
ubuntu/linux-starfive-6.2*
ubuntu/linux-xilinx-zynqmp<5.15.0-1027.31
5.15.0-1027.31
ubuntu/linux-bluefield<5.15.0-1035.37
5.15.0-1035.37
ubuntu/linux-intel-iot-realtime<5.15.0-1046.48
5.15.0-1046.48
ubuntu/linux-realtime<5.15.0-1054.60
5.15.0-1054.60
ubuntu/linux-aws-fips*
ubuntu/linux-azure-fips*
ubuntu/linux-fips*
ubuntu/linux-gcp-fips*
ubuntu/linux-aws-fips<5.15.0-1053.58+fips1
5.15.0-1053.58+fips1
ubuntu/linux-fips<5.15.0-94.104+fips1
5.15.0-94.104+fips1
ubuntu/linux-gcp-fips<5.15.0-1055.63+fips2
5.15.0-1055.63+fips2
ubuntu/linux-raspi-realtime*
ubuntu/linux-vmware*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 4.14.328
  2. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 4.19.297
  3. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 5.4.259
  4. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 5.10.199
  5. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 5.15.136
  6. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.1.59
  7. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.5.8
  8. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.6
  9. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.4.0-1147.153
  10. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 4.15.0-1192.207~14.04.1
  11. Upgrade

    Upgrade ubuntu/linux-lts-xenial to a version that resolves this vulnerability.

    Fixed in 4.4.0-272.306~14.04.1
  12. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 4.4.0-272.306
  13. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.4.0-1185.200
  14. Upgrade

    Upgrade ubuntu/linux-aws-hwe to a version that resolves this vulnerability.

    Fixed in 4.15.0-1184.197~16.04.1
  15. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 4.15.0-1192.207~16.04.1
  16. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 4.15.0-1177.194~16.04.1
  17. Upgrade

    Upgrade ubuntu/linux-hwe to a version that resolves this vulnerability.

    Fixed in 4.15.0-241.253~16.04.1
  18. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 4.4.0-1148.159
  19. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 4.15.0-1148.159~16.04.1
  20. Upgrade

    Upgrade ubuntu/linux-fips to a version that resolves this vulnerability.

    Fixed in 4.4.0-1117.124
  21. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 4.15.0-241.253
  22. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 4.15.0-1184.197
  23. Upgrade

    Upgrade ubuntu/linux-aws-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1118.128~18.04.1
  24. Upgrade

    Upgrade ubuntu/linux-azure-4.15 to a version that resolves this vulnerability.

    Fixed in 4.15.0-1192.207
  25. Upgrade

    Upgrade ubuntu/linux-azure-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1123.130~18.04.1
  26. Upgrade

    Upgrade ubuntu/linux-gcp-4.15 to a version that resolves this vulnerability.

    Fixed in 4.15.0-1177.194
  27. Upgrade

    Upgrade ubuntu/linux-gcp-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1122.131~18.04.1
  28. Upgrade

    Upgrade ubuntu/linux-hwe-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-171.189~18.04.1
  29. Upgrade

    Upgrade ubuntu/linux-ibm-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1065.70~18.04.1
  30. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 4.15.0-1167.172
  31. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 4.15.0-1146.157
  32. Upgrade

    Upgrade ubuntu/linux-oracle-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1117.126~18.04.1
  33. Upgrade

    Upgrade ubuntu/linux-raspi-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1102.114~18.04.1
  34. Upgrade

    Upgrade ubuntu/linux-aws-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-2122.128
  35. Upgrade

    Upgrade ubuntu/linux-azure-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-2101.107
  36. Upgrade

    Upgrade ubuntu/linux-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-1139.150
  37. Upgrade

    Upgrade ubuntu/linux-gcp-fips to a version that resolves this vulnerability.

    Fixed in 4.15.0-2085.91
  38. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 5.4.0-171.189
  39. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 5.4.0-1118.128
  40. Upgrade

    Upgrade ubuntu/linux-aws-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1053.58~20.04.1
  41. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 5.4.0-1123.130
  42. Upgrade

    Upgrade ubuntu/linux-azure-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1056.64~20.04.1
  43. Upgrade

    Upgrade ubuntu/linux-bluefield to a version that resolves this vulnerability.

    Fixed in 5.4.0-1078.84
  44. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 5.4.0-1122.131
  45. Upgrade

    Upgrade ubuntu/linux-gcp-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1051.59~20.04.1
  46. Upgrade

    Upgrade ubuntu/linux-gkeop to a version that resolves this vulnerability.

    Fixed in 5.4.0-1085.89
  47. Upgrade

    Upgrade ubuntu/linux-gkeop-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1036.42~20.04.1
  48. Upgrade

    Upgrade ubuntu/linux-hwe-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-94.104~20.04.1
  49. Upgrade

    Upgrade ubuntu/linux-ibm to a version that resolves this vulnerability.

    Fixed in 5.4.0-1065.70
  50. Upgrade

    Upgrade ubuntu/linux-ibm-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1046.49~20.04.1
  51. Upgrade

    Upgrade ubuntu/linux-intel-iotg-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1048.54~20.04.1
  52. Upgrade

    Upgrade ubuntu/linux-iot to a version that resolves this vulnerability.

    Fixed in 5.4.0-1030.31
  53. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 5.4.0-1106.113
  54. Upgrade

    Upgrade ubuntu/linux-lowlatency-hwe-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-94.104~20.04.1
  55. Upgrade

    Upgrade ubuntu/linux-nvidia-tegra-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1022.22~20.04.1
  56. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 5.4.0-1117.126
  57. Upgrade

    Upgrade ubuntu/linux-oracle-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1051.57~20.04.1
  58. Upgrade

    Upgrade ubuntu/linux-raspi to a version that resolves this vulnerability.

    Fixed in 5.4.0-1102.114
  59. Upgrade

    Upgrade ubuntu/linux-riscv-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1049.53~20.04.2
  60. Upgrade

    Upgrade ubuntu/linux-xilinx-zynqmp to a version that resolves this vulnerability.

    Fixed in 5.4.0-1037.41
  61. Upgrade

    Upgrade ubuntu/linux-aws-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1118.128+fips1
  62. Upgrade

    Upgrade ubuntu/linux-azure-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1123.130+fips1
  63. Upgrade

    Upgrade ubuntu/linux-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1092.102
  64. Upgrade

    Upgrade ubuntu/linux-gcp-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1122.131+fips1
  65. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 5.15.0-94.104
  66. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 5.15.0-1053.58
  67. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 5.15.0-1056.64
  68. Upgrade

    Upgrade ubuntu/linux-azure-fde to a version that resolves this vulnerability.

    Fixed in 5.15.0-1056.64.1
  69. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 5.15.0-1051.59
  70. Upgrade

    Upgrade ubuntu/linux-gke to a version that resolves this vulnerability.

    Fixed in 5.15.0-1050.55
  71. Upgrade

    Upgrade ubuntu/linux-gkeop to a version that resolves this vulnerability.

    Fixed in 5.15.0-1036.42
  72. Upgrade

    Upgrade ubuntu/linux-ibm to a version that resolves this vulnerability.

    Fixed in 5.15.0-1046.49
  73. Upgrade

    Upgrade ubuntu/linux-intel-iotg to a version that resolves this vulnerability.

    Fixed in 5.15.0-1047.53
  74. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 5.15.0-1050.55
  75. Upgrade

    Upgrade ubuntu/linux-lowlatency to a version that resolves this vulnerability.

    Fixed in 5.15.0-94.104
  76. Upgrade

    Upgrade ubuntu/linux-nvidia to a version that resolves this vulnerability.

    Fixed in 5.15.0-1044.44
  77. Upgrade

    Upgrade ubuntu/linux-nvidia-6.5 to a version that resolves this vulnerability.

    Fixed in 6.5.0-1014.14
  78. Upgrade

    Upgrade ubuntu/linux-nvidia-tegra to a version that resolves this vulnerability.

    Fixed in 5.15.0-1022.22
  79. Upgrade

    Upgrade ubuntu/linux-nvidia-tegra-igx to a version that resolves this vulnerability.

    Fixed in 5.15.0-1009.9
  80. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 5.15.0-1051.57
  81. Upgrade

    Upgrade ubuntu/linux-raspi to a version that resolves this vulnerability.

    Fixed in 5.15.0-1046.49
  82. Upgrade

    Upgrade ubuntu/linux-xilinx-zynqmp to a version that resolves this vulnerability.

    Fixed in 5.15.0-1027.31
  83. Upgrade

    Upgrade ubuntu/linux-bluefield to a version that resolves this vulnerability.

    Fixed in 5.15.0-1035.37
  84. Upgrade

    Upgrade ubuntu/linux-intel-iot-realtime to a version that resolves this vulnerability.

    Fixed in 5.15.0-1046.48
  85. Upgrade

    Upgrade ubuntu/linux-realtime to a version that resolves this vulnerability.

    Fixed in 5.15.0-1054.60
  86. Upgrade

    Upgrade ubuntu/linux-aws-fips to a version that resolves this vulnerability.

    Fixed in 5.15.0-1053.58+fips1
  87. Upgrade

    Upgrade ubuntu/linux-fips to a version that resolves this vulnerability.

    Fixed in 5.15.0-94.104+fips1
  88. Upgrade

    Upgrade ubuntu/linux-gcp-fips to a version that resolves this vulnerability.

    Fixed in 5.15.0-1055.63+fips2
  89. Compensating control

    For USB hub handling, guard all accesses to udev->bos when the BOS descriptor is uninitialized or unavailable; fall back to default behavior and skip LPM support checks, SuperSpeed capability checks, and U1/U2 state setup when usb_get_bos_descriptor() fails.

Event History

Feb 29, 2024
CVE Published
via MITRE·05:43 AM
Data Sourced
via MITRE·05:43 AM
Description
Data Sourced
via OSV·06:15 AM
DescriptionSeverityAffected Software
Data Sourced
via Red Hat·11:18 AM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2023-52477?

CVE-2023-52477 is classified as a high-severity vulnerability that affects the Linux kernel.

2

How do I fix CVE-2023-52477?

To fix CVE-2023-52477, you should update your Linux kernel to a version that is 4.14.328 or later, 4.19.297 or later, 5.4.259 or later, 5.10.199 or later, 5.15.136 or later, 6.1.59 or later, 6.5.8 or later, or 6.6 or later.

3

What kind of issues does CVE-2023-52477 cause?

CVE-2023-52477 can lead to potential memory corruption due to uninitialized BOS descriptors being accessed in USB hub drivers.

4

Which Linux kernel versions are affected by CVE-2023-52477?

CVE-2023-52477 affects Linux kernel versions prior to 4.14.328, between 4.15 and 4.19.297, between 4.20 and 5.4.259, between 5.5 and 5.10.199, between 5.11 and 5.15.136, between 5.16 and 6.1.59, between 6.2 and 6.5.8, and specific release candidates of 6.6.

5

Is CVE-2023-52477 a remote exploit?

CVE-2023-52477 can potentially be exploited remotely, especially against vulnerable USB devices connected to the affected Linux systems.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203