CVE Catalog

CVE-2024-40978

High
Published: Translated: NVD NIST

Summary

A vulnerability has been identified in the Linux kernel that leads to a crash when reading a debugfs attribute in the qedi_dbg_do_not_recover_cmd_read() function. The issue arises from directly invoking sprintf() on a __user pointer, resulting in a system crash.

Risk Assessment

This vulnerability may lead to system crashes, affecting the availability of services running on the compromised system. It could result in downtime and data loss.

Recommendation

It is recommended to update the Linux kernel to the latest version to mitigate this vulnerability. Additionally, monitor systems for unauthorized changes.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: scsi: qedi: Fix crash while reading debugfs attribute The qedi_dbg_do_not_recover_cmd_read() function invokes sprintf() directly on a __user pointer, which results into the crash. To fix this issue, use a small local stack buffer for sprintf() and then call simple_read_from_buffer(), which in turns make the copy_to_user() call. BUG: unable to handle page fault for address: 00007f4801111000 PGD 8000000864df6067 P4D 8000000864df6067 PUD 864df7067 PMD 846028067 PTE 0 Oops: 0002 [#1] PREEMPT SMP PTI Hardware name: HPE ProLiant DL380 Gen10/ProLiant DL380 Gen10, BIOS U30 06/15/2023 RIP: 0010:memcpy_orig+0xcd/0x130 RSP: 0018:ffffb7a18c3ffc40 EFLAGS: 00010202 RAX: 00007f4801111000 RBX: 00007f4801111000 RCX: 000000000000000f RDX: 000000000000000f RSI: ffffffffc0bfd7a0 RDI: 00007f4801111000 RBP: ffffffffc0bfd7a0 R08: 725f746f6e5f6f64 R09: 3d7265766f636572 R10: ffffb7a18c3ffd08 R11: 0000000000000000 R12: 00007f4881110fff R13:

Vulnerability data from NVD (NIST) · CISA KEV · EPSS