Alpaquita LinuxStreamSecurity Advisory
Search Cve

CVE-2025-22029

Published: April 18, 2025Last modified: July 22, 2025

Description

In the Linux kernel, the following vulnerability has been resolved: exec: fix the racy usage of fs_struct->in_exec check_unsafe_exec() sets fs->in_exec under cred_guard_mutex, then execve() paths clear fs->in_exec lockless. This is fine if exec succeeds, but if it fails we have the following race: T1 sets fs->in_exec = 1, fails, drops cred_guard_mutex T2 sets fs->in_exec = 1 T1 clears fs->in_exec T2 continues with fs->in_exec == 0 Change fs/exec.c to clear fs->in_exec with cred_guard_mutex held.

Status

ProductReleasePackageStatus
Alpaquita Linux23 LTSlinux-ltsUnknown (6.1.33-r0)
Streamlinux-ltsUnknown (6.1.33-r0)

References

ON THIS PAGE