From: "zhangjianguo (A)" via <qemu-devel@nongnu.org>
To: Fabiano Rosas <farosas@suse.de>,
"peterx@redhat.com" <peterx@redhat.com>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Cc: Liheng <liheng.liheng@huawei.com>,
Renxuming <renxuming@huawei.com>,
"Pengyi (pengyi)" <pengyi.pengyi@huawei.com>,
"huhao (N)" <huhao33@huawei.com>,
"zhangjianguo (A)" <zhangjianguo18@huawei.com>,
"wangyanan (Y)" <wangyanan55@huawei.com>
Subject: 转发: Qemu asan test reported heap-use-after-free error when using qxl and spice
Date: Thu, 6 Jul 2023 12:46:41 +0000 [thread overview]
Message-ID: <29dc946894d64d85bb6d8eaa703175f8@huawei.com> (raw)
In-Reply-To: <e933f6dbd7c3462ca3732ff52c6e8b2a@huawei.com>
[-- Attachment #1.1.1: Type: text/plain, Size: 926 bytes --]
发件人: fengzhuoran <fengzhuoran@huawei.com>
发送时间: 2023年7月6日 20:38
收件人: zhangjianguo (A) <zhangjianguo18@huawei.com>
主题: Qemu asan test reported heap-use-after-free error when using qxl and spice
Qemu:qemu-6.2
Spice server: 0.14.3
GuestOS:kylinOS desktop(or other guestos with desktop)
vm xml:My VM xml is in the email attachment.
When we tested QEMU with asan, we found a heap-use-after-free error. The error message is as follows:
[cid:image003.jpg@01D9B049.D18FBE60]
[cid:image004.png@01D9B049.0C5E7B40]
I think the reason for the problem is that the cursor pointer was not set to NULL when qemu call cursor_put. But I don't know what situation will trigger this error.
This error is difficult to reproduce by natural.
[cid:image005.png@01D9B049.0C5E7B40]
I can get the same error by calling cursor_put twice.
I don't know if this is a bug in QEMU and I am looking for help.
[-- Attachment #1.1.2: Type: text/html, Size: 5845 bytes --]
[-- Attachment #1.2: image004.png --]
[-- Type: image/png, Size: 14677 bytes --]
[-- Attachment #1.3: image005.png --]
[-- Type: image/png, Size: 36032 bytes --]
[-- Attachment #1.4: image003.jpg --]
[-- Type: image/jpeg, Size: 57130 bytes --]
[-- Attachment #2: kylin.xml --]
[-- Type: application/xml, Size: 10225 bytes --]
parent reply other threads:[~2023-07-06 12:47 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <e933f6dbd7c3462ca3732ff52c6e8b2a@huawei.com>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=29dc946894d64d85bb6d8eaa703175f8@huawei.com \
--to=qemu-devel@nongnu.org \
--cc=farosas@suse.de \
--cc=huhao33@huawei.com \
--cc=liheng.liheng@huawei.com \
--cc=pengyi.pengyi@huawei.com \
--cc=peterx@redhat.com \
--cc=renxuming@huawei.com \
--cc=wangyanan55@huawei.com \
--cc=zhangjianguo18@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.