From: Heiko Carstens <hca@linux.ibm.com>
To: Baoquan He <bhe@redhat.com>
Cc: linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org,
kexec@lists.infradead.org, prudo@redhat.com
Subject: Re: [PATCH v2 RESEND 2/2] s390/kexec: fix memory leak of ipl report buffer
Date: Tue, 16 Nov 2021 12:17:35 +0100 [thread overview]
Message-ID: <YZOTT2v+V14Nk7IB@osiris> (raw)
In-Reply-To: <20211116033101.GD21646@MiWiFi-R3L-srv>
On Tue, Nov 16, 2021 at 11:31:01AM +0800, Baoquan He wrote:
> unreferenced object 0x38000195000 (size 4096):
> comm "kexec", pid 8548, jiffies 4294953647 (age 32443.270s)
> hex dump (first 32 bytes):
> 00 00 00 c8 20 00 00 00 00 00 00 c0 02 80 00 00 .... ...........
> 40 40 40 40 40 40 40 40 00 00 00 00 00 00 00 00 @@@@@@@@........
> backtrace:
> [<0000000011a2f199>] __vmalloc_node_range+0xc0/0x140
> [<0000000081fa2752>] vzalloc+0x5a/0x70
> [<0000000063a4c92d>] ipl_report_finish+0x2c/0x180
> [<00000000553304da>] kexec_file_add_ipl_report+0xf4/0x150
> [<00000000862d033f>] kexec_file_add_components+0x124/0x160
> [<000000000d2717bb>] arch_kexec_kernel_image_load+0x62/0x90
> [<000000002e0373b6>] kimage_file_alloc_init+0x1aa/0x2e0
> [<0000000060f2d14f>] __do_sys_kexec_file_load+0x17c/0x2c0
> [<000000008c86fe5a>] __s390x_sys_kexec_file_load+0x40/0x50
> [<000000001fdb9dac>] __do_syscall+0x1bc/0x1f0
> [<000000003ee4258d>] system_call+0x78/0xa0
>
> Signed-off-by: Baoquan He <bhe@redhat.com>
> Fixes: 99feaa717e55 ("s390/kexec_file: Create ipl report and pass to next kernel")
> ---
> RESEND:
> Fix the incorrect subject.
>
> arch/s390/include/asm/kexec.h | 7 +++++++
> arch/s390/kernel/machine_kexec_file.c | 9 +++++++++
> 2 files changed, 16 insertions(+)
Applied, thanks!
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
WARNING: multiple messages have this Message-ID (diff)
From: Heiko Carstens <hca@linux.ibm.com>
To: Baoquan He <bhe@redhat.com>
Cc: linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org,
kexec@lists.infradead.org, prudo@redhat.com
Subject: Re: [PATCH v2 RESEND 2/2] s390/kexec: fix memory leak of ipl report buffer
Date: Tue, 16 Nov 2021 12:17:35 +0100 [thread overview]
Message-ID: <YZOTT2v+V14Nk7IB@osiris> (raw)
In-Reply-To: <20211116033101.GD21646@MiWiFi-R3L-srv>
On Tue, Nov 16, 2021 at 11:31:01AM +0800, Baoquan He wrote:
> unreferenced object 0x38000195000 (size 4096):
> comm "kexec", pid 8548, jiffies 4294953647 (age 32443.270s)
> hex dump (first 32 bytes):
> 00 00 00 c8 20 00 00 00 00 00 00 c0 02 80 00 00 .... ...........
> 40 40 40 40 40 40 40 40 00 00 00 00 00 00 00 00 @@@@@@@@........
> backtrace:
> [<0000000011a2f199>] __vmalloc_node_range+0xc0/0x140
> [<0000000081fa2752>] vzalloc+0x5a/0x70
> [<0000000063a4c92d>] ipl_report_finish+0x2c/0x180
> [<00000000553304da>] kexec_file_add_ipl_report+0xf4/0x150
> [<00000000862d033f>] kexec_file_add_components+0x124/0x160
> [<000000000d2717bb>] arch_kexec_kernel_image_load+0x62/0x90
> [<000000002e0373b6>] kimage_file_alloc_init+0x1aa/0x2e0
> [<0000000060f2d14f>] __do_sys_kexec_file_load+0x17c/0x2c0
> [<000000008c86fe5a>] __s390x_sys_kexec_file_load+0x40/0x50
> [<000000001fdb9dac>] __do_syscall+0x1bc/0x1f0
> [<000000003ee4258d>] system_call+0x78/0xa0
>
> Signed-off-by: Baoquan He <bhe@redhat.com>
> Fixes: 99feaa717e55 ("s390/kexec_file: Create ipl report and pass to next kernel")
> ---
> RESEND:
> Fix the incorrect subject.
>
> arch/s390/include/asm/kexec.h | 7 +++++++
> arch/s390/kernel/machine_kexec_file.c | 9 +++++++++
> 2 files changed, 16 insertions(+)
Applied, thanks!
next prev parent reply other threads:[~2021-11-16 11:17 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-16 3:25 [PATCH v2 1/2] s390/kexec: check the return value of ipl_report_finish Baoquan He
2021-11-16 3:25 ` Baoquan He
2021-11-16 3:25 ` [PATCH v2 2/2] s390/kexec: fix kmemleak Baoquan He
2021-11-16 3:25 ` Baoquan He
2021-11-16 3:31 ` [PATCH v2 RESEND 2/2] s390/kexec: fix memory leak of ipl report buffer Baoquan He
2021-11-16 3:31 ` Baoquan He
2021-11-16 11:17 ` Heiko Carstens [this message]
2021-11-16 11:17 ` Heiko Carstens
2021-11-17 21:46 ` [PATCH v2 2/2] s390/kexec: fix kmemleak kernel test robot
2021-11-17 21:46 ` kernel test robot
2021-11-18 7:13 ` Baoquan He
2021-11-18 7:13 ` Baoquan He
2021-11-18 7:13 ` Baoquan He
2021-11-18 8:53 ` Heiko Carstens
2021-11-18 8:53 ` Heiko Carstens
2021-11-18 8:53 ` Heiko Carstens
2021-11-19 2:35 ` Baoquan He
2021-11-19 2:35 ` Baoquan He
2021-11-19 2:35 ` Baoquan He
2021-11-16 11:17 ` [PATCH v2 1/2] s390/kexec: check the return value of ipl_report_finish Heiko Carstens
2021-11-16 11:17 ` Heiko Carstens
2021-11-16 13:39 ` Baoquan He
2021-11-16 13:39 ` Baoquan He
2021-11-26 8:21 ` kernel test robot
2021-11-26 8:21 ` kernel test robot
2021-11-26 8:21 ` kernel test robot
2021-11-26 9:36 ` Baoquan He
2021-11-26 9:36 ` Baoquan He
2021-11-26 9:36 ` Baoquan He
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=YZOTT2v+V14Nk7IB@osiris \
--to=hca@linux.ibm.com \
--cc=bhe@redhat.com \
--cc=kexec@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=prudo@redhat.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.