Commit 2dd7178
committed
do_change_type(): refuse to operate on unmounted/not ours mounts
jira KERNEL-216
cve CVE-2025-38498
Rebuild_History Non-Buildable kernel-5.14.0-611.9.1.el9_7
commit-author Al Viro <viro@zeniv.linux.org.uk>
commit 12f147d
Ensure that propagation settings can only be changed for mounts located
in the caller's mount namespace. This change aligns permission checking
with the rest of mount(2).
Reviewed-by: Christian Brauner <brauner@kernel.org>
Fixes: 07b2088 ("beginning of the shared-subtree proper")
Reported-by: "Orlando, Noah" <Noah.Orlando@deshaw.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
(cherry picked from commit 12f147d)
Signed-off-by: Jonathan Maple <jmaple@ciq.com>1 parent 3b717ce commit 2dd7178
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2330 | 2330 | | |
2331 | 2331 | | |
2332 | 2332 | | |
| 2333 | + | |
| 2334 | + | |
| 2335 | + | |
| 2336 | + | |
2333 | 2337 | | |
2334 | 2338 | | |
2335 | 2339 | | |
| |||
0 commit comments