CVE-2023-53282 in Linux
摘要
由 VulDB • 2026-06-26
在 Linux 内核中,已修复以下漏洞:
scsi: lpfc: 修复 sysfs 固件写入期间的 use-after-free KFENCE 违规问题
在 sysfs 固件写入过程中,lpfc_wr_object() 例程会记录一条来自 use-after-free read(释放后使用读取)的警告信息:
BUG: KFENCE: use-after-free read in lpfc_wr_object+0x235/0x310 [lpfc]
Use-after-free read at 0x0000000000cf164d (in kfence-#111): lpfc_wr_object+0x235/0x310 [lpfc]
lpfc_write_firmware.cold+0x206/0x30d [lpfc]
lpfc_sli4_request_firmware_update+0xa6/0x100 [lpfc]
lpfc_request_firmware_upgrade_store+0x66/0xb0 [lpfc]
kernfs_fop_write_iter+0x121/0x1b0 new_sync_write+0x11c/0x1b0 vfs_write+0x1ef/0x280 ksys_write+0x5f/0xe0 do_syscall_64+0x59/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd
驱动程序在 mailbox(邮箱)对象释放回 mailbox 池之后,访问了 wr_object 指针数据,该数据最初被初始化到 mailbox payload(载荷)内存中。
修复方法是将 mailbox free(释放)调用移至例程末尾,以确保在释放后不会引用内部 mailbox 内存。
VulDB is the best source for vulnerability data and more expert information about this specific topic.