Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: gfs2: prevent NULL pointer dereference during unmount When flushing out outstanding glock work during an unmount, gfs2_log_flush() can be called when sdp->sd_jdesc has already been deallocated and sdp->sd_jdesc is NULL. Commit 35264909e9d1 ("gfs2: Fix NULL pointer dereference in gfs2_log_flush") added a check for that to gfs2_log_flush() itself, but it missed the sdp->sd_jdesc dereference in gfs2_log_release(). Fix that.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected c3c5cfa3170c0940bc66a142859caac07d19b9d6 before cec55674354794eddb80b914f73a6bf9b7fc304a; affected 5f6a84cfb33b34610623857bd93919dcb661e29b before 2fc4c868c9060f424fd4a7cacb0aec5082aba4de; affected 3429ef5f50909cee9e498c50f0c499b9397116ce before 233a0945a4b1dbe3f38c30afb7d05b76c67f1193; affected 35264909e9d1973ab9aaa2a1b07cda70f12bb828 before e15f16761594e80b15776980b27c35477655a135; affected 35264909e9d1973ab9aaa2a1b07cda70f12bb828 before d8ffae016c4a78693fe1283335d0b6833a9c1366; affected 35264909e9d1973ab9aaa2a1b07cda70f12bb828 before abd73229f0e886a91a16ea781ab656bd9b4d1ee8; affected 35264909e9d1973ab9aaa2a1b07cda70f12bb828 before 74b4dbb946060a3233604d91859a9abd3708141d; affected f54f9d5368a4e92ede7dd078a62788dae3a7c6ef; affected 5.15.200 before 5.15.209; affected 6.1.162 before 6.1.175; affected 6.6.37 before 6.6.141; affected 6.9.8 before 6.10 |
| Linux / Linux | affected 6.10; unaffected 0 before 6.10; unaffected 5.15.209 through 5.15.*; unaffected 6.1.175 through 6.1.*; unaffected 6.6.141 through 6.6.*; unaffected 6.12.91 through 6.12.*; unaffected 6.18.33 through 6.18.*; unaffected 7.0.10 through 7.0.*; unaffected 7.1 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/cec55674354794eddb80b914f73a6bf9b7fc304a
- https://git.kernel.org/stable/c/2fc4c868c9060f424fd4a7cacb0aec5082aba4de
- https://git.kernel.org/stable/c/233a0945a4b1dbe3f38c30afb7d05b76c67f1193
- https://git.kernel.org/stable/c/e15f16761594e80b15776980b27c35477655a135
- https://git.kernel.org/stable/c/d8ffae016c4a78693fe1283335d0b6833a9c1366
- https://git.kernel.org/stable/c/abd73229f0e886a91a16ea781ab656bd9b4d1ee8
- https://git.kernel.org/stable/c/74b4dbb946060a3233604d91859a9abd3708141d