KVM: Move kvm_io_bus_get_dev() locking responsibilities to callers
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f398b7d92cd999191249830b9171c9bd787a9a91, Kernel 0cbae0e296d27ce4c4cce83e34d40c2bfd8133aa, Kernel 1b4a3c2f0509e7b0e65667f3c36676a849ee2755 and 12 more.
In the Linux kernel, the following vulnerability has been resolved: KVM: Move kvm_io_bus_get_dev() locking responsibilities to callers kvm_io_bus_get_dev() returns a device that is only matched by the address, and nothing else. This can cause a lifetime issue if the matched device is not the expected type, as by the time the caller can introspect the object, it might be gone (the srcu lock having been dropped). Given that there is only a single user of this helper, the simplest option is to move the locking responsibility to the caller, which can keep the srcu lock held for as long as it wants. Note that this aligns with other kvm_io_bus*() helpers, which already require the srcu lock to be held by the callers.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=8a39d00670f0792c1186e442e1dd28fe0326f2ee <f398b7d92cd999191249830b9171c9bd787a9a91, >=8a39d00670f0792c1186e442e1dd28fe0326f2ee <0cbae0e296d27ce4c4cce83e34d40c2bfd8133aa, >=8a39d00670f0792c1186e442e1dd28fe0326f2ee <1b4a3c2f0509e7b0e65667f3c36676a849ee2755, >=8a39d00670f0792c1186e442e1dd28fe0326f2ee <3a07249981629ace483ebbef81ef6b34c2d2afec, >=8a39d00670f0792c1186e442e1dd28fe0326f2ee <7099e7148f81c605bbc319b16ce0131540341560, >=8a39d00670f0792c1186e442e1dd28fe0326f2ee <90d35d2b8e47afd68fe2a4dd0eeb60bc71641775, >=8a39d00670f0792c1186e442e1dd28fe0326f2ee <cfe107b02a3c3f049e0dc15b6a36625f048eda2a, >=8a39d00670f0792c1186e442e1dd28fe0326f2ee <e01071ea006c9b952125ed8b0cc90ac7bd356cce, =4.8 | f398b7d92cd999191249830b9171c9bd787a9a91, 0cbae0e296d27ce4c4cce83e34d40c2bfd8133aa, 1b4a3c2f0509e7b0e65667f3c36676a849ee2755, 3a07249981629ace483ebbef81ef6b34c2d2afec, 7099e7148f81c605bbc319b16ce0131540341560, 90d35d2b8e47afd68fe2a4dd0eeb60bc71641775, cfe107b02a3c3f049e0dc15b6a36625f048eda2a, e01071ea006c9b952125ed8b0cc90ac7bd356cce |
| linux-kernel: Kernel | >=5.11.0 <5.15.212, >=5.16.0 <6.1.178, >=6.13.0 <6.18.40, >=6.19.0 <7.1.5, >=6.2.0 <6.6.145, >=6.7.0 <6.12.97, >=4.8.0 <5.10.261 | 5.15.212, 6.1.178, 6.18.40, 7.1.5, 6.6.145, 6.12.97, 5.10.261 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket