Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
76e8e4ace1ed2c97dba3b1370e0e105e07c572bc to < 3f265e405e5ef85030c3777262e18bb556bc8724affected76e8e4ace1ed2c97dba3b1370e0e105e07c572bc to < a902fe1f80f58a2335b6be1131866f827ec44d1aaffected76e8e4ace1ed2c97dba3b1370e0e105e07c572bc to < af6345159abcbaa550518f31990d2a9558c2d369affected76e8e4ace1ed2c97dba3b1370e0e105e07c572bc to < efd02f8d1a7449f15809bc18d3cd41aafea75d7eaffected76e8e4ace1ed2c97dba3b1370e0e105e07c572bc to < b85a0e91d7d6cd06a53c881a46f749cfcef416a2affected
Linux Linux
Default version status: affected
6.2affected0 to < 6.2unaffected6.6.152 to ≤ 6.6.*unaffected6.12.104 to ≤ 6.12.*unaffected6.18.45 to ≤ 6.18.*unaffected7.1.9 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
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 ↗