Affected versions
Ubuntu24.04:LTS/util-linux
- Affected versions
- <2.39.3-9ubuntu6.6 || =2.39.1-4ubuntu2 || =2.39.2-6ubuntu1 || =2.39.3-6ubuntu2 || =2.39.3-9ubuntu2 || =2.39.3-9ubuntu4 || =2.39.3-9ubuntu6 || =2.39.3-9ubuntu6.1 || =2.39.3-9ubuntu6.2 || =2.39.3-9ubuntu6.3 || =2.39.3-9ubuntu6.4 || =2.39.3-9ubuntu6.5
- Fixed version
- 2.39.3-9ubuntu6.6
Ubuntu25.10/util-linux
- Affected versions
- * || =2.40.2-14ubuntu1 || =2.41-4ubuntu2 || =2.41-4ubuntu3 || =2.41-4ubuntu4 || =2.41-4ubuntu4.1 || =2.41-4ubuntu4.2
- Fixed version
- Not reported
Ubuntu26.04:LTS/util-linux
- Affected versions
- <2.41.3-3ubuntu2.2 || =2.41-4ubuntu4 || =2.41.2-4ubuntu1 || =2.41.2-4ubuntu2 || =2.41.2-4ubuntu3 || =2.41.3-3ubuntu1 || =2.41.3-3ubuntu2
- Fixed version
- 2.41.3-3ubuntu2.2
Ubuntu26.10/util-linux
- Affected versions
- * || =2.41.3-3ubuntu2 || =2.42.2-1ubuntu2
- Fixed version
- Not reported
Description
util-linux is a random collection of Linux utilities. In util-linux 2.39 through 2.41.4 and 2.42 through 2.42.1, the SUID mount utility's hook_owner.c post-mount hook performs path-based chmod() and lchown() operations on a previously validated mount target. A local low-privileged user authorized by an /etc/fstab entry with user or users and an X-mount.mode, X-mount.owner, or X-mount.group option can use renameat2(RENAME_EXCHANGE) to race a writable ancestor of the target and redirect the privileged ownership or mode change to a root-owned path, potentially gaining root privileges. This issue is fixed in 2.41.5 and 2.42.2.

