Skip to content

FWUPD affecting dru, causing null pointer deref in the kernel #6327

@rishabh-chromium

Description

@rishabh-chromium

Describe the bug
Seems like the start v1.9.6 fwupd is affecting the DRU in a manner that it is causing a null pointer deref.
The null ptr dereference happens in amdgpu_dm_i2c_xfer (link)
ddc_service->link is NULL and is dereferenced passing arguments into dc_submit_i2c.

Steps to Reproduce

stop fwupd
/usr/local/libexec/igt-gpu-tools/amdgpu/amd_pci_unplug --> pass
start fwupd
/usr/local/libexec/igt-gpu-tools/amdgpu/amd_pci_unplug --> panic

Logs/Debugging
Found this log message in fwupd.log
failed to add device /sys/devices/pci0000:00/0000:00:08.1/0000:04:00.0/drm/card2/card2-eDP-2/drm_dp_aux0: failed to add device using on synaptics_mst: failed to open /dev/drm_dp_aux0: No such file or directory

Issue is temporarily solved if I add this line to fwupd.conf

DisabledPlugins=mediatek_scaler;

fwupd version information
1.9.6

fwupdmgr --version

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions