machined: reject invalid class types when registering machines
authorLuca Boccassi <luca.boccassi@gmail.com>
Sun, 8 Mar 2026 14:30:52 +0000 (14:30 +0000)
committerTobias Deiminger <tobias.deiminger@linutronix.de>
Mon, 27 Apr 2026 19:48:55 +0000 (21:48 +0200)
commit15083e3f724ba61da9476d44914ad23d292b6754
treeed9e16e20400f77458136826ce05b04acd3a87ab
parentae40ae0efba00a2b0afcea6cb64cd06b8c996cb3
machined: reject invalid class types when registering machines

Follow-up for fbe550738d03b178bb004a1390e74115e904118a

(cherry picked from commit 6df5f80bd374be1b45c52d740e88f0236da922c7)
(cherry picked from commit 497d0172416cbb5b70f96b95399d041407c223bd)
(cherry picked from commit 749e2eaf7086c91598cf7043a31919854b1c2dfe)

Origin: backport, https://github.com/systemd/systemd/commit/6941d92dc299667036cbe264435971cec59ebc76

Gbp-Pq: Name CVE-2026-4105.patch
src/machine/machined-dbus.c