CVE-2024-47705 In the Linux kernel, the following vulnerability has been resolved: block: fix potential invalid pointer dereference…
Description
In the Linux kernel, the following vulnerability has been resolved: block: fix potential invalid pointer dereference in blk_add_partition The blk_add_partition() function initially used a single if-condition (IS_ERR(part)) to check for errors when adding a partition. This was modified to handle the specific case of -ENXIO separately, allowing the function to proceed without logging the error in this case. However, this change unintentionally left a path where md_autodetect_dev() could be called without confirming that part is a valid pointer. This commit separates the error handling logic by splitting the initial if-condition, improving code readability and handling specific error scenarios explicitly. The function now distinguishes the general error case from -ENXIO without altering the existing behavior of md_autodetect_dev() calls.
Produits et versions touchés
| Produit | Versions touchées | Corrigé en |
|---|---|---|
| Linux 6.12 | premières → < 6.12 | 6.12 |
| Linux 6.11 | premières → < 6.11.2 | 6.11.2 |
| Linux 6.10 | premières → < 6.10.13 | 6.10.13 |
| Linux 6.6 | premières → < 6.6.54 | 6.6.54 |
| Linux 6.1 | premières → < 6.1.113 | 6.1.113 |
| Linux 5.15 | premières → < 5.15.168 | 5.15.168 |
| Linux 5.10 | premières → < 5.10.227 | 5.10.227 |
| Linux | 5.5 | Pas de correctif indiqué |
| RUGGEDCOM RST2428P 3.2 | premières → < 3.2 | 3.2 |
Afficher les 3 autres branches Masquer les 3 autres branches
| Produit | Versions touchées | Corrigé en |
|---|---|---|
| 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 |
| SIMATIC S7-1500 TM MFP - GNU/Linux subsystem 1.1 | premières → < 1.1.1 | 1.1.1 |
Références
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
Chronologie
- Publiée
- Dernière modification