CVE-2022-50477 in Linuxthông tin

Tóm tắt

Bởi VulDB • 24/06/2026

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

rtc: class: Sửa lỗi rò rỉ bộ nhớ tiềm ẩn trong devm_rtc_allocate_device()

Hàm devm_rtc_allocate_device() sẽ cấp phát một rtc_device trước tiên, sau đó thực thi dev_set_name(). Nếu dev_set_name() thất bại, rtc_device sẽ bị rò rỉ bộ nhớ. Di chuyển lệnh gọi devm_add_action_or_reset() lên phía trước dev_set_name() để ngăn chặn tình trạng rò rỉ bộ nhớ này.

đối tượng không được tham chiếu 0xffff888110a53000 (kích thước 2048): comm "python3", pid 470, jiffies 4296078308 (tuổi thọ 58.882s) dump hex (32 byte đầu tiên): 00 00 00 00 00 00 00 00 08 30 a5 10 81 88 ff ff .........0...... 08 30 a5 10 81 88 ff ff 00 00 00 00 00 00 00 00 .0.............. backtrace: [<000000004aac0364>] kmalloc_trace+0x21/0x110
[<000000000ff02202>] devm_rtc_allocate_device+0xd4/0x400
[<000000001bdf5639>] devm_rtc_device_register+0x1a/0x80
[<00000000351bf81c>] rx4581_probe+0xdd/0x110 [rtc_rx4581]
[<00000000f0eba0ae>] spi_probe+0xde/0x130
[<00000000bff89ee8>] really_probe+0x175/0x3f0
[<00000000128e8d84>] __driver_probe_device+0xe6/0x170
[<00000000ee5bf913>] device_driver_attach+0x32/0x80
[<00000000f3f28f92>] bind_store+0x10b/0x1a0
[<000000009ff812d8>] drv_attr_store+0x49/0x70
[<000000008139c323>] sysfs_kf_write+0x8d/0xb0
[<00000000b6146e01>] kernfs_fop_write_iter+0x214/0x2d0
[<00000000ecbe3895>] vfs_write+0x61a/0x7d0
[<00000000aa2196ea>] ksys_write+0xc8/0x190
[<0000000046a600f5>] do_syscall_64+0x37/0x90
[<00000000541a336f>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

If you want to get best quality of vulnerability data, you may have to visit VulDB.

chịu trách nhiệm

Linux

Đặt trước

04/10/2025

Tiết lộ

04/10/2025

Kiểm duyệt

được chấp nhận

EPSS

0.00143

KEV

không

Các hoạt động

rất thấp

Nguồn

Do you know our Splunk app?

Download it now for free!