1. Archivio CVE
  2. 2023
  3. CVE-2023-52810

CVE-2023-52810

7.8 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 7.8 – Alta

Descrizione

In the Linux kernel, the following vulnerability has been resolved: fs/jfs: Add check for negative db_l2nbperpage l2nbperpage is log2(number of blks per page), and the minimum legal value should be 0, not negative. In the case of l2nbperpage being negative, an error will occur when subsequently used as shift exponent. Syzbot reported this bug: UBSAN: shift-out-of-bounds in fs/jfs/jfs_dmap.c:799:12 shift exponent -16777216 is negative

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
linux linux kernel < 4.14.331 –
linux linux kernel >= 4.15 < 4.19.300 –
linux linux kernel >= 4.20 < 5.4.262 –
linux linux kernel >= 5.5 < 5.10.202 –
linux linux kernel >= 5.11 < 5.15.140 –
linux linux kernel >= 5.16 < 6.1.64 –
linux linux kernel >= 6.2 < 6.5.13 –
linux linux kernel >= 6.6 < 6.6.3 –
Tutte le 23.632 vulnerabilità di Linux Kernel

Tipo di vulnerabilità

CWE-1335 Incorrect Bitwise Shift of Integer

An integer value is specified to be shifted by a negative amount or an amount greater than or equal to the number of bits contained in the value.

Impatto sui sistemi

AmbitoImpatto
Integrità Interruzione del servizio: arresto o riavvio
Altro Comportamento indefinito, Stato imprevisto, Alterare la logica di esecuzione

Come si previene

Sviluppo Implicitly or explicitly add checks and mitigation for negative or over-shift values.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 5 CVE di tipo CWE-1335, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org