Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: x86: shadow stacks: proper error handling for mmap lock 김영민 reports that shstk_pop_sigframe() doesn't check for errors from mmap_read_lock_killable(), which is a silly oversight, and also shows that we haven't marked those functions with "__must_check", which would have immediately caught it. So let's fix both issues.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 7fad2a432cd35bbf104d2d9d426e74902f22aa95 before c79cf42321600e931933e11f94aba8b245d4cd66; affected 7fad2a432cd35bbf104d2d9d426e74902f22aa95 before 1a30468eff661937d978495644d2e5ebfeef5ce6; affected 7fad2a432cd35bbf104d2d9d426e74902f22aa95 before c64cebcc5c4f223dbcbe7dcdf74908fc092a0aa4; affected 7fad2a432cd35bbf104d2d9d426e74902f22aa95 before 262b6d38a81d51b135db81e1f30c13d30e38feee; affected 7fad2a432cd35bbf104d2d9d426e74902f22aa95 before 52f657e34d7b21b47434d9d8b26fa7f6778b63a0 |
| Linux / Linux | affected 6.6; unaffected 0 before 6.6; unaffected 6.6.140 through 6.6.*; unaffected 6.12.88 through 6.12.*; unaffected 6.18.24 through 6.18.*; unaffected 6.19.14 through 6.19.*; unaffected 7.0 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/c79cf42321600e931933e11f94aba8b245d4cd66
- https://git.kernel.org/stable/c/1a30468eff661937d978495644d2e5ebfeef5ce6
- https://git.kernel.org/stable/c/c64cebcc5c4f223dbcbe7dcdf74908fc092a0aa4
- https://git.kernel.org/stable/c/262b6d38a81d51b135db81e1f30c13d30e38feee
- https://git.kernel.org/stable/c/52f657e34d7b21b47434d9d8b26fa7f6778b63a0