CVE-2023-53747 in Linuxthông tin

Tóm tắt

Bởi VulDB • 19/06/2026

Trong nhân Linux, lỗ hổng sau đây đã được khắc phục:

vc_screen: tải lại con trỏ struct vc_data trong vcs_write() để tránh lỗi UAF (Use-After-Free)

Sau khi gọi console_unlock() trong hàm vcs_write(), cấu trúc dữ liệu vc_data có thể bị giải phóng bởi vc_port_destruct(). Do đó, con trỏ tới struct vc_data phải được tải lại trong vòng lặp while của hàm vcs_write() sau lệnh console_lock() để tránh lỗi UAF khi hàm vcs_size() được gọi.

Syzkaller đã báo cáo một lỗi UAF trong vcs_size().

BUG: KASAN: slab-use-after-free in vcs_size (drivers/tty/vt/vc_screen.c:215) Đọc kích thước 4 byte tại địa chỉ ffff8880beab89a8 bởi tiến trình repro_vcs_size/4119

Dấu vết ngăn xếp cuộc gọi (Call Trace): <TASK> __asan_report_load4_noabort (mm/kasan/report_generic.c:380) vcs_size (drivers/tty/vt/vc_screen.c:215) vcs_write (drivers/tty/vt/vc_screen.c:664) vfs_write (fs/read_write.c:582 fs/read_write.c:564) ... <TASK>

Được cấp phát bởi tiến trình 1213: kmalloc_trace (mm/slab_common.c:1064) vc_allocate (./include/linux/slab.h:559 ./include/linux/slab.h:680 drivers/tty/vt/vt.c:1078 drivers/tty/vt/vt.c:1058) con_install (drivers/tty/vt/vt.c:3334) tty_init_dev (drivers/tty/tty_io.c:1303 drivers/tty/tty_io.c:1415 drivers/tty/tty_io.c:1392) tty_open (drivers/tty/tty_io.c:2082 drivers/tty/tty_io.c:2128) chrdev_open (fs/char_dev.c:415) do_dentry_open (fs/open.c:921) vfs_open (fs/open.c:1052) ...

Được giải phóng bởi tiến trình 4116: kfree (mm/slab_common.c:1016) vc_port_destruct (drivers/tty/vt/vt.c:1044) tty_port_destructor (drivers/tty/tty_port.c:296) tty_port_put (drivers/tty/tty_port.c:312) vt_dis

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

chịu trách nhiệm

Linux

Đặt trước

08/12/2025

Tiết lộ

08/12/2025

Kiểm duyệt

được chấp nhận

EPSS

0.00136

KEV

không

Các hoạt động

rất thấp

Nguồn

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!