CVE-2023-54308

Description

A flaw was found in the Linux kernel's ALSA ymfpci sound driver. During a previous refactoring commit that removed snd_card_ymfpci_remove(), the snd_card_new() call was not updated to snd_devm_card_new(). This omission means snd_card_free() is never called during module unload, leading to a kernel oops when userspace attempts to access the sound device after module removal.

Statement

This affects systems with Yamaha YMF724/740/744/754 PCI sound cards using the ymfpci driver. The crash occurs only after the module is unloaded and a subsequent access attempt is made to the sound device. Standard system operation without module unloading is unaffected, limiting the impact to administrative driver management scenarios.

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 Score4.7N/A7.8
Attack VectorLocalN/ALocal
Attack ComplexityHighN/ALow
Privileges RequiredLowN/ALow
User InteractionNoneN/ANone
ScopeUnchangedN/AUnchanged
ConfidentialityNoneN/AHigh
Integrity ImpactNoneN/AHigh
Availability ImpactHighN/AHigh

Vector

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

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

Understanding the Weakness (CWE)

Other,Confidentiality,Integrity

Technical Impact: Other; Read Application Data; Modify Application Data; DoS: Resource Consumption (Other)

It is possible to overflow the number of temporary files because directories typically have limits on the number of files allowed. This could create a denial of service problem.

Frequently Asked Questions

Want to get errata notifications? Sign up here.