[drm:qxl_enc_commit [qxl]] *ERROR* head number too large or missing monitors config:
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Medium
|
Dariusz Gadomski |
Bug Description
[Impact]
* Ubuntu 18.04 used as a guest in KVM with Spice/QXL in use may lead to a DRM error displayed during xorg launch:
[drm:qxl_enc_commit [qxl]] *ERROR* head number too large or missing monitors config: (ptrval), 0
[Fix]
* 00e5d217fa19bcb
[Test Case]
* Ubuntu 18.04 desktop guest with 4.15-series kernel with Spice/QXL.
* I used Ubuntu 20.04 as the host, but I was reported that the issue is similar also on Centos 7.8 used as a host.
[Regression Potential]
* Fix is limited to the QXL driver, so any regressions will be related to graphics (either potential drm errors or graphical artifacts).
[Other]
* This has been fixed in HWE kernels and in later Ubuntu releases. Only Bionic is affected.
* According to the description in drivers/
struct qxl_monitors_config {
(...)
uint16_t max_allowed; /* If it is 0 no fixed limit is given by the
driver */
(...)
};
In the message this value is 0 which should be a completely correct situation in that context. However, it is incorrectly compared against current qxl_output.
This has been fixed soon after Bionic release and in Bionic is marked with:
/* TODO: ugly, do better */
CVE References
Changed in linux (Ubuntu): | |
status: | New → Fix Released |
Changed in linux (Ubuntu Bionic): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Bionic): | |
assignee: | nobody → Dariusz Gadomski (dgadomski) |
Changed in linux (Ubuntu Bionic): | |
status: | New → In Progress |
Changed in linux (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
Patches posted to the kernel-team list: /lists. ubuntu. com/archives/ kernel- team/2020- December/ 115620. html
https:/