Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

mei_device_init interface change causes nullptr deref on kernel >= v6.1-rc #26

Closed
vicamo opened this issue Nov 24, 2022 · 0 comments · Fixed by #27
Closed

mei_device_init interface change causes nullptr deref on kernel >= v6.1-rc #26

vicamo opened this issue Nov 24, 2022 · 0 comments · Fixed by #27

Comments

@vicamo
Copy link
Contributor

vicamo commented Nov 24, 2022

v6.1-rc1 commit 959536185196 ("mei: extend timeouts on slow devices") added an extra param to mei_device_init(), which results in null pointer dereference in mei_vsc_probe_work():

kernel: Call Trace:
kernel:  <TASK>
kernel:  mei_vsc_probe_work+0x24/0x90 [mei_vsc]
kernel:  process_one_work+0x222/0x400
kernel:  worker_thread+0x50/0x3e0
kernel:  ? process_one_work+0x400/0x400
kernel:  kthread+0xe6/0x110
kernel:  ? kthread_complete_and_exit+0x20/0x20
kernel:  ret_from_fork+0x1f/0x30
kernel:  </TASK>

Full log in vsc-null-ptr-def.txt.

vicamo added a commit to vicamo/ivsc-driver that referenced this issue Nov 24, 2022
Closes: intel#26
Signed-off-by: You-Sheng Yang (vicamo) <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant