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 Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 5.5 | 7.8 | 7.8 |
| Attack Vector | Local | Local | Local |
| Attack Complexity | Low | Low | Low |
| Privileges Required | Low | Low | Low |
| User Interaction | None | None | None |
| Scope | Unchanged | Unchanged | Unchanged |
| Confidentiality | None | High | High |
| Integrity Impact | None | High | High |
| Availability Impact | High | High | High |
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
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.