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]
Date:   Wed, 09 Nov 2022 00:00:17 +0000
From:   patchwork-bot+netdevbpf@...nel.org
To:     Marc Kleine-Budde <mkl@...gutronix.de>
Cc:     netdev@...r.kernel.org, davem@...emloft.net, kuba@...nel.org,
        linux-can@...r.kernel.org, kernel@...gutronix.de,
        chenzhongjin@...wei.com, socketcan@...tkopp.net
Subject: Re: [PATCH net 1/6] can: af_can: can_exit(): add missing
 dev_remove_pack() of canxl_packet

Hello:

This series was applied to netdev/net.git (master)
by Marc Kleine-Budde <mkl@...gutronix.de>:

On Mon,  7 Nov 2022 14:32:12 +0100 you wrote:
> From: Chen Zhongjin <chenzhongjin@...wei.com>
> 
> In can_init(), dev_add_pack(&canxl_packet) is added but not removed in
> can_exit(). It breaks the packet handler list and can make kernel
> panic when can_init() is called for the second time.
> 
> | > modprobe can && rmmod can
> | > rmmod xxx && modprobe can
> |
> | BUG: unable to handle page fault for address: fffffbfff807d7f4
> | RIP: 0010:dev_add_pack+0x133/0x1f0
> | Call Trace:
> |  <TASK>
> |  can_init+0xaa/0x1000 [can]
> |  do_one_initcall+0xd3/0x4e0
> |  ...
> 
> [...]

Here is the summary with links:
  - [net,1/6] can: af_can: can_exit(): add missing dev_remove_pack() of canxl_packet
    https://git.kernel.org/netdev/net/c/a3335faebe16
  - [net,2/6] can: af_can: fix NULL pointer dereference in can_rx_register()
    https://git.kernel.org/netdev/net/c/8aa59e355949
  - [net,3/6] can: isotp: fix tx state handling for echo tx processing
    https://git.kernel.org/netdev/net/c/866337865f37
  - [net,4/6] can: j1939: j1939_send_one(): fix missing CAN header initialization
    https://git.kernel.org/netdev/net/c/3eb3d283e857
  - [net,5/6] can: dev: fix skb drop check
    https://git.kernel.org/netdev/net/c/ae64438be192
  - [net,6/6] can: rcar_canfd: Add missing ECC error checks for channels 2-7
    https://git.kernel.org/netdev/net/c/8b043dfb3dc7

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ