summary refs log tree commit diff stats
path: root/gitlab/issues/target_missing/host_missing/accel_TCG/2030.toml
blob: 06233a9e33c5867fc2bb0f80ee3e266deb375594 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
id = 2030
title = "Unreachable code"
state = "closed"
created_at = "2023-12-11T11:15:02.623Z"
closed_at = "2024-04-29T08:44:40.786Z"
labels = ["Bite Sized", "accel: TCG", "workflow::Patch available"]
url = "https://gitlab.com/qemu-project/qemu/-/issues/2030"
host-os = "n/a"
host-arch = "n/a"
qemu-version = "n/a"
guest-os = "n/a"
guest-arch = "n/a"
description = """There is always a false condition in the function `alloc_code_gen_buffer_splitwx_memfd` in the file `tcg/region.c`. If `buf_rw == NULL` we go to the mark __fail__:

https://gitlab.com/qemu-project/qemu/-/blob/master/tcg/region.c?ref_type=heads#L580-L583

But the value of `buf_rx` is __`MAP_FAILED`__:

https://gitlab.com/qemu-project/qemu/-/blob/master/tcg/region.c?ref_type=heads#L577

And this line will never be reached:

https://gitlab.com/qemu-project/qemu/-/blob/master/tcg/region.c?ref_type=heads#L601

Found by Linux Verification Center (portal.linuxtesting.ru) with SVACE.

Author A. Voronin."""
reproduce = "n/a"
additional = "n/a"