public inbox for chrome-platform@lists.linux.dev
 help / color / mirror / Atom feed
* [PATCH 0/2] platform/chrome: cros_ec_chardev: Fix a possible UAF
@ 2025-07-03 11:35 Tzung-Bi Shih
  2025-07-03 11:35 ` [PATCH 1/2] platform/chrome: cros_ec_chardev: Remove redundant struct field Tzung-Bi Shih
  2025-07-03 11:35 ` [PATCH 2/2] platform/chrome: cros_ec_chardev: Fix UAF of ec_dev Tzung-Bi Shih
  0 siblings, 2 replies; 6+ messages in thread
From: Tzung-Bi Shih @ 2025-07-03 11:35 UTC (permalink / raw)
  To: bleung; +Cc: chrome-platform, tzungbi, dawidn

The 1st patch is a cleanup.

The 2nd patch fixes the UAF via setting `ec_dev` to NULL to prevent the misc
device from accessing the obsolete `ec_dev`.

Tzung-Bi Shih (2):
  platform/chrome: cros_ec_chardev: Remove redundant struct field
  platform/chrome: cros_ec_chardev: Fix UAF of ec_dev

 drivers/platform/chrome/cros_ec_chardev.c | 91 ++++++++++++++++-------
 1 file changed, 66 insertions(+), 25 deletions(-)

-- 
2.50.0.727.gbf7dc18ff4-goog


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

end of thread, other threads:[~2025-07-03 13:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-03 11:35 [PATCH 0/2] platform/chrome: cros_ec_chardev: Fix a possible UAF Tzung-Bi Shih
2025-07-03 11:35 ` [PATCH 1/2] platform/chrome: cros_ec_chardev: Remove redundant struct field Tzung-Bi Shih
2025-07-03 11:35 ` [PATCH 2/2] platform/chrome: cros_ec_chardev: Fix UAF of ec_dev Tzung-Bi Shih
2025-07-03 11:52   ` Greg KH
2025-07-03 13:14     ` Tzung-Bi Shih
2025-07-03 13:52       ` Greg KH

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