summaryrefslogtreecommitdiff
path: root/Documentation/tty/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorHarshit Mogalapalli <harshit.m.mogalapalli@oracle.com>2026-06-16 03:14:39 -0700
committerMiquel Raynal <miquel.raynal@bootlin.com>2026-06-29 16:40:13 +0200
commit4b45d7836b9526b8776af5f29219615be9417230 (patch)
treef90e7de61b12aed659297af4417058ce9218b4da /Documentation/tty/git@git.tavy.me:linux.git
parent1a8b2951ba3c35824ff4df0ea7d9f7a554c964a2 (diff)
mtd: virt_concat: fix use-after-free in mtd_virt_concat_destroy()
mtd_concat_destroy() frees item->concat so calling mtd_virt_concat_put_mtd_devices(item->concat) after that leads to a use-after-free. Fix it by moving mtd_virt_concat_put_mtd_devices() before mtd_concat_destroy(). Fixes: 43db6366fc2d ("mtd: Add driver for concatenating devices") Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'Documentation/tty/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions