EN

Tracker / CVE-2024-39480

CVE-2024-39480

Alta 8.4

In the Linux kernel, the following vulnerability has been resolved: kdb: Fix buffer overflow during tab-complete Currently, when the user attempts symbol completion with the Tab key, kdb will use strncpy() to insert the completed symbol into the command buffer. Unfortunately it passes the size of the source buffer rather than the destination to strncpy() with predictably horrible results. Most obviously if the command buffer is already full but cp, the cursor position, is in the middle of the buffer, then we will write past the end of the supplied buffer. Fix this by replacing the dubious strncpy() calls with memmove()/memcpy() calls plus explicit boundary checks to make sure we have enough space before we start moving characters around.

Prodotti e versioni affette

linux linux_kernel · 4.19 → 4.19.316
linux linux_kernel · 5.10 → 5.10.219
linux linux_kernel · 5.15 → 5.15.161
linux linux_kernel · 5.4 → 5.4.278
linux linux_kernel · 6.1 → 6.1.94
linux linux_kernel · 6.6 → 6.6.34
linux linux_kernel · 6.9 → 6.9.5

Analisi

Questa pagina non è ancora indicizzabile.Finché non contiene un’analisi originale — cosa espone davvero, come verificare in due minuti se un sistema è stato toccato, cosa fare se lo è stato — la pagina resta noindex. È il database a deciderlo, non il modello di pagina.

Riferimenti