scsi: sg: Avoid sg device teardown race
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel b0d1ebcc1a9560e494ea9b3ee808540db26c5086, Kernel 6.5, Kernel 27f58c04a8f438078583041468ec60597841284d and 3 more.
In the Linux kernel, the following vulnerability has been resolved: scsi: sg: Avoid sg device teardown race sg_remove_sfp_usercontext() must not use sg_device_destroy() after calling scsi_device_put(). sg_device_destroy() is accessing the parent scsi_device request_queue which will already be set to NULL when the preceding call to scsi_device_put() removed the last reference to the parent scsi_device. The resulting NULL pointer exception will then crash the kernel.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=db59133e927916d8a25ee1fd8264f2808040909d <b0d1ebcc1a9560e494ea9b3ee808540db26c5086, >=6.4.7 <6.5, >=db59133e927916d8a25ee1fd8264f2808040909d <27f58c04a8f438078583041468ec60597841284d, >=db59133e927916d8a25ee1fd8264f2808040909d <46af9047523e2517712ae8e71d984286c626e022, =4cc664e59bf2553771e4c9e90f758f7434cfdc22, =6.5 | b0d1ebcc1a9560e494ea9b3ee808540db26c5086, 6.5, 27f58c04a8f438078583041468ec60597841284d, 46af9047523e2517712ae8e71d984286c626e022 |
| linux-kernel: Kernel | >=6.5.0 <6.6.28, >=6.7.0 <6.8.7, >=6.4.7 <6.5 | 6.6.28, 6.8.7, 6.5 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket