fbdev: Wrap user-invoked calls to fb_set_var() in helper
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · < 6f611e5e5f3327cf2e2daabe6ee5acac58cc784e| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
fbdev: Wrap user-invoked calls to fb_set_var() in helper
Handle fbcon during display updates in fb_set_var_from_user(). Check with fbcon if the mode change is possible, update hardware state and finally update fbcon. Update all callers.
Only the FBIOPUT_VSCREENINFO ioctl currently does all steps. Other mode-changes callers in sysfs and driver code are missing fbcon-related steps.
With the new helper, ps3fb and sh_mobile_lcdcfb no longer maintain fbcon state themselves.
From the CVE record · Linux
Linux kernel fbdev mode changes initiated through sysfs or driver code can omit steps that update fbcon state. The description does not specify an attacker impact, authentication requirements, or whether user interaction is needed.
Engineers running the Linux kernel should check their versions against the vendor advisory; affected versions are not specified.