Linux
fbdev: defio: Disconnect deferred I/O from the lifetime of struct fb_info
In the Linux kernel, the following vulnerability has been resolved: fbdev: defio: Disconnect deferred I/O from the lifetime of struct fb_info Hold state of deferred I/O in struct fb_deferred_io_state. Allocate an instance as part of initializing deferred I/O and remove it only after the final mapping has been closed. If the fb_info and the contained deferred I/O meanwhile goes away, clear struct fb_deferred_io_state.info to invalidate the mapping. Any access will then result in a SIGBUS signal. Fixes a long-standing problem, where a device hot-unplug happens while user space still has an active mapping of the graphics memory. The hot- unplug frees the instance of struct fb_info. Accessing the memory will operate on undefined state.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 60b59beafba875aef6d378078bce0baf2287ae14, < 4aab89603b637a2e441b38808c4f6fe7d1184df6
- >= 60b59beafba875aef6d378078bce0baf2287ae14, < 4fda0d6b45faad44926dd3e4f55f118d899b2e27
- >= 60b59beafba875aef6d378078bce0baf2287ae14, < 2a40f8bc9bb713329f1c35ffc199ee961a7135b0
- >= 60b59beafba875aef6d378078bce0baf2287ae14, < 2b53d3a52e8e5403a4f4fb57ac6cad3fd2cb1066
- >= 60b59beafba875aef6d378078bce0baf2287ae14, < 25c2b77bc463f29ee71a54b883548baf9386a0db
- >= 60b59beafba875aef6d378078bce0baf2287ae14, < a0aafb421dd15e935d81543152617f2742cefa70
- >= 60b59beafba875aef6d378078bce0baf2287ae14, < 9ded47ad003f09a94b6a710b5c47f4aa5ceb7429
Fixed in 4aab89603b637a2e441b38808c4f6fe7d1184df6, 4fda0d6b45faad44926dd3e4f55f118d899b2e27, 2a40f8bc9bb713329f1c35ffc199ee961a7135b0, 2b53d3a52e8e5403a4f4fb57ac6cad3fd2cb1066, 25c2b77bc463f29ee71a54b883548baf9386a0db, a0aafb421dd15e935d81543152617f2742cefa70, 9ded47ad003f09a94b6a710b5c47f4aa5ceb7429
- 2.6.22
Fixed in 0, 5.15.210, 6.1.176, 6.6.140, 6.12.88, 6.18.30, 7.0.4, 7.1
Mitigation
Upgrade Linux to 4aab89603b637a2e441b38808c4f6fe7d1184df6 or 4fda0d6b45faad44926dd3e4f55f118d899b2e27 or 2a40f8bc9bb713329f1c35ffc199ee961a7135b0 or 2b53d3a52e8e5403a4f4fb57ac6cad3fd2cb1066 or 25c2b77bc463f29ee71a54b883548baf9386a0db or a0aafb421dd15e935d81543152617f2742cefa70 or 9ded47ad003f09a94b6a710b5c47f4aa5ceb7429 or later.
Upgrade Linux to 0 or 5.15.210 or 6.1.176 or 6.6.140 or 6.12.88 or 6.18.30 or 7.0.4 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.