summaryrefslogtreecommitdiff
path: root/include/linux/console_struct.h
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2026-02-24 09:25:55 +0100
committerHelge Deller <deller@gmx.de>2026-03-09 13:06:48 +0100
commitd460a54fd321997a3a4703816cfb8fb4a520af29 (patch)
tree982ee2aed33e1b289ff83ce615bed1cf63b5f50b /include/linux/console_struct.h
parent9ded47ad003f09a94b6a710b5c47f4aa5ceb7429 (diff)
fbdev: defio: Keep module reference from VMAs
Acquire a module reference on each mmap and VMA open; hold it until the kernel closes the VMA. Protects against unloading the module while user space still has a mapping of the graphics memory. The VMA page-fault handling would then call into undefined code. This situation can happen if the underlying device has been unplugged and the driver has been unloaded. It would then be possible to trigger the bug by unloading the fbdev core module. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'include/linux/console_struct.h')
0 files changed, 0 insertions, 0 deletions