public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] fix a couple of atm->phy_data related issues
@ 2021-03-08  3:25 Tong Zhang
  2021-03-08  3:25 ` [PATCH 1/3] atm: fix a typo in the struct description Tong Zhang
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Tong Zhang @ 2021-03-08  3:25 UTC (permalink / raw)
  To: Chas Williams, linux-atm-general, netdev, linux-kernel; +Cc: ztong0001

there are two drivers(zatm and idt77252) using PRIV() (i.e. atm->phy_data)
to store private data, but the driver happens to populate wrong
pointers: atm->dev_data. which actually cause null-ptr-dereference in 
following PRIV(dev). This patch series attemps to fix those two issues
along with a typo in atm struct.

Tong Zhang (3):
  atm: fix a typo in the struct description
  atm: uPD98402: fix incorrect allocation
  atm: idt77252: fix null-ptr-dereference

 drivers/atm/idt77105.c | 4 ++--
 drivers/atm/uPD98402.c | 2 +-
 include/linux/atmdev.h | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-03-08 23:30 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-08  3:25 [PATCH 0/3] fix a couple of atm->phy_data related issues Tong Zhang
2021-03-08  3:25 ` [PATCH 1/3] atm: fix a typo in the struct description Tong Zhang
2021-03-08  3:25 ` [PATCH 2/3] atm: uPD98402: fix incorrect allocation Tong Zhang
2021-03-08  3:25 ` [PATCH 3/3] atm: idt77252: fix null-ptr-dereference Tong Zhang
2021-03-08 17:47 ` [PATCH 0/3] fix a couple of atm->phy_data related issues Alexander Duyck
2021-03-08 17:54   ` Tong Zhang
2021-03-08 18:06     ` Alexander Duyck
2021-03-08 18:20       ` Tong Zhang
2021-03-08 23:30 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox