ecryptfs: hold msg ctx list lock when cleaning daemon queue
- 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 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.109, and 2 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: ecryptfs: hold msg ctx list lock when cleaning daemon queue ecryptfs_exorcise_daemon() drops queued messages from a dying daemon without holding ecryptfs_msg_ctx_lists_mux, but ecryptfs_msg_ctx_alloc_to_free() requires that lock. Take the list lock while moving the queued contexts back to the free list to avoid racing with other global msg ctx list users.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From f66e883eb6186bc43a79581b67aff7d1a69d0ff1 · fixed in 64d8998e36cfd2bb7114f3af0aa51c5a559a39b3; From f66e883eb6186bc43a79581b67aff7d1a69d0ff1 · fixed in 4d50b8aea11ad9594c8704a4c647e11311ab7b19; From f66e883eb6186bc43a79581b67aff7d1a69d0ff1 · fixed in 956541efd125a10442f9514668bc5c852702c93b; From f66e883eb6186bc43a79581b67aff7d1a69d0ff1 · fixed in ec1627bcb5b51ddd46b1ef27a9d5a9834abb0a6a; From f66e883eb6186bc43a79581b67aff7d1a69d0ff1 · fixed in 7e48afafe7abc275f7b6916613bb18b821e7d94a; From f66e883eb6186bc43a79581b67aff7d1a69d0ff1 · fixed in 0d9636ecba34bd553ecf19049f7705505aea62fd; From f66e883eb6186bc43a79581b67aff7d1a69d0ff1 · fixed in 4c02acbe0a2692ca9991c51e62bbe6d6b59dac31; From f66e883eb6186bc43a79581b67aff7d1a69d0ff1 · fixed in 779972513c2fa8c7938e54976f686091dafff22f
- Linux Linux
2.6.26
- KernelLinux
From 2.6.26 · fixed in 5.10.270; From 5.11.0 · fixed in 5.15.221; From 5.16.0 · fixed in 6.1.188; From 6.2.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.109; From 6.13.0 · fixed in 6.18.50; From 6.19.0 · fixed in 7.2.4
References 8
git.kernel.org
- stable/c/64d8998e36cfd2bb7114f3af0aa51c5a559a39b3
- stable/c/4d50b8aea11ad9594c8704a4c647e11311ab7b19
- stable/c/956541efd125a10442f9514668bc5c852702c93b
- stable/c/ec1627bcb5b51ddd46b1ef27a9d5a9834abb0a6a
- stable/c/7e48afafe7abc275f7b6916613bb18b821e7d94a
- stable/c/0d9636ecba34bd553ecf19049f7705505aea62fd
- stable/c/4c02acbe0a2692ca9991c51e62bbe6d6b59dac31
- stable/c/779972513c2fa8c7938e54976f686091dafff22f