Skip to contentSkip to conversation

CVE-2026-99479: fbdev: atmel_lcdfb: Prevent FIFO work after removal

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Nov 19

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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

fbdev: atmel_lcdfb: Prevent FIFO work after removal

The LCD controller IRQ schedules sinfo->task to recover from a FIFO underflow. Probe currently requests the IRQ before initializing the work, so an early interrupt can schedule an uninitialized work item.

The probe error path and remove path cancel the work before freeing the IRQ. A FIFO-underflow interrupt can schedule the work again after that cancellation. framebuffer_release() may then free sinfo while the work is still pending.

KASAN reported a use-after-free in atmel_lcdfb_task() when an underflow interrupt occurred during removal. With the IRQ freed before the work was cancelled, the same test completed without a kernel diagnostic.

Initialize the work before requesting the IRQ. In both cleanup paths, free the IRQ before cancelling the work so that it cannot be scheduled again after cancellation.

The Linux kernel CVE team has assigned CVE-2026-99479 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 2.6.27 with commit d22579b837358cbef12ccca5adaf7e93ae09ab7a and fixed in 6.12.117 with commit 0c782a29f66eab8f2f9ce2b4325cfb5b9f01f8ff
	Issue introduced in 2.6.27 with commit d22579b837358cbef12ccca5adaf7e93ae09ab7a and fixed in 6.18.61 with commit 3b0be34d9d1e7add0c9b99b0b4b969ca56d81066
	Issue introduced in 2.6.27 with commit d22579b837358cbef12ccca5adaf7e93ae09ab7a and fixed in 7.3.2 with commit f099d5adad31609a6de64aea12a8609734570b00
	Issue introduced in 2.6.27 with commit d22579b837358cbef12ccca5adaf7e93ae09ab7a and fixed in 7.4-rc1 with commit 20b3b97cf89cb381bf07516090d99399cc9b91fd

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-99479

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/video/fbdev/atmel_lcdfb.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/0c782a29f66eab8f2f9ce2b4325cfb5b9f01f8ff
	https://git.kernel.org/stable/c/3b0be34d9d1e7add0c9b99b0b4b969ca56d81066
	https://git.kernel.org/stable/c/f099d5adad31609a6de64aea12a8609734570b00
	https://git.kernel.org/stable/c/20b3b97cf89cb381bf07516090d99399cc9b91fd