CVE-2026-53039
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
24/06/2026
Last modified:
14/07/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
ocfs2: validate group add input before caching<br />
<br />
[BUG]<br />
OCFS2_IOC_GROUP_ADD can trigger a BUG_ON in<br />
ocfs2_set_new_buffer_uptodate():<br />
<br />
kernel BUG at fs/ocfs2/uptodate.c:509!<br />
Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI<br />
RIP: 0010:ocfs2_set_new_buffer_uptodate+0x194/0x1e0 fs/ocfs2/uptodate.c:509<br />
Code: ffffe88f 42b9fe4c 89e64889 dfe8b4df<br />
Call Trace:<br />
ocfs2_group_add+0x3f1/0x1510 fs/ocfs2/resize.c:507<br />
ocfs2_ioctl+0x309/0x6e0 fs/ocfs2/ioctl.c:887<br />
vfs_ioctl fs/ioctl.c:51 [inline]<br />
__do_sys_ioctl fs/ioctl.c:597 [inline]<br />
__se_sys_ioctl fs/ioctl.c:583 [inline]<br />
__x64_sys_ioctl+0x197/0x1e0 fs/ioctl.c:583<br />
x64_sys_call+0x1144/0x26a0 arch/x86/include/generated/asm/syscalls_64.h:17<br />
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]<br />
do_syscall_64+0x93/0xf80 arch/x86/entry/syscall_64.c:94<br />
entry_SYSCALL_64_after_hwframe+0x76/0x7e<br />
RIP: 0033:0x7bbfb55a966d<br />
<br />
[CAUSE]<br />
ocfs2_group_add() calls ocfs2_set_new_buffer_uptodate() on a<br />
user-controlled group block before ocfs2_verify_group_and_input()<br />
validates that block number. That helper is only valid for newly<br />
allocated metadata and asserts that the block is not already present in<br />
the chosen metadata cache. The code also uses INODE_CACHE(inode) even<br />
though the group descriptor belongs to main_bm_inode and later journal<br />
accesses use that cache context instead.<br />
<br />
[FIX]<br />
Validate the on-disk group descriptor before caching it, then add it to<br />
the metadata cache tracked by INODE_CACHE(main_bm_inode). Keep the<br />
validation failure path separate from the later cleanup path so we only<br />
remove the buffer from that cache after it has actually been inserted.<br />
This keeps the group buffer lifetime consistent across validation,<br />
journaling, and cleanup.
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 2.6.25 (including) | 5.10.258 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.11 (including) | 5.15.209 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.16 (including) | 6.1.175 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.2 (including) | 6.6.141 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.7 (including) | 6.12.91 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.13 (including) | 6.18.33 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.19 (including) | 7.0.10 (excluding) |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/22544ddedf381ed5191cfc783aea8d6c936bc201
- https://git.kernel.org/stable/c/6c5e70409c1961fe1278968f038eaaed6cc1145a
- https://git.kernel.org/stable/c/70b672833f4025341c11b22c7f83778a5cd611bc
- https://git.kernel.org/stable/c/76bd722db0a92b84ccd99e03796a0b6f1ae71c31
- https://git.kernel.org/stable/c/aed87e866d1a321edb9703563c2faa8fec89835d
- https://git.kernel.org/stable/c/b9ae3942deec4c9e3fa2070521f90910f7490011
- https://git.kernel.org/stable/c/e7c2cb552e6eb85c0f5aefdd7f0f7c3c8591a6a3
- https://git.kernel.org/stable/c/f7e139d7563f6947ad509fb468903941d0bb7ddd



