CVE-2022-50193 Information
Description
In the Linux kernel the following vulnerability has been resolved:
erofs: wake up all waiters after z_erofs_lzma_head ready
When the user mounts the erofs second times the decompression thread may hung. The problem happens due to a sequence of steps like the following:
-
Task A called z_erofs_load_lzma_config which obtain all of the node from the z_erofs_lzma_head.
-
At this time task B called the z_erofs_lzma_decompress and wanted to get a node. But the z_erofs_lzma_head was empty the Task B had to sleep.
-
Task A release nodes and push nodes into the z_erofs_lzma_head. But task B was still sleeping.
One example report when the hung happens:
task:kworker/u3:1 state:D stack:14384 pid: 86 ppid: 2 flags:0x00004000
Workqueue: erofs_unzipd z_erofs_decompressqueue_work
Call Trace:
Reference
https://git.kernel.org/stable/c/2478e36ec437a27f8a05bea9e4269a68c554e21f https://git.kernel.org/stable/c/2df7c4bd7c1d2bc5ece5e9ed19dbd386810c2a65 https://git.kernel.org/stable/c/96aa2a6a89618d850ef082e4268007e840c28769
Related CNNVD
CNNVD-202506-2482 (Published: 2025-06-18)
Share on: