Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752995AbdFPPBl (ORCPT ); Fri, 16 Jun 2017 11:01:41 -0400 Received: from esa5.hgst.iphmx.com ([216.71.153.144]:50836 "EHLO esa5.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752335AbdFPPBi (ORCPT ); Fri, 16 Jun 2017 11:01:38 -0400 X-IronPort-AV: E=Sophos;i="5.39,347,1493654400"; d="scan'208";a="25856147" Authentication-Results: spf=fail (sender IP is 63.163.107.21) smtp.mailfrom=wdc.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=wdc.com; X-AuditID: 0ac94369-593ff70000000af5-05-5943f2cac81e Subject: Re: [RFC] ubsan: signed integer overflow in scsi_partsize To: Alice Ferrazzi , , , , References: <20170616132932.GG20222@alitoo> From: Bart Van Assche Message-ID: <8a48d772-9860-b74f-25fc-57bda30bd663@wdc.com> Date: Fri, 16 Jun 2017 08:01:27 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 MIME-Version: 1.0 In-Reply-To: <20170616132932.GG20222@alitoo> Content-Type: text/plain; charset="windows-1252" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrPLMWRmVeSWpSXmKPExsXCddJ5ke6ZT86RBjd+2lg0zfrIbrFqYp7F 5V1z2Cy6r+9gs1h+/B+TA6vH5e9vmD0eHNrM4vHx6S0Wj8+b5AJYorhsUlJzMstSi/TtErgy nu1tZi84w1zRefcFcwPjb6YuRg4OCQETiXtfEroYuTiEBJYySWyYf5gNwtnBKHG78zWQwwlW dKFtDStUFaNE+4WFjCAJYQEniS+NX1lAEiICCxkllr3ZwQSSEBLQljj8vxOsiE1AT+LUvH1g cV4BK4nzD2+DTWURUJW49BNikKhAhMTq3bOhagQlTs58wgJicwroSFz+N58VxGYWMJA4smgO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oqEWc1FxIgD6d9v9CAIAAA== X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:63.163.107.21;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10019020)(6009001)(39450400003)(39840400002)(39850400002)(39860400002)(39400400002)(39410400002)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(24454002)(9170700003)(189998001)(72206003)(83506001)(64126003)(38730400002)(47776003)(4001350100001)(65826007)(50466002)(36756003)(2906002)(76176999)(5660300001)(77096006)(54356999)(50986999)(305945005)(31686004)(53416004)(86362001)(106466001)(53546009)(105606002)(33646002)(81166006)(8936002)(8676002)(356003)(6246003)(229853002)(2201001)(6666003)(85426001)(31696002)(53936002)(230700001)(478600001)(2950100002);DIR:OUT;SFP:1102;SCL:1;SRVR:DM2PR04MB544;H:milsmgep15.sandisk.com;FPR:;SPF:Fail;MLV:sfv;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;CO1NAM04FT056;1:52jOregZHqd7oBjKnZEbBdLbJXAdFrS1UxcPk3GomBrQRNv0e8kSORXtmR/RB3Tgksk72sn3MJGRk2xf8jU+YkNsD+nF0rHTzzdKGXccM/ffOmkjF56dFOPx3m8/su++RzafEvtsDnHpvNBOySgpkINT9OvCKWdDsFI59mEKyY7X/onUa0R4afhl9es+/cxm26gQzeNQG+gPeIzmsckmp5vwNA1A3SzkE6uKPvxtjRdhFZJY8C+8x9eSP+3qJg5n5PgnhRP24PHIlo7HrpIg3WOk0bUUPc91Ev3JyEryCCXV8aXcR9dEyL9eVODA4EAALpwj84bunTIYegKdd5dH+IEVW6MdXiMeA2qRj5jNK1RJ+vEk1vnZIArZ/v9H7SE2qUWR0Flk5J7VHb228v/H02HxCyNbgwKf211i6mN44Ach2/rNOLcDa0TSb1eCFp1wVvSawujjIWfMUgKv/YQ8uIN61/8fvkt7SPgX8IFQXhQwTmfDPB+qtqSOInhsqHYWX+N2PHX51OQdYoxpNl2ct8CP2v8XimQdUZV3rshu7+6zO67/zjPLfQ2K7/CBa9qX X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM2PR04MB544: X-MS-Office365-Filtering-Correlation-Id: 4c6fa295-b086-498c-58bc-08d4b4c89455 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(2017030254075)(201703131423075)(201703031133081);SRVR:DM2PR04MB544; X-Microsoft-Exchange-Diagnostics: 1;DM2PR04MB544;3:JEBSodutOAP1R5DCcBhwxSjCcS7SP8IjF7ahjppFPIJ+kE3CYe+Fl+14U8f2VkqErEabempaYTB+zxolCtUPdIrYuVoOFaO74Kc8BAihkVclG6qE4J5BivP3DCSFjzHqHi8hVyLKg/NfCWVy1KHNHlZVvfr326ZcJDiV1/pvpaO6cxDHi/cBsmq0B8Dz247LOyLN993GX2Oj/cjdygof1ivZiRPKxLpUAmC8ji0iNPVo4ltMK5FhihquS/2qGzCxcmWN60xnnN/koQ4/egpmSY3Icyqa6K3vx+WJ02FmGs8l4rWqnzvT+nJKR64lum5EJqJ6fH/INCOby/hW06q5Jbma+e5wyPYOihpmhIyH+SEJ6O84t2gP8dHQUk5F1FxTc9nF7Ad17Mlo+WJM4X734RBfnDj6BQrFe7LRkgC0fTAZJibRP8WQnE6S3eYYYqhSVhk+pePRGfIJ8pOqqINGQg== X-Microsoft-Exchange-Diagnostics: 1;DM2PR04MB544;25:+DXrTfNvbBgANi+nvH4qvCJhE1t9C553LfhIHEfQCvjrOm+Cy3slFjwh/5Mydqcm+jlfJSr71oOKwHz6APSM1pFnpbcSjODyIt6yILpCZSX/Bpf/N3IBvQlYyifekki3z5Jl4y9/ItKVyYgBPlhOx9FiAV79gz1qz0DZ4icsCqgMzwOEWdWs903wmNqrCRlKV20fOtcAxbKIld693h4fSI6fNVlaIRQxLTd6H070w33Fc4sNSWXXywCphIm6IHrhK9BAgVTDymfWLUR+tnUwKMJuM0qhl08RWK3frRPbUwSJ4IC5YrDS4ZyDsietHtAR7szWx3EP01hOkeLEel8lbihDLXJrXmKnyMCG9CW22RYhc7aAzUCIobJw9YxK6pLTOD/3+AEWFvxzI6WKtlPw6WkCXu1I+eCXwkRsRvv/enaF8Tc/GKp37p1mbligmWEoHfKvX0ZfB50u7kxwXlL45Vb9cJ7Q/9KYpMmEWEiqpYY=;31:9F9Sdo0M5vZIMddd+S97vryg8s9N/lnsvq0geY6GAxu/bR/urq1Hu7cADzOVRQ1Nu+xR+pvq1CSZaf7j8LCwA6NnhD5fbeOj5Pqezc2HQzc5lcG1XWZViL4GVEL5zao1pkiNkQuxzehZaZCppkgry5LdMSzmtZ1UdRytsdr/8y6cWqMNK+hJli3mOkEmlqDDtZWcNeAf5RgvCgvsQh0TSu7KlRqMCmRYXM1ShwTd9Fj1noUSjPp+5iF/+iieFcOMFM3hkDlNMbdwYj1UosP+Ug== WDCIPOUTBOUND: EOP-TRUE X-Microsoft-Exchange-Diagnostics: 1;DM2PR04MB544;20:qWR4eIIk/+EP4gFRK81CSoouN64qCV/qh7RyBitIsPI5xSDwwHk5JwGQNEZd+EqnVsMCBuC/+Je7tN1OigjSQgqcuygG1WwbiQve4rixxwV5UXWOSrvmn77vW8eMH+me2eCTnUFAAhgFJbd49E0obE8NAnmy7KO1UY5b05budTUdr33LgkiFgeAjHjTT+8ow8pemwVlo3RBmmN3iHBbmaFIDBsH5sSt8d06llNSjGZvYkES6AnzNHTmyXr6ltDbzrZ9ABy82cEu/zmYe5lqSRUCE6Y/mxRON9TkhKw3uFx4CDEpkP/jzm9kjpl542p5wKCKOY69qm8DWYlhnLSpPMvtUPcUlNuqdy2fP986/EeZNjl6v1zXFNPfbxZMxRxOLtNtngFwtIZj5XYGAUUY4eWEpVliD5pPEiHrooMpPKMc3W/pqpJRi7D1ZvRz9hP1rQGotTXXgkglZXEZvOine6qcHVNeOybgUapgiKVJ2eSWgB6hWimIejIE4eaY1D1xk X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(13018025)(13016025)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(93003095)(6055026)(6041248)(20161123560025)(20161123555025)(20161123564025)(20161123558100)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:DM2PR04MB544;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:DM2PR04MB544; X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1;DM2PR04MB544;4:qYKYa3U6ZQI5x80M0Y+VvKnffDfoWHSYCPKH+LK?= =?Windows-1252?Q?DdHhNtbkKv/CcVfrBmcQbbZYs8u61TkQPtuCkW+8ydTcSVsIVVG/HcLb?= =?Windows-1252?Q?kdTztweMsPWhgnE9nbrgHrvrKmGGLJ1mZxrmLHBMGTih74fNxDc2i3vM?= =?Windows-1252?Q?f7GGwcrqrECvsUy97sxlBJbQB40Pg9yRTUSo0boenxNnXk5NfB06mBSE?= =?Windows-1252?Q?8/O57UD3gssvmOcTz0WQcKq/pjXpul5vqwqg/sdvyDSDSvYXJKn5oEan?= =?Windows-1252?Q?RrFWJcOAnBUBJU9F8fVpgAuTdzvR65G6lYNTRgPeCpivuG49Mdx6aLu7?= =?Windows-1252?Q?/vB3WXeWUQgSJy3R9INigmkLmTGJ2W/BqquRIRmzalbOE8upNgUygZYM?= =?Windows-1252?Q?dU0PLv5WsBu8psS9C3MSl27CKLuF5KNrosV3YS64VGSn5X4ZTTjFIiF6?= =?Windows-1252?Q?LfHgJ+qv1rSx7gDd8sN04VkoiM9vE1+yXeA9trBzyxO5awjU2HQ4Gr2c?= =?Windows-1252?Q?GFADcfm2h2cOhq/Jef3NviipTtWidiVj8xAVKLqHYBQo8AWx8vFDzOSy?= =?Windows-1252?Q?V0DVKZive2JZwNbe/FPId6e7daLHsc9ov9Wic71+Csd4gefsqOR/rZV+?= =?Windows-1252?Q?TRJ09omiLKvgFWYpje/L6ytdKVFA73m7QI370lbyBgo1e8DN2GCMIES7?= =?Windows-1252?Q?TyTeqTZ0bDJSrjVBmMaWJmJmjosLnbkY/CEVh/Wr2CwbrtrC/mq4H/7z?= =?Windows-1252?Q?Xg6gFjOm+kNIRw4NCfaOLrwYMK05gsk//l5J7x8nIY5oVjyMRclOPXnR?= =?Windows-1252?Q?hH/Q807TAF56cHUIqPhwEdjzsp5FTAHZhpRXmuyeOHC84q3JW8xzHdQ2?= =?Windows-1252?Q?74d5YNUnaAWxVwkAte3JXusRfstEfQVI377Qxz4XOoH4gRWU+PGs7sG5?= =?Windows-1252?Q?EVGkYbvvn1CdLoWxhZviwXlNKwEcDDe2kzgyOze9qH/35SKJ7bKrvg+u?= =?Windows-1252?Q?gVUflk1iK7Ae1m+dDAAly8MmYAyciZ6kuGSqJ6SieK0s6p4SP3o7sOWI?= =?Windows-1252?Q?ClGXE1RnLzmjpO2OXoGG3tymaH/wVl1iAb7QBZR7K5JOIEg3gQFbJUtC?= =?Windows-1252?Q?3+hf9pi6UbqOBF07mjDtlLFNTOPzxCcsUTv8+dSyZ7Gm+dU5lkyFb8K2?= =?Windows-1252?Q?P8jx4JZiPoR/xYrAtg8d8Vg5vWzxgNtiqOAkVAvZBQp2M7pm89CAPPF6?= =?Windows-1252?Q?2C1MPojIcrMmD+pfQiiric8BsmLkk3fT6MEj9UcJItVjGbkCV8Y+96F7?= =?Windows-1252?Q?p?= X-Forefront-PRVS: 0340850FCD X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1;DM2PR04MB544;23:5Q0jjgx5BrJU5i8vKXqE2EgEv6VDp5ENWyYZJ9?= =?Windows-1252?Q?CgMi6GcmVbw1Un2X5XD7bhMfweTEmMnF1rse82ENLFGu/RbE9NhnZ+Bw?= =?Windows-1252?Q?fH/PA6RJ001jyhe5FacGXxEwZCgoZQK76KSD6k6qFA42tNDD+3VAnB9m?= =?Windows-1252?Q?LMPUcgA6Ox8q3aMLCbLOUwuye5tl0Y8yynrFhWnXsFOTaIqYyF1wmwil?= =?Windows-1252?Q?xLDlxwnXDlqZNZJxpIKbe6fRUxRwjNSDoicJbcodPkGIGfi6Wu/ZvyF9?= =?Windows-1252?Q?eCz2Q8WPV4mhHZode4R30E3EbSafthbNP2Gs+k9AgFFGt8QD2TsW9Yx/?= =?Windows-1252?Q?Yq7N6KIAFAN8S6H9keCutwgwl7SSSche/JeBWP7m9brYAsP/c3tQJ/de?= =?Windows-1252?Q?3VWmmYIpjTULLUfC/PSGMx0AR93GJuy/egzGbTwTg31r+gAT+Gae0PyL?= =?Windows-1252?Q?u9ipc8K+n1Nw/MSvpxNzbvUhwCyZUsMbP+C83ojNtH5QRlmLMIdZT/DF?= =?Windows-1252?Q?/4s2Gb9pxLk4SwgP2+Sn7JFIZuSWVh/7XDh9xEdlhXNFpJN7zIlsHPmk?= =?Windows-1252?Q?IiD5xJ0UT52ri04NJ/6Icl3x3kDx1FeuuaIT/iIL9ECxNOoESWqDipg3?= =?Windows-1252?Q?hZJiaGoIOaJShsaNypDPvSmBhMrXAF/I0wvaOkFF3+FF2co/5dr36gCV?= =?Windows-1252?Q?rmTH0g46mW8VwYVg07aMAv9WL11wEbXXS8sPa7pK2JI4DVvcx1peZqVZ?= =?Windows-1252?Q?QAzn3GJk6k22UvgjSdD2oWCyWOEDIY8pegyURjOG7o3mGN8qxUdo0XZE?= =?Windows-1252?Q?pDXnOBS9oM7cgMsh+WSDIhYDs1Av6rrd4iJFWfRKN4kWw7N+qI3VrmJu?= =?Windows-1252?Q?GgoPNq3ULbR7tfioGvOpnA8vI81uHgrLvyqOitArDp/wJabLg8l0tlR5?= =?Windows-1252?Q?+ifbwyktBnVfRoDExFZ9G5eqdtl+vxn+9jItAOrhXWWE1qhUkIUmdUmV?= =?Windows-1252?Q?c276fflRsYJLZQr4bn2BFgprHGdqQqvvlkoRBm8t2Sj7eLXxG0+naOdK?= =?Windows-1252?Q?BVJmc9Urc9UFA72gAF+2+06y8TyBMeouO3zrfdzja08ebAy9m/w3O2pp?= =?Windows-1252?Q?onItNpBZYXUgrkIefFeJLnAyYKrtzklvCf49AKcn+1PxHVnyiB3SYT8G?= =?Windows-1252?Q?wjpYf3G5n9adc9LjJ/jTJJAu34qoOJzRFPnlCst58zSnf40LgCrEygsz?= =?Windows-1252?Q?iXMc1g2gp+NnVzwz0NrarxNKlNfectm/PudDDH5U9E66cHOX6Wk/lJJ4?= =?Windows-1252?Q?rTcIecqOIOMPoSVSYfQqlB6KK4FnOvhkfmKD2IwxfP2s6komANKqohOc?= =?Windows-1252?Q?2Kf03IKKqB1qiASXr1lWX698IO0NcVmNz2c1qDwyt+fMXez4IhFyU=3D?= X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1;DM2PR04MB544;6:ARyckXt/aBZxoJZ3xB/UCjRAbj+5aHnGao7+Huq?= =?Windows-1252?Q?NsTIwyeunuge95FG+8L9028LfwdQdXs3+wF4dNReU5U8YREqTGzKt1ic?= =?Windows-1252?Q?2flVzUHrRAHtsmXvEjFJ0iFZlorT1iiY4FLvRO8aOqrb9gybGLaqXCOH?= =?Windows-1252?Q?9jpvZTIDHEyUKUsbdl/DVIpVUYmC6fcCflrNURMZwc2AzX+oPsOczdQB?= =?Windows-1252?Q?tXRQhBhAQzh6QayXpR8AgReWMMUB+A9cQNp44y0kw5Qwc5OFoV7UN4fH?= =?Windows-1252?Q?xC0tvmtsnmGSlgvi1erwsYrBiFi8vOWDHNGpQW/KfIL9Wjqc2xSG+9KK?= =?Windows-1252?Q?NxtuxIFlh/6VDqj42/UdYez5jyyTJ8B7Gk2nOlYezcadb01GBWo0zXEj?= =?Windows-1252?Q?a0503P9l+biKJ7558oh4ly7MRwfjaxkIJaFihnl126bpOoyfN4bek/eu?= =?Windows-1252?Q?0iIVQO8Wgp0Xcds238vovlw7U6aBIpxeiyoTUUJg0leDgVmZdDseHJXp?= =?Windows-1252?Q?gQpPNe5VqeixdoBSnrxi/bYH16erNPoZ/1ndmFiZmn110lV0OzBQcip7?= =?Windows-1252?Q?wyW/r83HX5QhS86za8+u+Wm+T1OnClkesJxYldwDM0ti3rM3N3Ia3DLH?= =?Windows-1252?Q?4jI1k2RDJ00hGQlxbwudzdO7IW82Ckv7hOH6h3Gnhs7JUNfzsk/fKxEE?= =?Windows-1252?Q?EZfMBQKBa0xJryqEyp1Wq/43sF8CmGsGOmbwmvQAv/q5pvRhV0qO8u0l?= =?Windows-1252?Q?AeQwS2ZZAB1UD8eJkknIoMHb/JkWpgHQu5Zh3VWi+FLRSmjp8xPuyp5C?= =?Windows-1252?Q?WQgJDj/XXgZhuHeNrsJZF6h2BLpzT/XEPTMH+C48oetHkzPUEBghDkih?= =?Windows-1252?Q?2hOZyeMIByNeDQtuY4GH7on7+X6XDx/XfqPVhUzksX2jrdaOWG4okOXU?= =?Windows-1252?Q?gsDFlFK0gzT5ecTY8XJTYNY8IeZKoVWbmGC4eVn92HSA0UPoXR9TeBmZ?= =?Windows-1252?Q?8VPMX/MwhT6UDqN5lDppJRrud5gxNifo5nyJLQyJ+jlIPotrJb7aw36G?= =?Windows-1252?Q?cBvKmHvVQLjomt//pwnbOQ6XsBkoO4ksa?= X-Microsoft-Exchange-Diagnostics: 1;DM2PR04MB544;5:5UQeyhiOVwE7zAWuJeI9Y67fa3iXEQaEKKz98ylpdwPXvwqzHoh2k95h6X6EUn22wUSaBMMM72tGH5FKZKSePs9/QDwZndYd+Sc4Ek/6ldST1udYB77/dBsYQ2d2w9+PnPYnRDSF6Jc4692ha7m+8EesQD6VEBNjAIC0BZKdQs8+f2F38dUcH6Du2FxxLPogRx8njiiDjo3dn07q6j7yUowdNr2reeTSPPWlMfM+8BxRNaYQ9RWMEyPEJq4vylfaKT8sZ/SDtACYz63z+yHkuNVoFZlDJGC6pL5TsyhkUisrQs9L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bu7BYtP6SEv0IC47FTYmCW9MdMM9ZF96w51MjRoV4qDjjmr7siONDF+ZgyZ6skFfYt+qY44lJWvYS72xj+uHbyFtho8MVzsb2I/iMdM391Hm3PT/IzHmPdoIpE= X-Microsoft-Exchange-Diagnostics: 1;DM2PR04MB544;20:aIB4DK7mXIQkUz0dbGnMXavNaWclmYRAB6Yv+7M4EfrScN9PK0tEl0trpk5n8F+FEzrlW5PHXiTCWbqeGG1CBNydcYf+D+uGwMzZvDmpbSDysajM0q2N1rFWCWRzwfg9TM49bpb/G0u37lDrG7joGmtba8QiuGcELJ0HoYRQPpI= X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jun 2017 15:01:33.7725 (UTC) X-MS-Exchange-CrossTenant-Id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=b61c8803-16f3-4c35-9b17-6f65f441df86;Ip=[63.163.107.21];Helo=[milsmgep15.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR04MB544 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 447 Lines: 13 On 06/16/17 06:29, Alice Ferrazzi wrote: > A Gentoo user reported a USBAN signed integer overflow in scsicam.c > Shall we change something? Hello Alice, Some of the code in drivers/scsi/scsicam.c duplicates code in block/partitions/msdos.c and block/genhd.c. I think patches that remove the partition table parsing code from drivers/scsi/scsicam.c and that use the generic partition table parsing code instead would be more than welcome. Bart.