nday
CVE-2022-50773

ALSA: mts64: fix possible null-ptr-defer in snd_mts64_interrupt

Linux / Linux

揭露時間:。nday 尚未取得修補依據,不能據此認為沒有修補。四個 PoC 來源皆未收錄。目前未列入 CISA KEV。

tags productLinux kernel product typeoperating system
why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

Linux kernel
affected products in the CVE record: Linux · Linux
operating system
affected products in the CVE record: Linux · Linuxthe product type of Linux kernel in nday's product registry
目前階段
DIS
揭露時間
CVSS
暫無評分

生命週期

橫軸 UTC;點=精確到分鐘,寬條=僅日期,空心=不明或推斷。
時間不明
DIS揭露
2025-12-24T13:06Z
PAT修補
尚無紀錄
ANA分析
尚無紀錄
POCPoC
尚無紀錄
ITW遭利用
尚無紀錄
KEVKEV
尚無紀錄

摘要

In the Linux kernel, the following vulnerability has been resolved:

ALSA: mts64: fix possible null-ptr-defer in snd_mts64_interrupt

I got a null-ptr-defer error report when I do the following tests on the qemu platform:

make defconfig and CONFIG_PARPORT=m, CONFIG_PARPORT_PC=m, CONFIG_SND_MTS64=m

Then making test scripts: cat>test_mod1.sh<<EOF modprobe snd-mts64 modprobe snd-mts64 EOF

Executing the script, perhaps several times, we will get a null-ptr-defer report, as follow:

syzkaller:~# ./test_mod.sh snd_mts64: probe of snd_mts64.0 failed with error -5 modprobe: ERROR: could not insert 'snd_mts64': No such device

BUG: kernel NULL pointer dereference, address: 0000000000000000
#PF: supervisor write access in kernel mode
#PF: error_code(0x0002) - not-present page
PGD 0 P4D 0
Oops: 0002 [#1] PREEMPT SMP PTI
CPU: 0 PID: 205 Comm: modprobe Not tainted 6.1.0-rc8-00588-g76dcd734eca2 #6
Call Trace:
 <IRQ>
 snd_mts64_interrupt+0x24/0xa0 [snd_mts64]
 parport_irq_handler+0x37/0x50 [parport]
 __handle_irq_event_percpu+0x39/0x190
 handle_irq_event_percpu+0xa/0x30
 handle_irq_event+0x2f/0x50
 handle_edge_irq+0x99/0x1b0
 __common_interrupt+0x5d/0x100
 common_interrupt+0xa0/0xc0
 </IRQ>
 <TASK>
 asm_common_interrupt+0x22/0x40
RIP: 0010:_raw_write_unlock_irqrestore+0x11/0x30
 parport_claim+0xbd/0x230 [parport]
 snd_mts64_probe+0x14a/0x465 [snd_mts64]
 platform_probe+0x3f/0xa0
 really_probe+0x129/0x2c0
 __driver_probe_device+0x6d/0xc0
 driver_probe_device+0x1a/0xa0
 __device_attach_driver+0x7a/0xb0
 bus_for_each_drv+0x62/0xb0
 __device_attach+0xe4/0x180
 bus_probe_device+0x82/0xa0
 device_add+0x550/0x920
 platform_device_add+0x106/0x220
 snd_mts64_attach+0x2e/0x80 [snd_mts64]
 port_check+0x14/0x20 [parport]
 bus_for_each_dev+0x6e/0xc0
 __parport_register_driver+0x7c/0xb0 [parport]
 snd_mts64_module_init+0x31/0x1000 [snd_mts64]
 do_one_initcall+0x3c/0x1f0
 do_init_module+0x46/0x1c6
 load_module+0x1d8d/0x1e10
 __do_sys_finit_module+0xa2/0xf0
 do_syscall_64+0x37/0x90
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
 </TASK>
Kernel panic - not syncing: Fatal exception in interrupt
Rebooting in 1 seconds..

The mts wa not initialized during interrupt, we add check for mts to fix this bug.

Original text of the CVE record (cvelist), shown as published.

事件紀錄

+DIS揭露

CVE 紀錄由 Linux 發布。

來源 cvelist · nday 於 批次匯入 · 原始
{
  "id": 279991,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2022-50773",
  "occurred_at": "2025-12-24T13:06:03.533Z",
  "observed_at": "2026-11-13T05:37:51.196939Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "state": "PUBLISHED",
    "date_published": "2025-12-24T13:06:03.533Z",
    "assigner_short_name": "Linux"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

研究員討論

近 7 天有 0 位研究員提及

名單內研究員在 X 上提及此 CVE 的貼文,照原文呈現,nday 不查核。

尚未收錄名單內研究員在 X 上提及此 CVE 的貼文。

Discussion

0 comments

No comments yet.