Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: misc: fastrpc: take fl->lock when moving mmaps on interrupted invoke When an invoke is interrupted by a signal, wait_for_completion_interruptible() returns -ERESTARTSYS and fastrpc_internal_invoke() moves every buffer from fl->mmaps onto cctx->invoke_interrupted_mmaps. This list_del()/list_add_tail() walk runs without holding fl->lock, the lock that serialises fl->mmaps in fastrpc_req_mmap() and fastrpc_req_munmap() everywhere else. Take fl->lock around the move, matching every other fl->mmaps accessor.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 76e8e4ace1ed2c97dba3b1370e0e105e07c572bc before 3f265e405e5ef85030c3777262e18bb556bc8724; affected 76e8e4ace1ed2c97dba3b1370e0e105e07c572bc before a902fe1f80f58a2335b6be1131866f827ec44d1a; affected 76e8e4ace1ed2c97dba3b1370e0e105e07c572bc before af6345159abcbaa550518f31990d2a9558c2d369; affected 76e8e4ace1ed2c97dba3b1370e0e105e07c572bc before efd02f8d1a7449f15809bc18d3cd41aafea75d7e; affected 76e8e4ace1ed2c97dba3b1370e0e105e07c572bc before b85a0e91d7d6cd06a53c881a46f749cfcef416a2 |
| Linux / Linux | affected 6.2; unaffected 0 before 6.2; unaffected 6.6.152 through 6.6.*; unaffected 6.12.104 through 6.12.*; unaffected 6.18.45 through 6.18.*; unaffected 7.1.9 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/3f265e405e5ef85030c3777262e18bb556bc8724
- https://git.kernel.org/stable/c/a902fe1f80f58a2335b6be1131866f827ec44d1a
- https://git.kernel.org/stable/c/af6345159abcbaa550518f31990d2a9558c2d369
- https://git.kernel.org/stable/c/efd02f8d1a7449f15809bc18d3cd41aafea75d7e
- https://git.kernel.org/stable/c/b85a0e91d7d6cd06a53c881a46f749cfcef416a2