Opened 5 months ago

Last modified 4 months ago

#15144 new bug

nvme: received completion for unknown cmd

Reported by: jessicah Owned by: waddlesplash
Priority: normal Milestone: Unscheduled
Component: Drivers/Disk/NVMe Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All


Attachments (1)

IMG_20190709_154657.jpg (4.2 MB ) - added by jessicah 5 months ago.

Change History (4)

by jessicah, 5 months ago

Attachment: IMG_20190709_154657.jpg added


comment:1 by jessicah, 5 months ago

Maybe I have a corrupted partition, I haven't checked yet. Happened immediately after executing git log.

comment:2 by waddlesplash, 5 months ago

This is actually coming from libnvme. Disk corruption is irrelevant here; this is actually the drive itself sending something to us we do not expect. So that's pretty bad.

comment:3 by waddlesplash, 4 months ago

Diver reported in #15123 that there are often memory-related KDLs when nvme_disk is used. Perhaps that's related here -- this is really a use-after-free by libnvme, and our KDEBUG kernel overwrite the first few bytes of the allocated header.

Note: See TracTickets for help on using tickets.