CVE-2021-47357

In the Linux kernel, the following vulnerability has been resolved: atm: iphase: fix possible use-after-free in ia_module_exit() This module's remove path calls del_timer(). However, that function does not wait until the timer handler finishes. This means that the timer handler may still be running after the driver's remove function has finished, which would result in a use-after-free. Fix by calling del_timer_sync(), which makes sure the timer handler has finished, and unable to re-schedule itself.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

26 Dec 2024, 19:30

Type Values Removed Values Added
CWE CWE-416
References () https://git.kernel.org/stable/c/1c72e6ab66b9598cac741ed397438a52065a8f1f - () https://git.kernel.org/stable/c/1c72e6ab66b9598cac741ed397438a52065a8f1f - Patch
References () https://git.kernel.org/stable/c/89ce0b0747f319eb70f85bc820dcc43cebbd5417 - () https://git.kernel.org/stable/c/89ce0b0747f319eb70f85bc820dcc43cebbd5417 - Patch
References () https://git.kernel.org/stable/c/9e161687855175334ca93c6c3ccb221731194479 - () https://git.kernel.org/stable/c/9e161687855175334ca93c6c3ccb221731194479 - Patch
References () https://git.kernel.org/stable/c/a832ee2f2145f57443b2d565f8cb5490e8339f42 - () https://git.kernel.org/stable/c/a832ee2f2145f57443b2d565f8cb5490e8339f42 - Patch
References () https://git.kernel.org/stable/c/b58d246a058ae88484758cd4ab27b3180fd5ecf8 - () https://git.kernel.org/stable/c/b58d246a058ae88484758cd4ab27b3180fd5ecf8 - Patch
References () https://git.kernel.org/stable/c/bcdd2be48edd8c6867fb44112cb8d18086beae29 - () https://git.kernel.org/stable/c/bcdd2be48edd8c6867fb44112cb8d18086beae29 - Patch
References () https://git.kernel.org/stable/c/c9172498d4d62c9b64e5fb37c1ee0343e65fe51b - () https://git.kernel.org/stable/c/c9172498d4d62c9b64e5fb37c1ee0343e65fe51b - Patch
References () https://git.kernel.org/stable/c/d1fb12412874c94ad037e11d0ecdd1140a439297 - () https://git.kernel.org/stable/c/d1fb12412874c94ad037e11d0ecdd1140a439297 - Patch
References () https://git.kernel.org/stable/c/e759ff76ebbbfcdcf83b6634c54dc47828573d8b - () https://git.kernel.org/stable/c/e759ff76ebbbfcdcf83b6634c54dc47828573d8b - Patch
First Time Linux linux Kernel
Linux
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

21 Nov 2024, 06:35

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/1c72e6ab66b9598cac741ed397438a52065a8f1f - () https://git.kernel.org/stable/c/1c72e6ab66b9598cac741ed397438a52065a8f1f -
References () https://git.kernel.org/stable/c/89ce0b0747f319eb70f85bc820dcc43cebbd5417 - () https://git.kernel.org/stable/c/89ce0b0747f319eb70f85bc820dcc43cebbd5417 -
References () https://git.kernel.org/stable/c/9e161687855175334ca93c6c3ccb221731194479 - () https://git.kernel.org/stable/c/9e161687855175334ca93c6c3ccb221731194479 -
References () https://git.kernel.org/stable/c/a832ee2f2145f57443b2d565f8cb5490e8339f42 - () https://git.kernel.org/stable/c/a832ee2f2145f57443b2d565f8cb5490e8339f42 -
References () https://git.kernel.org/stable/c/b58d246a058ae88484758cd4ab27b3180fd5ecf8 - () https://git.kernel.org/stable/c/b58d246a058ae88484758cd4ab27b3180fd5ecf8 -
References () https://git.kernel.org/stable/c/bcdd2be48edd8c6867fb44112cb8d18086beae29 - () https://git.kernel.org/stable/c/bcdd2be48edd8c6867fb44112cb8d18086beae29 -
References () https://git.kernel.org/stable/c/c9172498d4d62c9b64e5fb37c1ee0343e65fe51b - () https://git.kernel.org/stable/c/c9172498d4d62c9b64e5fb37c1ee0343e65fe51b -
References () https://git.kernel.org/stable/c/d1fb12412874c94ad037e11d0ecdd1140a439297 - () https://git.kernel.org/stable/c/d1fb12412874c94ad037e11d0ecdd1140a439297 -
References () https://git.kernel.org/stable/c/e759ff76ebbbfcdcf83b6634c54dc47828573d8b - () https://git.kernel.org/stable/c/e759ff76ebbbfcdcf83b6634c54dc47828573d8b -
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: atm: iphase: corrige posible use after free en ia_module_exit(). La ruta de eliminación de este módulo llama a del_timer(). Sin embargo, esa función no espera hasta que finalice el controlador del temporizador. Esto significa que es posible que el controlador del temporizador aún esté ejecutándose después de que haya finalizado la función de eliminación del controlador, lo que daría como resultado un use after free. Para solucionarlo, llame a del_timer_sync(), lo que garantiza que el controlador del temporizador haya finalizado y no pueda reprogramarse.

21 May 2024, 15:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-05-21 15:15

Updated : 2024-12-26 19:30


NVD link : CVE-2021-47357

Mitre link : CVE-2021-47357

CVE.ORG link : CVE-2021-47357


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-416

Use After Free