APPLIED: [SRU][J][PATCH 0/1] CVE-2024-42079

Stefan Bader stefan.bader at canonical.com
Fri Oct 11 09:58:07 UTC 2024


On 08.10.24 22:18, Massimiliano Pellizzer wrote:
> [Impact]
> 
> gfs2: Fix NULL pointer dereference in gfs2_log_flush
> 
> In gfs2_jindex_free(), set sdp->sd_jdesc to NULL under the log flush
> lock to provide exclusion against gfs2_log_flush().
> 
> In gfs2_log_flush(), check if sdp->sd_jdesc is non-NULL before
> dereferencing it.  Otherwise, we could run into a NULL pointer
> dereference when outstanding glock work races with an unmount
> (glock_work_func -> run_queue -> do_xmote -> inode_go_sync ->
> gfs2_log_flush).
> 
> [Fix]
> 
> Noble:  Fixed
> Jammy:  Backported from linux-6.6.y
> Focal:  Not affected
> Bionic: Not affected
> Xenial: Not affected
> 
> [Test Case]
> 
> Compile and boot tested.
> 
> [Where problems could occur]
> 
> The fix affects the GFS2 filesystem. Ans issue with this fix may lead to
> kernel crashes. Users may also notice file system inconsistencies
> potentially leading to incomplete or corrupted data writes. These issues
> may present themselves particularly when multiple nodes are concurrently
> accessing the same resource in the filesystem.
> 
> Andreas Gruenbacher (1):
>    gfs2: Fix NULL pointer dereference in gfs2_log_flush
> 
>   fs/gfs2/log.c   | 3 ++-
>   fs/gfs2/super.c | 4 ++++
>   2 files changed, 6 insertions(+), 1 deletion(-)
> 

Applied to jammy:linux/master-next. Thanks.

-Stefan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xE8675DEECBEECEA3.asc
Type: application/pgp-keys
Size: 48643 bytes
Desc: OpenPGP public key
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20241011/8ac6a41c/attachment-0001.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20241011/8ac6a41c/attachment-0001.sig>


More information about the kernel-team mailing list