[PATCH 5.17 302/343] fbdev: Fix unregistering of framebuffers without device

2022-04-12 Thread Greg Kroah-Hartman
From: Thomas Zimmermann commit 0f525289ff0ddeb380813bd81e0f9bdaaa1c9078 upstream. OF framebuffers do not have an underlying device in the Linux device hierarchy. Do a regular unregister call instead of hot unplugging such a non-existing device. Fixes a NULL dereference. An example error message

[PATCH 5.16 249/285] fbdev: Fix unregistering of framebuffers without device

2022-04-12 Thread Greg Kroah-Hartman
From: Thomas Zimmermann commit 0f525289ff0ddeb380813bd81e0f9bdaaa1c9078 upstream. OF framebuffers do not have an underlying device in the Linux device hierarchy. Do a regular unregister call instead of hot unplugging such a non-existing device. Fixes a NULL dereference. An example error message

[PATCH 5.15 238/277] fbdev: Fix unregistering of framebuffers without device

2022-04-11 Thread Greg Kroah-Hartman
From: Thomas Zimmermann commit 0f525289ff0ddeb380813bd81e0f9bdaaa1c9078 upstream. OF framebuffers do not have an underlying device in the Linux device hierarchy. Do a regular unregister call instead of hot unplugging such a non-existing device. Fixes a NULL dereference. An example error message

Patch "fbdev: Fix unregistering of framebuffers without device" has been added to the 5.17-stable tree

2022-04-11 Thread gregkh
This is a note to let you know that I've just added the patch titled fbdev: Fix unregistering of framebuffers without device to the 5.17-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the pat

Patch "fbdev: Fix unregistering of framebuffers without device" has been added to the 5.16-stable tree

2022-04-11 Thread gregkh
This is a note to let you know that I've just added the patch titled fbdev: Fix unregistering of framebuffers without device to the 5.16-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the pat

Patch "fbdev: Fix unregistering of framebuffers without device" has been added to the 5.15-stable tree

2022-04-11 Thread gregkh
This is a note to let you know that I've just added the patch titled fbdev: Fix unregistering of framebuffers without device to the 5.15-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the pat

Re: [PATCH] fbdev: Fix unregistering of framebuffers without device

2022-04-05 Thread Thomas Zimmermann
Hi Am 05.04.22 um 11:01 schrieb Daniel Vetter: On Mon, Apr 04, 2022 at 09:44:02PM +0200, Thomas Zimmermann wrote: OF framebuffers do not have an underlying device in the Linux device hierarchy. Do a regular unregister call instead of hot unplugging such a non-existing device. Fixes a NULL deref

Re: [PATCH] fbdev: Fix unregistering of framebuffers without device

2022-04-05 Thread Javier Martinez Canillas
Hello Thomas, On 4/4/22 21:44, Thomas Zimmermann wrote: > OF framebuffers do not have an underlying device in the Linux > device hierarchy. Do a regular unregister call instead of hot > unplugging such a non-existing device. Fixes a NULL dereference. > An example error message on ppc64le is shown

Re: fbdev: Fix unregistering of framebuffers without device

2022-04-05 Thread Sudip Mukherjee
On Mon, Apr 04, 2022 at 09:44:02PM +0200, Thomas Zimmermann wrote: > OF framebuffers do not have an underlying device in the Linux > device hierarchy. Do a regular unregister call instead of hot > unplugging such a non-existing device. Fixes a NULL dereference. > An example error message on ppc64le

Re: [PATCH] fbdev: Fix unregistering of framebuffers without device

2022-04-05 Thread Daniel Vetter
On Mon, Apr 04, 2022 at 09:44:02PM +0200, Thomas Zimmermann wrote: > OF framebuffers do not have an underlying device in the Linux > device hierarchy. Do a regular unregister call instead of hot > unplugging such a non-existing device. Fixes a NULL dereference. > An example error message on ppc64le

[PATCH] fbdev: Fix unregistering of framebuffers without device

2022-04-04 Thread Thomas Zimmermann
OF framebuffers do not have an underlying device in the Linux device hierarchy. Do a regular unregister call instead of hot unplugging such a non-existing device. Fixes a NULL dereference. An example error message on ppc64le is shown below. BUG: Kernel NULL pointer dereference on read at 0x0