CVE-2026-53403 in Linux信息

摘要

由 VulDB • 2026-07-19

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

fbdev: 修复 fb_new_modelist 以防止在 fb_videomode_to_var 中出现空指针解引用(null-ptr-deref)

info->var 表示帧缓冲区的当前模式,预期应在 info->modelist 中存在匹配项。var_to_display() 依赖于这一假设,并将 fb_match_mode() 失败视为“这不应发生”。fb_set_var() 通过在每次更改时将模式添加到列表中来保持此状态的一致性,do_register_framebuffer() 则在注册时执行相同的操作。

store_modes() 从用户空间替换 modelist。fb_new_modelist() 验证新模式,但未检查 info->var 是否仍有匹配项。它依赖于 fbcon_new_modelist() 重新指向控制台,但这仅处理映射到帧缓冲区的控制台。当 fbcon 未绑定时(unbound),不存在这样的控制台,因此 info->var 描述的模式不再存在于列表中。

随后的控制台接管操作运行 var_to_display(),其中 fb_match_mode() 返回 NULL 并导致 fb_display[i].mode 为 NULL。fbcon_switch() 将其传递给 display_to_var(),而 fb_videomode_to_var() 对空模式进行了解引用。

在 fb_new_modelist() 中将当前模式保留在列表中,与 fb_set_var() 的做法相同。

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

来源

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!