Aller au contenu
7.8 Élevée

CVE-2024-35905 In the Linux kernel, the following vulnerability has been resolved: bpf: Protect against int overflow for stack access…

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Protect against int overflow for stack access size This patch re-introduces protection against the size of access to stack memory being negative; the access size can appear negative as a result of overflowing its signed int representation. This should not actually happen, as there are other protections along the way, but we should protect against it anyway. One code path was missing such protections (fixed in the previous patch in the series), causing out-of-bounds array accesses in check_stack_range_initialized(). This patch causes the verification of a program with such a non-sensical access size to fail. This check used to exist in a more indirect way, but was inadvertendly removed in a833a17aeac7.

Produits et versions touchés

Produit Versions touchées Corrigé en
Linux 6.9 premières → < 6.9 6.9
Linux 6.8 6.8.5
Linux 6.6 premières → < 6.6.26 6.6.26
Linux 6.1 premières → < 6.1.85 6.1.85
Linux 5.15 premières → < 5.15.154 5.15.154
Linux 5.10 premières → < 5.10.215 5.10.215
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem 1.1 premières → < 1.1.1 1.1.1
Les 18286 CVE de Linux →
Suivre cette CVE