]> git.ipfire.org Git - thirdparty/systemd.git/commit
clonesetup: check target table size for overflow 43035/head
authorLuca Boccassi <luca.boccassi@gmail.com>
Wed, 15 Jul 2026 11:06:02 +0000 (12:06 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 15 Jul 2026 16:51:48 +0000 (17:51 +0100)
commitb5c94b43641e57afbda4fd9e2a0b5fb2a366829e
tree4a952ca4d7bd582037c15475168a7856c6bb6840
parent280b88038827ee66219b2de4e9ed363481df6e03
clonesetup: check target table size for overflow

The target parameter length is added to two headers and aligned before
allocation. Check each operation and reject payloads that cannot be
represented by the device-mapper ioctl header.

CID#1663846

Follow-up for 104970a8bd7a3b53067f6e50283183406a579f0b
src/clonesetup/clonesetup-ioctl.c