Netdev List
 help / color / mirror / Atom feed
From: patchwork-bot+netdevbpf@kernel.org
To: Sergei Antonov <saproj@gmail.com>
Cc: netdev@vger.kernel.org, vivien.didelot@savoirfairelinux.com,
	f.fainelli@gmail.com, davem@davemloft.net, olteanv@gmail.com
Subject: Re: [PATCH] net: dsa: mv88e6060: prevent crash on an unused port
Date: Sat, 13 Aug 2022 00:50:13 +0000	[thread overview]
Message-ID: <166035181383.28473.10389431989705713321.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20220811070939.1717146-1-saproj@gmail.com>

Hello:

This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@kernel.org>:

On Thu, 11 Aug 2022 10:09:39 +0300 you wrote:
> If the port isn't a CPU port nor a user port, 'cpu_dp'
> is a null pointer and a crash happened on dereferencing
> it in mv88e6060_setup_port():
> 
> [    9.575872] Unable to handle kernel NULL pointer dereference at virtual address 00000014
> ...
> [    9.942216]  mv88e6060_setup from dsa_register_switch+0x814/0xe84
> [    9.948616]  dsa_register_switch from mdio_probe+0x2c/0x54
> [    9.954433]  mdio_probe from really_probe.part.0+0x98/0x2a0
> [    9.960375]  really_probe.part.0 from driver_probe_device+0x30/0x10c
> [    9.967029]  driver_probe_device from __device_attach_driver+0xb8/0x13c
> [    9.973946]  __device_attach_driver from bus_for_each_drv+0x90/0xe0
> [    9.980509]  bus_for_each_drv from __device_attach+0x110/0x184
> [    9.986632]  __device_attach from bus_probe_device+0x8c/0x94
> [    9.992577]  bus_probe_device from deferred_probe_work_func+0x78/0xa8
> [    9.999311]  deferred_probe_work_func from process_one_work+0x290/0x73c
> [   10.006292]  process_one_work from worker_thread+0x30/0x4b8
> [   10.012155]  worker_thread from kthread+0xd4/0x10c
> [   10.017238]  kthread from ret_from_fork+0x14/0x3c
> 
> [...]

Here is the summary with links:
  - net: dsa: mv88e6060: prevent crash on an unused port
    https://git.kernel.org/netdev/net/c/246bbf2f977e

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



      reply	other threads:[~2022-08-13  0:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-11  7:09 [PATCH] net: dsa: mv88e6060: prevent crash on an unused port Sergei Antonov
2022-08-13  0:50 ` patchwork-bot+netdevbpf [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=166035181383.28473.10389431989705713321.git-patchwork-notify@kernel.org \
    --to=patchwork-bot+netdevbpf@kernel.org \
    --cc=davem@davemloft.net \
    --cc=f.fainelli@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=olteanv@gmail.com \
    --cc=saproj@gmail.com \
    --cc=vivien.didelot@savoirfairelinux.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox