proc: protect ptrace_may_access() with exec_update_lock (part 1)
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 2.6.28, 2.6.30, 5.10.261, 5.15.212, 6.1.178, and 4 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: proc: protect ptrace_may_access() with exec_update_lock (part 1) Fix the easy cases where procfs currently calls ptrace_may_access() without exec_update_lock protection, where the fix is to simply add the extra lock or use mm_access(): • do_task_stat(): grab exec_update_lock • proc_pid_wchan(): grab exec_update_lock • proc_map_files_lookup(): use mm_access() instead of get_task_mm() • proc_map_files_readdir(): use mm_access() instead of get_task_mm() • proc_ns_get_link(): grab exec_update_lock • proc_ns_readlink(): grab exec_update_lock
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From f83ce3e6b02d5e48b3a43b001390e2b58820389d · fixed in ae1e630bcaac739f625822078edbaea98366930d; From f83ce3e6b02d5e48b3a43b001390e2b58820389d · fixed in d54f14655fd7d7b293698a8b6918563c4c0465e7; From f83ce3e6b02d5e48b3a43b001390e2b58820389d · fixed in bb43679356f1f2a4c6b1c88aec4f021e5b5c74e9; From f83ce3e6b02d5e48b3a43b001390e2b58820389d · fixed in 7456ae990a9738962b33146916fabca62ae3d4e0; From f83ce3e6b02d5e48b3a43b001390e2b58820389d · fixed in 4bfe8c481846cee52473a2f7d7b30ee8e6749fc4; From f83ce3e6b02d5e48b3a43b001390e2b58820389d · fixed in f9b4b03ccc9c69bf7f7298d4559906ebea7143b3; From f83ce3e6b02d5e48b3a43b001390e2b58820389d · fixed in c1cfd63326f5d09999134e9052c353faf738286e; From f83ce3e6b02d5e48b3a43b001390e2b58820389d · fixed in 6650527444dadc63d84aa939d14ecba4fadb2f69; From 2.6.27.23 · fixed in 2.6.28; From 2.6.29.3 · fixed in 2.6.30
- Linux Linux
2.6.30
- KernelLinux
From 2.6.30 · fixed in 5.10.261; From 5.11.0 · fixed in 5.15.212; From 5.16.0 · fixed in 6.1.178; From 6.2.0 · fixed in 6.6.145; From 6.7.0 · fixed in 6.12.97; From 6.13.0 · fixed in 6.18.40; From 6.19.0 · fixed in 7.1.4
References 8
git.kernel.org
- stable/c/ae1e630bcaac739f625822078edbaea98366930d
- stable/c/d54f14655fd7d7b293698a8b6918563c4c0465e7
- stable/c/bb43679356f1f2a4c6b1c88aec4f021e5b5c74e9
- stable/c/7456ae990a9738962b33146916fabca62ae3d4e0
- stable/c/4bfe8c481846cee52473a2f7d7b30ee8e6749fc4
- stable/c/f9b4b03ccc9c69bf7f7298d4559906ebea7143b3
- stable/c/c1cfd63326f5d09999134e9052c353faf738286e
- stable/c/6650527444dadc63d84aa939d14ecba4fadb2f69