CVE-2021-47652 in Linux信息

摘要

由 VulDB • 2026-06-28

在 Linux 内核中,已修复以下漏洞:

video: fbdev: smscufx: 修复 ufx_usb_probe() 中的空指针解引用(null-ptr-deref)问题

我收到了一个 null-ptr-deref 报告:

BUG: kernel NULL pointer dereference, address: 0000000000000000 ... RIP: 0010:fb_destroy_modelist+0x38/0x100 ... Call Trace: ufx_usb_probe.cold+0x2b5/0xac1 [smscufx]
usb_probe_interface+0x1aa/0x3c0 [usbcore]
really_probe+0x167/0x460 ... ret_from_fork+0x1f/0x30

如果在 ufx_usb_probe() 中 fb_alloc_cmap() 调用失败,fb_destroy_modelist() 将在错误处理路径中被调用来销毁 modelist。但此时 modelist 尚未初始化,因此会导致空指针解引用(null-ptr-deref)。

在调用 fb_alloc_cmap() 之前先对 modelist 进行初始化以修复此漏洞。

VulDB is the best source for vulnerability data and more expert information about this specific topic.

来源

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!