Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp1191504imj; Sat, 16 Feb 2019 23:43:12 -0800 (PST) X-Google-Smtp-Source: AHgI3IalunkgYSUuObQ+f3kD5/BE86ekDSaX0GH9b9qtnt6Jy+CCzaQxPwo7VzJPLOYx2Fn/VFEw X-Received: by 2002:a63:e20a:: with SMTP id q10mr12899232pgh.206.1550389392427; Sat, 16 Feb 2019 23:43:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550389392; cv=none; d=google.com; s=arc-20160816; b=Ox0kO5B8h+N5GnSj4aj/oR7Wd8fKxkQaRALNp7TLlVW7/BSM8ilWg5YhEtYJIhycBZ h2s8ma3G0ciWq/s9aLgONOqHq/PqsB5ixIDaJhQGmU9yzcXA4l4FF7t5OZx7LmO0YJKn dZK91/djZNRrj7duRzZN4Fn0YMZmk8HRhsa9VQGTlXVDzpzZnpZxGnCLl9beHt+Dw1ko G/yQg4YpPIlgsTf2aiDIFFD0Eic173JhGtEWTkL+BIVnR0zWOgEbl7IDip7A2YBL8QQ0 MU1uvXz/SIDqzOCJOz5RfA2cEHjGDAzKZWiuu4c70D4Km6079dnpcZ64gLgbCTexlEJD JDXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:message-id:subject:to:from:date; bh=sazEovvCl/6ZAT/bzxUmH10pbgluT68a0tKgH8ohAQ0=; b=WbRS8YEtSXv4JCSY4XodBAImoUmkXqZaGTeMgMU9FEtHl2kcGIa/7ameYdx2itsIIj TFLsxOD0FNV6yU7q1uQgMpiN2oMkgRUoCJ+f8uzxURXcuYp4ZeV+PvhjdOpwT62LdOT0 L5m4jrnWNmavNyrvf/cTCQP9xF/piBqfemDOknoRUIAJiduMBgyuAdl2VlSaSe1I9+t7 IzkFfH/pLnqc1tFO+Nbfi/bUdpoIOYQsAuCu0x/DyyRckpyn1ss7TUeFTj4UjZiuRrjw lQtB7MgxBYOCI6v6doIuanTvAWhcmk4IjU62f8QLfInEF2FT5JetKaeny0s9K2jjD/1u 1EbA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f21si9547370pgb.371.2019.02.16.23.42.55; Sat, 16 Feb 2019 23:43:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727347AbfBPVmY convert rfc822-to-8bit (ORCPT + 99 others); Sat, 16 Feb 2019 16:42:24 -0500 Received: from shiva145.upmc.fr ([134.157.0.145]:52562 "EHLO shiva145.upmc.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727170AbfBPVmY (ORCPT ); Sat, 16 Feb 2019 16:42:24 -0500 X-Greylist: delayed 593 seconds by postgrey-1.27 at vger.kernel.org; Sat, 16 Feb 2019 16:42:22 EST Received: from shiva145.upmc.fr (localhost [127.0.0.1]) by shiva145.upmc.fr (Postfix) with ESMTP id 05ECD15A171; Sat, 16 Feb 2019 22:32:28 +0100 (CET) Received: from courriel.upmc.fr (courriel2.reseau.jussieu.fr [134.157.0.193]) by shiva145.upmc.fr (Postfix) with ESMTP id ECC5815A125; Sat, 16 Feb 2019 22:32:27 +0100 (CET) X-CIds: courriel2 Received: from draws-f6bvp (astlambert-652-1-155-71.w92-151.abo.wanadoo.fr [92.151.34.71]) (authentified, mech=LOGIN) by courriel.upmc.fr (8.14.5/jtpda-5.5pre1) with ESMTP id x1GLWRQM042485 (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256 verify=NO) ; Sat, 16 Feb 2019 22:32:27 +0100 (CET) (envelope-from f6bvp@free.fr) Date: Sat, 16 Feb 2019 22:32:25 +0100 From: f6bvp To: linux-kernel@vger.kernel.org, linux-hams@vger.kernel.org, linux-netdev@vger.kernel.org, Eric Dumazet Subject: ax25: fix possible use-after-free Message-ID: <20190216223225.788b8ae7@draws-f6bvp> Organization: http://radiotelescope-lavillette.fr X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; arm-unknown-linux-gnueabihf) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Patch applied successfully on Linux draws-f6bvp 4.14.79-v7+ #1159 SMP Sun Nov 4 17:50:20 GMT 2018 armv7l GNU/Linux However ax25_route_lock_use and ax25_route_lock_unuse() are not declared and compile failed. make : on entre dans le répertoire « /usr/src/linux-headers-4.14.79-v7+ » CC [M] /usr/src/linux-4.14.y/net/ax25/ax25_ip.o /usr/src/linux-4.14.y/net/ax25/ax25_ip.c: In function ‘ax25_ip_xmit’: /usr/src/linux-4.14.y/net/ax25/ax25_ip.c:117:2: error: implicit declaration of function ‘ax25_route_lock_use’ [-Werror=implicit-function-declaration] ax25_route_lock_use(); ^~~~~~~~~~~~~~~~~~~ /usr/src/linux-4.14.y/net/ax25/ax25_ip.c:211:2: error: implicit declaration of function ‘ax25_route_lock_unuse’ [-Werror=implicit-function-declaration] ax25_route_lock_unuse(); ^~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors scripts/Makefile.build:328 : la recette pour la cible « /usr/src/linux-4.14.y/net/ax25/ax25_ip.o » a échouée make[1]: *** [/usr/src/linux-4.14.y/net/ax25/ax25_ip.o] Erreur 1 Makefile:1527 : la recette pour la cible « _module_/usr/src/linux-4.14.y/net/ax25 » a échouée make: *** [_module_/usr/src/linux-4.14.y/net/ax25] Erreur 2 make : on quitte le répertoire « /usr/src/linux-headers-4.14.79-v7+ » Bernard, f6bvp