CVE-2026-45961

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
27/05/2026
Last modified:
16/06/2026

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> gfs2: fix memory leaks in gfs2_fill_super error path<br /> <br /> Fix two memory leaks in the gfs2_fill_super() error handling path when<br /> transitioning a filesystem to read-write mode fails.<br /> <br /> First leak: kthread objects (thread_struct, task_struct, etc.)<br /> When gfs2_freeze_lock_shared() fails after init_threads() succeeds, the<br /> created kernel threads (logd and quotad) are never destroyed. This<br /> occurs because the fail_per_node label doesn&amp;#39;t call<br /> gfs2_destroy_threads().<br /> <br /> Second leak: quota bitmap buffer (8192 bytes)<br /> When gfs2_make_fs_rw() fails after gfs2_quota_init() succeeds but<br /> before other operations complete, the allocated quota bitmap is never<br /> freed.<br /> <br /> The fix moves thread cleanup to the fail_per_node label to handle all<br /> error paths uniformly. gfs2_destroy_threads() is safe to call<br /> unconditionally as it checks for NULL pointers. Quota cleanup is added<br /> in gfs2_make_fs_rw() to properly handle the withdrawal case where<br /> quota initialization succeeds but the filesystem is then withdrawn.<br /> <br /> Thread leak backtrace (gfs2_freeze_lock_shared failure):<br /> unreferenced object 0xffff88801d7bca80 (size 4480):<br /> copy_process+0x3a1/0x4670 kernel/fork.c:2422<br /> kernel_clone+0xf3/0x6e0 kernel/fork.c:2779<br /> kthread_create_on_node+0x100/0x150 kernel/kthread.c:478<br /> init_threads+0xab/0x350 fs/gfs2/ops_fstype.c:611<br /> gfs2_fill_super+0xe5c/0x1240 fs/gfs2/ops_fstype.c:1265<br /> <br /> Quota leak backtrace (gfs2_make_fs_rw failure):<br /> unreferenced object 0xffff88812de7c000 (size 8192):<br /> gfs2_quota_init+0xe5/0x820 fs/gfs2/quota.c:1409<br /> gfs2_make_fs_rw+0x7a/0xe0 fs/gfs2/super.c:149<br /> gfs2_fill_super+0xfbb/0x1240 fs/gfs2/ops_fstype.c:1275

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.10.173 (including) 5.11 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.15.99 (including) 5.16 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.1.16 (including) 6.2 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.2.3 (including) 6.19.4 (excluding)