In the Linux kernel, the following vulnerability has been...
Unreviewed
Published
Sep 15, 2025
to the GitHub Advisory Database
•
Updated Sep 15, 2025
Description
Published by the National Vulnerability Database
Sep 15, 2025
Published to the GitHub Advisory Database
Sep 15, 2025
Last updated
Sep 15, 2025
In the Linux kernel, the following vulnerability has been resolved:
ubifs: dirty_cow_znode: Fix memleak in error handling path
Following process will cause a memleak for copied up znode:
dirty_cow_znode
zn = copy_znode(c, znode);
err = insert_old_idx(c, zbr->lnum, zbr->offs);
if (unlikely(err))
return ERR_PTR(err); // No one refers to zn.
Fix it by adding copied znode back to tnc, then it will be freed
by ubifs_destroy_tnc_subtree() while closing tnc.
Fetch a reproducer in [Link].
References