CVE-2026-90310: xen/xenbus: check otherend_id only after it has been initialized
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
xen/xenbus: check otherend_id only after it has been initialized
When device just got initialized (for example on module load), the otherend_id field is initialized only after xenbus_read_otherend_details() gets called. If xenstore watch triggers xenbus_dev_changed() before that, it might consider still zeroed otherend_id field (not matching actual xenstore content) as a sign of device state reset. It can happen because xenstore watch are handled in another thread (xenwatch), which can run in parallel to the initial device probe running at module load. In that case, it would call device_unregister(), which would deadlock against device probe from module init.
Fix this by considering dev->otherend_id change only after dev->otherend is set (which happen after otherend_id is initialized).
The Linux kernel CVE team has assigned CVE-2026-90310 to this issue.
Affected and fixed versions
===========================
Issue introduced in 7.0 with commit e2dcf9065536ab4a1b00828ff0d19f7d282dfecc and fixed in 7.2.6 with commit 36fb592af353c55832e2cafe3fcfc3291be05f19 Issue introduced in 7.0 with commit e2dcf9065536ab4a1b00828ff0d19f7d282dfecc and fixed in 7.3-rc1 with commit c76cbf348c7df077f93fa99a1225a527ce64cfa1
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-90310
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/xen/xenbus/xenbus_probe.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/36fb592af353c55832e2cafe3fcfc3291be05f19 https://git.kernel.org/stable/c/c76cbf348c7df077f93fa99a1225a527ce64cfa1
Quoted 20 lines · Greg Kroah-Hartman
From: Greg Kroah-Hartman <[email protected]>
Description
===========In the Linux kernel, the following vulnerability has been resolved:
xen/xenbus: check
otherend_idonly after it has been initializedWhen device just got initialized (for example on module load), the
otherend_idfield is initialized only afterxenbus_read_otherend_details()gets called. If xenstore watch triggersxenbus_dev_changed()before that, it might consider still zeroedotherend_idfield (not matching actual xenstore content) as a sign of device state reset. It can happen because xenstore watch are handled in another thread (xenwatch), which can run in parallel to the initial device probe running at module load. In that case, it would calldevice_unregister(), which would deadlock against device probe from module init.
Quoted 4 lines
Fix this by considering
dev->otherend_idchange only afterdev->otherendis set (which happen afterotherend_idis initialized).The Linux kernel CVE team has assigned CVE-2026-90310 to this issue.
I'd like to dispute this CVE.
This is nothing an unprivileged user has any influence on. The race can happen only in Xen guests after a new PV-device has been added to it by the host administrator.
This is just a regular bug with no security aspect, so please revoke this CVE.
Juergen
Quoted 26 lines · Jürgen Groß
Quoted 20 lines · Greg Kroah-Hartman
From: Greg Kroah-Hartman <[email protected]>
Description
===========In the Linux kernel, the following vulnerability has been resolved:
xen/xenbus: check
otherend_idonly after it has been initializedWhen device just got initialized (for example on module load), the
otherend_idfield is initialized only afterxenbus_read_otherend_details()gets called. If xenstore watch triggersxenbus_dev_changed()before that, it might consider still zeroedotherend_idfield (not matching actual xenstore content) as a sign of device state reset. It can happen because xenstore watch are handled in another thread (xenwatch), which can run in parallel to the initial device probe running at module load. In that case, it would calldevice_unregister(), which would deadlock against device probe from module init.Quoted 4 lines
Fix this by considering
dev->otherend_idchange only afterdev->otherendis set (which happen afterotherend_idis initialized).The Linux kernel CVE team has assigned CVE-2026-90310 to this issue.
Quoted 7 lines
I'd like to dispute this CVE.
This is nothing an unprivileged user has any influence on. The race can happen only in Xen guests after a new PV-device has been added to it by the host administrator.
This is just a regular bug with no security aspect, so please revoke this CVE.
Thanks for the review, now rejected!
greg k-h