CVE-2026-72163
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
15/08/2026
Last modified:
06/11/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
ocfs2: fix NULL h_transaction deref in ocfs2_assure_trans_credits<br />
<br />
[BUG]<br />
A direct write over unwritten extents can panic the kernel in<br />
ocfs2_assure_trans_credits() when the journal aborts during DIO<br />
completion. The crash is a general protection fault from a NULL pointer<br />
dereference.<br />
<br />
[CAUSE]<br />
ocfs2_dio_end_io_write() loops over a direct write&#39;s unwritten extents,<br />
marking each written under a single journal handle. If the journal<br />
aborts (for example after an I/O error) while the extent tree is being<br />
updated, the handle is left aborted with its transaction pointer<br />
cleared. The extent merge treats that failure as not critical and<br />
reports success, so the loop keeps using the handle.<br />
ocfs2_assure_trans_credits() reads the handle&#39;s remaining credits<br />
without first checking whether the handle is aborted, and that read<br />
dereferences the cleared transaction pointer.<br />
<br />
[FIX]<br />
A journal abort is recorded in the handle itself, so callers are<br />
expected to test the handle rather than rely on a returned error.<br />
Make ocfs2_assure_trans_credits() do that, as the other ocfs2 journal<br />
helpers already do, and return -EROFS when the handle is aborted.
Impact
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/253ed993e0b36997ec7b04c1ff76103b38241de2
- https://git.kernel.org/stable/c/2d80e9c56718435a9c9f5f24dbc954989aead579
- https://git.kernel.org/stable/c/6ad7532a23bc94076efe9f1486dd7f7493c090ff
- https://git.kernel.org/stable/c/7146d191dae3a8efdb957993fb61a55713186266
- https://git.kernel.org/stable/c/942b818b396c24c452681803ff291552317d2ef1
- https://git.kernel.org/stable/c/bd73971fad89d5ee4ea0ba9b92d2ea08733c4a64
- https://git.kernel.org/stable/c/f14aaaa130356ee4adb44de947c098637c70df8f
- https://git.kernel.org/stable/c/f9ab30c96b0f00c20c6dac93681bdae3a033d229


