CVE: CVE-2023-54308
Published: 2025-12-30
Description: In the Linux kernel, the following vulnerability has been resolved:

ALSA: ymfpci: Create card with device-managed snd_devm_card_new()

snd_card_ymfpci_remove() was removed in commit c6e6bb5eab74 ("ALSA:
ymfpci: Allocate resources with device-managed APIs"), but the call to
snd_card_new() was not replaced with snd_devm_card_new().

Since there was no longer a call to snd_card_free, unloading the module
would eventually result in Oops:

[[PII_REDACTED]87] BUG: unable to handle page fault for address: ffffffffc0924480
[[PII_REDACTED]93] #PF: supervisor read access in kernel mode
[[PII_REDACTED]96] #PF: error_code(0x0000) - not-present page
[[PII_REDACTED]99] PGD ae1e15067 P4D ae1e15067 PUD ae1e17067 PMD 11a8f5067 PTE 0
[[PII_REDACTED]05] Oops: 0000 [#1] PREEMPT SMP NOPTI
[[PII_REDACTED]09] CPU: 21 PID: 5080 Comm: wireplumber Tainted: G        W  OE      6.2.7 #1
[[PII_REDACTED]14] Hardware name: System manufacturer System Product Name/TUF GAMING X570-PLUS, BIOS 4408 10/28/2022
[[PII_REDACTED]16] RIP: 0010:try_module_get.part.0+0x1a/0xe0
[[PII_REDACTED]24] Code: 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f 44 00 00 55 48 89 e5 41 55 41 54 49 89 fc bf 01 00 00 00 e8 56 3c f8 ff <41> 83 3c 24 02 0f 84 96 00 00 00 41 8b 84 24 30 03 00 00 85 c0 0f
[[PII_REDACTED]27] RSP: 0018:ffffbe9b858c3bd8 EFLAGS: 00010246
[[PII_REDACTED]30] RAX: ffff9815d14f1900 RBX: ffff9815c14e6000 RCX: [PII_REDACTED]
[[PII_REDACTED]33] RDX: [PII_REDACTED] RSI: ffffffffc055092c RDI: ffffffffb3778c1a
[[PII_REDACTED]35] RBP: ffffbe9b858c3be8 R08: [PII_REDACTED] R09: ffff981a1a741380
[[PII_REDACTED]37] R10: ffffbe9b858c3c80 R11: 00000009d56533a6 R12: ffffffffc0924480
[[PII_REDACTED]39] R13: ffff9823439d8500 R14: [PII_REDACTED] R15: ffff9815cd109f80
[[PII_REDACTED]42] FS:  00007f13084f1f80(0000) GS:ffff9824aef40000(0000) knlGS:[PII_REDACTED]
[[PII_REDACTED]45] CS:  0010 DS: 0000 ES: 0000 CR0: [PII_REDACTED]
[[PII_REDACTED]47] CR2: ffffffffc0924480 CR3: [PII_REDACTED] CR4:[PII_REDACTED]350ee0
[[PII_REDACTED]49] Call Trace:
[[PII_REDACTED]51]  <TASK>
[[PII_REDACTED]55]  try_module_get+0x13/0x30
[[PII_REDACTED]60]  snd_ctl_open+0x61/0x1c0 [snd]
[[PII_REDACTED]76]  snd_open+0xb4/0x1e0 [snd]
[[PII_REDACTED]89]  chrdev_open+0xc7/0x240
[[PII_REDACTED]95]  ? fsnotify_perm.part.0+0x6e/0x160
[[PII_REDACTED]00]  ? __pfx_chrdev_open+0x10/0x10
[[PII_REDACTED]05]  do_dentry_open+0x169/0x440
[[PII_REDACTED]09]  vfs_open+0x2d/0x40
[[PII_REDACTED]12]  path_openat+0xa9d/0x10d0
[[PII_REDACTED]17]  ? debug_smp_processor_id+0x17/0x20
[[PII_REDACTED]22]  ? trigger_load_balance+0x65/0x370
[[PII_REDACTED]26]  do_filp_open+0xb2/0x160
[[PII_REDACTED]32]  ? _raw_spin_unlock+0x19/0x40
[[PII_REDACTED]36]  ? alloc_fd+0xa9/0x190
[[PII_REDACTED]40]  do_sys_openat2+0x9f/0x160
[[PII_REDACTED]44]  __x64_sys_openat+0x55/0x90
[[PII_REDACTED]48]  do_syscall_64+0x3b/0x90
[[PII_REDACTED]52]  entry_SYSCALL_64_after_hwframe+0x72/0xdc
[[PII_REDACTED]56] RIP: 0033:0x7f1308a40db4
[[PII_REDACTED]59] Code: 24 20 eb 8f 66 90 44 89 54 24 0c e8 46 68 f8 ff 44 8b 54 24 0c 44 89 e2 48 89 ee 41 89 c0 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 32 44 89 c7 89 44 24 0c e8 78 68 f8 ff 8b 44
[[PII_REDACTED]62] RSP: 002b:00007ffcce664450 EFLAGS: 00000293 ORIG_RAX: [PII_REDACTED]
[[PII_REDACTED]66] RAX: ffffffffffffffda RBX: [PII_REDACTED] RCX: 00007f1308a40db4
[[PII_REDACTED]68] RDX: [PII_REDACTED] RSI: 00007ffcce664690 RDI: 00000000ffffff9c
[[PII_REDACTED]70] RBP: 00007ffcce664690 R08: [PII_REDACTED] R09: [PII_REDACTED]
[[PII_REDACTED]72] R10: [PII_REDACTED] R11: [PII_REDACTED] R12: [PII_REDACTED]
[[PII_REDACTED]74] R13: 00007f13054b069b R14:[PII_REDACTED]f83200 R15: [PII_REDACTED]
[[PII_REDACTED]78]  </TASK>
References: https://git.kernel.org/stable/c/255a81a89501df77379b51a81c7a2e8e7c359bc6; https://git.kernel.org/stable/c/95642872c[PII_REDACTED]99ba796a40771c493ed0c; https://git.kernel.org/stable/c/db7d7782677ff998c06997903d5400a0ba91cebb