From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756881AbcASBQl (ORCPT ); Mon, 18 Jan 2016 20:16:41 -0500 Received: from szxga02-in.huawei.com ([119.145.14.65]:11365 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756747AbcASBQi (ORCPT ); Mon, 18 Jan 2016 20:16:38 -0500 Message-ID: <569D8E67.6080104@huawei.com> Date: Tue, 19 Jan 2016 09:16:23 +0800 From: zhong jiang User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: CC: Xishi Qiu , Subject: About a dmi table decode Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.29.68] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020203.569D8E73.00AC,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 8a38aa1d1924e3caee0f938d2d4496e2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, can I ask a question? Say, we can obtain the dmi_len from the SMBIOS when decoding the dmi table, dmi_len defines the table size as a maximum size. but , SMBIOS 3.0 can support more than 256kb size, That will lead to a mapping overflow in the dmi_early_remap. Thanks zhongjiang