** Description changed:

+ [ Impact ]
+ 
+ The MTD device unconditionally advertises CAN_VERIFY_IMAGE, but the
+ firmware gtype is only set for FMAP/IFD/uSWID devices. A plain MTD
+ device left the gtype as G_TYPE_INVALID, so verify-update called
+ g_object_new(G_TYPE_INVALID, NULL) which returned NULL and then crashed
+ in fu_firmware_parse_stream() dereferencing a NULL firmware.
+ 
+ [ Test Plan ]
+ 
+ After the aging and release of this SRU, the crashes on the error
+ tracker should go away for this issue.
+ 
+ Additionally we expect the overall crash rate to be lower as well.
+ 
+ [ Where problems could occur ]
+ 
+ In terms of functionality, this patch can only strictly be an
+ improvement (it replaces a wrongly NULL value with a real one).
+ 
+ Problems could occur if the non-functioning updater now executes and
+ updates a device in a wrong/unexpected manner.
+ 
+ [ Other Info ]
+ 
  The Ubuntu Error Tracker has been receiving reports about a problem regarding 
fwupd.  This problem was most recently seen with package version 
2.1.1-1ubuntu3, the problem page at 
https://errors.ubuntu.com/problem/58b7e9ea17510b077d6375f2154b75404259994a 
contains more details, including versions of packages affected, stacktrace or 
traceback, and individual crash reports.
  If you do not have access to the Ubuntu Error Tracker and are a software 
developer, you can request it at http://forms.canonical.com/reports/.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2156479

Title:
  
/usr/libexec/fwupd/fwupd:11:FU_FIRMWARE_GET_CLASS:fu_firmware_parse_stream:fu_mtd_device_read_firmware:fu_plugin_device_read_firmware:fu_plugin_runner_verify

To manage notifications about this bug go to:
https://bugs.launchpad.net/fwupd/+bug/2156479/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to