]> git.ipfire.org Git - thirdparty/grub.git/commit
net/net: Unregister net_set_vlan command on unload
authorThomas Frauendorfer | Miray Software <tf@miray.de>
Fri, 9 May 2025 12:20:47 +0000 (14:20 +0200)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 18 Nov 2025 13:34:44 +0000 (14:34 +0100)
commit10e58a14db20e17d1b6a39abe38df01fef98e29d
tree0485a08360e1a38270c024b946cf1d5b57fcd430
parentc4fb4cbc941981894a00ba8e75d634a41967a27f
net/net: Unregister net_set_vlan command on unload

The commit 954c48b9c (net/net: Add net_set_vlan command) added command
net_set_vlan to the net module. Unfortunately the commit only added the
grub_register_command() call on module load but missed the
grub_unregister_command() on unload. Let's fix this.

Fixes: CVE-2025-54770
Fixes: 954c48b9c (net/net: Add net_set_vlan command)
Reported-by: Thomas Frauendorfer | Miray Software <tf@miray.de>
Signed-off-by: Thomas Frauendorfer | Miray Software <tf@miray.de>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/net/net.c