lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166986602287.2101055.16563015716609057451.b4-ty@oracle.com>
Date:   Thu,  1 Dec 2022 03:45:05 +0000
From:   "Martin K. Petersen" <martin.petersen@...cle.com>
To:     linux-kernel@...r.kernel.org, linux-scsi@...r.kernel.org,
        Chen Zhongjin <chenzhongjin@...wei.com>
Cc:     "Martin K . Petersen" <martin.petersen@...cle.com>,
        jejb@...ux.ibm.com, bprakash@...adcom.com, robert.w.love@...el.com,
        James.Bottomley@...e.de, hare@...e.de, yi.zou@...el.com
Subject: Re: [PATCH] scsi: fcoe: Fix transport not deattached when fcoe_if_init() fails

On Tue, 15 Nov 2022 17:24:42 +0800, Chen Zhongjin wrote:

> fcoe_init() calls fcoe_transport_attach(&fcoe_sw_transport), but when
> fcoe_if_init() fails, &fcoe_sw_transport is not detached and leave freed
> &fcoe_sw_transport on list fcoe_transports, which causes panic when
> reinserting module.
> 
>  BUG: unable to handle page fault for address: fffffbfff82e2213
>  RIP: 0010:fcoe_transport_attach+0xe1/0x230 [libfcoe]
>  Call Trace:
>   <TASK>
>   do_one_initcall+0xd0/0x4e0
>   load_module+0x5eee/0x7210
>   ...
> 
> [...]

Applied to 6.2/scsi-queue, thanks!

[1/1] scsi: fcoe: Fix transport not deattached when fcoe_if_init() fails
      https://git.kernel.org/mkp/scsi/c/4155658cee39

-- 
Martin K. Petersen	Oracle Linux Engineering

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ