summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorHarshit Mogalapalli <harshit.m.mogalapalli@oracle.com>2026-09-25 05:55:44 -0700
committerMiquel Raynal <miquel.raynal@bootlin.com>2026-09-25 15:42:19 +0200
commit532caaa2f445b22b74b88b4023a810426772db54 (patch)
tree2a5515295d4350a3d526af1c2f535da974f78882 /scripts/Makefile.thinlto
parent2e566a6830b82d95837c4d669c63a0c1abf766a9 (diff)
downloadlinux-532caaa2f445b22b74b88b4023a810426772db54.tar.gz
linux-532caaa2f445b22b74b88b4023a810426772db54.zip
mtd: virt-concat: unlink concat node before freeing it
mtd_virt_concat_create_item() links each new mtd_virt_concat_node to concat_node_list. mtd_virt_concat_destroy() later frees the node after destroying its concatenated MTD device, but fails to unlink it. A later list traversal dereferences the freed node, causing a use-after-free. Remove the node from concat_node_list before freeing it. Fixes: 43db6366fc2d ("mtd: Add driver for concatenating devices") Cc: stable@vger.kernel.org Assisted-by: Codex:gpt-5.6, smatch Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions