CWE data temporarily unavailableCWE data is currently experiencing intermittent outages, which may cause incomplete section loading on CVE pages. We are actively working on a fix.

CVE-2024-50150

Description

A flaw was found in the Linux kernel's USB Type-C alternate mode (altmode) driver. A local attacker could exploit a use-after-free vulnerability when the altmode device release refers to its parent without maintaining a proper reference. This could lead to a system crash, resulting in a denial of service.

Mitigation

To mitigate this issue, prevent the `typec` kernel module from loading. This can be achieved by creating a blacklist entry for the module.

Create a file named `/etc/modprobe.d/blacklist-typec.conf` with the following content:

blacklist typec

After creating the file, regenerate the initramfs to ensure the blacklist is applied during boot:

For systems using Dracut:

bash
dracut -f -v

For systems using mkinitcpio:

bash
mkinitcpio -P

A system reboot is required for the changes to take effect. Disabling this module may impact functionality related to USB Type-C alternate modes.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score5.57.87.8
Attack VectorLocalLocalLocal
Attack ComplexityLowLowLow
Privileges RequiredLowLowLow
User InteractionNoneNoneNone
ScopeUnchangedUnchangedUnchanged
ConfidentialityNoneHighHigh
Integrity ImpactNoneHighHigh
Availability ImpactHighHighHigh

Vector

Red Hat: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

NVD: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

cve.org: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Red Hat CVSS v3 Score Explanation

A successful exploitation of this vulnerability can only result in denial of service style attacks and not damage to the confidentiality or integrity of the system which is why the CVSS has been marked as such.

Frequently Asked Questions

Want to get errata notifications? Sign up here.