Read the docs
TI-2021-22091 Aliases CVE-2021-47436GHSA-6xwm-63wf-q2q3

usb: musb: dsps: Fix the probe error path

Priority LOW 24CWE-476Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Partial Red Hat: 2 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-476.

Summary

In the Linux kernel, the following vulnerability has been resolved: usb: musb: dsps: Fix the probe error path Commit 7c75bde329d7 ("usb: musb: musb_dsps: request_irq() after initializing musb") has inverted the calls to dsps_setup_optional_vbus_irq() and dsps_create_musb_pdev() without updating correctly the error path. dsps_create_musb_pdev() allocates and registers a new platform device which must be unregistered and freed with platform_device_unregister(), and this is missing upon dsps_setup_optional_vbus_irq() error. While on the master branch it seems not to trigger any issue, I observed a kernel crash because of a NULL pointer dereference with a v5.10.70 stable kernel where the patch mentioned above was backported. With this kernel version, -EPROBE_DEFER is returned the first time dsps_setup_optional_vbus_irq() is called which triggers the probe to error out without unregistering the platform device. Unfortunately, on the Beagle Bone Black Wireless, the platform device still living in the system is being used by the USB Ethernet gadget driver, which during the boot phase triggers the crash. My limited knowledge of the musb world prevents me to revert this commit which was sent to silence a robot warning which, as far as I understand, does not make sense. The goal of this patch was to prevent an IRQ to fire before the platform device being registered. I think this cannot ever happen due to the fact that enabling the interrupts is done by the ->enable() callback of the platform musb device, and this platform device must be already registered in order for the core or any other user to use this callback. Hence, I decided to fix the error path, which might prevent future errors on mainline kernels while also fixing older ones.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00226 13th percentileScored 2026-11-07
Fix Partial Linux (Linux): 5.14, 4.14.252, 4.19.213 +3Red Hat: 2 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
LinuxLinux5.13.19 to before 5.145.14Patch availableCNA
LinuxLinux4.14.247 to before 4.14.252; 4.19.207 to before 4.19.213; 5.4.148 to before 5.4.155; 5.10.67 to before 5.10.75; 5.14.6 to before 5.14.144.14.252, 4.19.213, 5.4.155, 5.10.75, 5.14.14Patch availableCNA
  • Linux VendorLinux Affected 5.13.19 to before 5.14 Fixed in 5.14 Patch available CNA
  • Linux VendorLinux Affected 4.14.247 to before 4.14.252; 4.19.207 to before 4.19.213; 5.4.148 to before 5.4.155; 5.10.67 to before 5.10.75; 5.14.6 to before 5.14.14 Fixed in 4.14.252, 4.19.213, 5.4.155, 5.10.75, 5.14.14 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*4.14.247 to before 4.14.252; 4.19.207 to before 4.19.213; 5.4.148 to before 5.4.155; 5.10.67 to before 5.10.75; 5.13.19 to before 5.14; 5.14.6 to before 5.14.14VulnerableLinux
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 4.14.247 to before 4.14.252; 4.19.207 to before 4.19.213; 5.4.148 to before 5.4.155; 5.10.67 to before 5.10.75; 5.13.19 to before 5.14; 5.14.6 to before 5.14.14 Vulnerable ·Linux

Remediation

  • Fix · CNA Linux (Linux) Fixed in 5.14
  • Fix · CNA Linux (Linux) Fixed in 4.14.252, 4.19.213, 5.4.155, 5.10.75, 5.14.14

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 7AffectedNo fix planned: Out of support scope
Not affected: 2 products
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-47436
  2. 2026-10-03 Alias added: GHSA-6xwm-63wf-q2q3

References

  • TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
  • TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
  • TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
  • TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
  • TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
See all 15278 →

Sources