CVE-2026-80785: fbdev: serialize mode sysfs access with lock_fb_info()

Published Sep 4, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

fbdev: serialize mode sysfs access with lockfbinfo()

showmode(), showmodes(), and storemode() access fbinfo->modelist and fbinfo->mode without holding lockfbinfo(). storemodes() takes lockfbinfo() while replacing the modelist and freeing the old one.

A concurrent reader or writer can load a pointer to an old modelist entry before storemodes() frees it, then dereference freed memory or store a stale freed pointer in fbinfo->mode.

Take lockfbinfo() in showmode(), showmodes(), and storemode() to serialize with storemodes(). In showmode(), copy the mode to the stack and format after dropping the lock. In storemode(), split activate() into a locked variant to avoid double-locking, and hold the locks for the modelist walk, mode conversion, activation, and fbinfo->mode assignment together.

Affected Software

1 affected component
Linux Kernel

Event History

Sep 4, 2026
CVE Published
via MITRE·03:12 PM
Data Sourced
via MITRE·03:12 PM
Description

Frequently Asked Questions

1

What conditions are required to trigger the issue?

The vulnerable path requires concurrent access to framebuffer mode sysfs operations. In particular, show_mode(), show_modes(), or store_mode() must race with store_modes() replacing and freeing the framebuffer modelist.

2

What can the race cause?

A concurrent operation can dereference a freed modelist entry or save a stale freed pointer in fb_info->mode. This is a use-after-free condition involving framebuffer mode data.

3

How can I tell whether a system is affected?

Assess the kernel source or applied stable commits for the locking changes to show_mode(), show_modes(), and store_mode() using lock_fb_info(). The referenced stable commits contain the resolved implementation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203