Aller au contenu
5.5 Moyenne

CVE-2024-48881 In the Linux kernel, the following vulnerability has been resolved: bcache: revert replacing IS_ERR_OR_NULL with…

Description

In the Linux kernel, the following vulnerability has been resolved: bcache: revert replacing IS_ERR_OR_NULL with IS_ERR again Commit 028ddcac477b ("bcache: Remove unnecessary NULL point check in node allocations") leads a NULL pointer deference in cache_set_flush(). 1721 if (!IS_ERR_OR_NULL(c->root)) 1722 list_add(&c->root->list, &c->btree_cache); >From the above code in cache_set_flush(), if previous registration code fails before allocating c->root, it is possible c->root is NULL as what it is initialized. __bch_btree_node_alloc() never returns NULL but c->root is possible to be NULL at above line 1721. This patch replaces IS_ERR() by IS_ERR_OR_NULL() to fix this.

Produits et versions touchés

Produit Versions touchées Corrigé en
Linux 6.13 premières → < 6.13 6.13
Linux 6.12 premières → < 6.12.5 6.12.5
Linux 6.6 premières → < 6.6.66 6.6.66
Linux 6.5 Pas de correctif indiqué
Linux 6.1 premières → < 6.1.120 6.1.120
Linux 5.15 premières → < 5.15.174 5.15.174
Linux 5.10 premières → < 5.10.231 5.10.231
Linux 5.4 premières → < 5.4.287 5.4.287
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP 3.1 3.1.0 → < 3.1.5 3.1.5
Afficher les 5 autres branches
Produit Versions touchées Corrigé en
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP 3.1 3.1.0 → < 3.1.5 3.1.5
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP 3.1 3.1.0 → < 3.1.5 3.1.5
RUGGEDCOM RST2428P 3.2 premières → < 3.2 3.2
SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family 3.2 premières → < 3.2 3.2
SCALANCE XCM-/XRM-/XCH-/XRH-300 family 3.2 premières → < 3.2 3.2

Références

Chronologie

  1. Publiée
  2. Dernière modification
Les 18283 CVE de Linux →
Suivre cette CVE