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

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-09-04T15:12:57.076Z
- Modified: 2026-11-30T12:18:05.540Z
- Assigned by: Linux

## Description

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

fbdev: serialize mode sysfs access with lock_fb_info()

show_mode(), show_modes(), and store_mode() access fb_info->modelist
and fb_info->mode without holding lock_fb_info(). store_modes() takes
lock_fb_info() while replacing the modelist and freeing the old one.

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

Take lock_fb_info() in show_mode(), show_modes(), and store_mode() to
serialize with store_modes(). In show_mode(), copy the mode to the
stack and format after dropping the lock. In store_mode(), split
activate() into a _locked variant to avoid double-locking, and hold
the locks for the modelist walk, mode conversion, activation, and
fb_info->mode assignment together.

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 1e907f2cfa8716109a9f71814a435f32b6e1ed9c; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 26135631ed8e487bc6aef70cc41934e258d09bbe; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 061db6b7a910b8378f3b2df64f8c0a3ddc6e85f2; 2.6.12 (not affected: before 2.6.12; from 6.18.66 up to 6.18.*; from 7.1.11 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/1e907f2cfa8716109a9f71814a435f32b6e1ed9c>
- <https://git.kernel.org/stable/c/26135631ed8e487bc6aef70cc41934e258d09bbe>
- <https://git.kernel.org/stable/c/061db6b7a910b8378f3b2df64f8c0a3ddc6e85f2>

## Sources

- CVE List: [CVE-2026-80785](https://www.cve.org/CVERecord?id=CVE-2026-80785), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-80785](https://nvd.nist.gov/vuln/detail/CVE-2026-80785), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-80785 · Whole record: https://cve.day/CVE-2026-80785.json · Rebuilt by cve.day 2026-11-30T12:32:12.965Z
