All of lore.kernel.org
 help / color / mirror / Atom feed
* [BUG] nozomi: missing BAR-TYPE check -- writew() on an IOPORT cookie
@ 2026-08-28  5:33 Farhad Alemi
  2026-08-28  5:49 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Farhad Alemi @ 2026-08-28  5:33 UTC (permalink / raw)
  To: Jiri Slaby; +Cc: falemi, linux-serial, linux-kernel

Hello,

As part of the kernel research at ASU's SEFCOM
lab, we hit the crash below. Crash reports can be found here:

  https://github.com/farhad-alemi/public_bug_reports/tree/main/148-tty-nozomi-writew-on-ioport-cookie/

  nozomi 0000:00:02.0: Card type is: 8192
  BUG: unable to handle page fault for address: 000000000001d044
  #PF: supervisor write access in kernel mode
  #PF: error_code(0x0002) - not-present page
  Oops: Oops: 0002 [#1] SMP KASAN NOPTI
  RIP: 0010:nozomi_card_init+0x9fe/0x14c0
  Call Trace:
   nozomi_card_init+0x9fe/0x14c0
   pci_device_probe+0x436/0xc90
   really_probe+0x267/0xaf0
   __driver_probe_device+0x1e2/0x350
   driver_probe_device+0x4f/0x240
   __device_attach_driver+0x270/0x410
   bus_for_each_drv+0x258/0x2f0
   __device_attach+0x2c5/0x450
   drivers_probe_store+0x11c/0x220
   kernfs_fop_write_iter+0x3af/0x540
   ksys_write+0x150/0x270

Our reproducer.c is available upon request.

Happy to test a patch if that would help.

Regards,

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

end of thread, other threads:[~2026-08-28  5:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-28  5:33 [BUG] nozomi: missing BAR-TYPE check -- writew() on an IOPORT cookie Farhad Alemi
2026-08-28  5:49 ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.