# CVE-2024-49924: fbdev: pxafb: Fix possible use after free in pxafb\_task()

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-10-21 · Modified: 2026-08-05
- Aliases: UBUNTU-CVE-2024-49924, DEBIAN-CVE-2024-49924
- Record: https://cvemate.com/vulnerability/CVE-2024-49924 · JSON: https://cvemate.com/vulnerability/CVE-2024-49924/json

## Description

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

fbdev: pxafb: Fix possible use after free in pxafb_task()

In the pxafb_probe function, it calls the pxafb_init_fbinfo function,
after which &fbi->task is associated with pxafb_task. Moreover,
within this pxafb_init_fbinfo function, the pxafb_blank function
within the &pxafb_ops struct is capable of scheduling work.

If we remove the module which will call pxafb_remove to make cleanup,
it will call unregister_framebuffer function which can call
do_unregister_framebuffer to free fbi->fb through
put_fb_info(fb_info), while the work mentioned above will be used.
The sequence of operations that may lead to a UAF bug is as follows:

CPU0                                                CPU1

                                   | pxafb_task
pxafb_remove                       |
unregister_framebuffer(info)       |
do_unregister_framebuffer(fb_info) |
put_fb_info(fb_info)               |
// free fbi->fb                    | set_ctrlr_state(fbi, state)
                                   | __pxafb_lcd_power(fbi, 0)
                                   | fbi->lcd_power(on, &fbi->fb.var)
                                   | //use fbi->fb

Fix it by ensuring that the work is canceled before proceeding
with the cleanup in pxafb_remove.

Note that only root user can remove the driver at runtime.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.276%, percentile 21.372%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 140)

- debian linux (Debian): \< 6.1.115-1 \| \< 6.11.4-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 4.4.0-273.307 \| \< 4.15.0-242.254 \| \< 5.4.0-208.228 \| \< 5.15.0-127.137 \| \< 6.8.0-54.56
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 4.4.0-1148.154 \| \< 4.4.0-1186.201 \| \< 4.15.0-1185.198 \| \< 5.4.0-1140.150 \| \< 5.15.0-1073.79 \| \< 6.8.0-1023.25
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1073.79~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1142.152~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1023.25~22.04.1
- ubuntu linux-aws-fips (Ubuntu): \< 4.15.0-2123.129 \| All versions (No fix recorded) \| \< 5.4.0-1140.151+fips1 \| \< 5.15.0-1073.79+fips1
- ubuntu linux-aws-hwe (Ubuntu): \< 4.15.0-1185.198~16.04.1
- ubuntu linux-azure (Ubuntu): \< 4.15.0-1193.208~14.04.1 \| \< 4.15.0-1193.208~16.04.1 \| All versions (No fix recorded) \| \< 5.4.0-1145.152 \| \< 5.15.0-1078.87 \| \< 6.8.0-1025.30
- ubuntu linux-azure-4.15 (Ubuntu): \< 4.15.0-1193.208
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 57)

- <https://git.kernel.org/stable/c/e657fa2df4429f3805a9b3e47fb1a4a1b02a72bd>
- <https://git.kernel.org/stable/c/6d0a07f68b66269e167def6c0b90a219cd3e7473>
- <https://git.kernel.org/stable/c/e6897e299f57b103e999e62010b88e363b3eebae>
- <https://git.kernel.org/stable/c/4cda484e584be34d55ee17436ebf7ad11922b97a>
- <https://git.kernel.org/stable/c/3c0d416eb4bef705f699213cee94bf54b6acdacd>
- <https://git.kernel.org/stable/c/fdda354f60a576d52dcf90351254714681df4370>
- <https://git.kernel.org/stable/c/aaadc0cb05c999ccd8898a03298b7e5c31509b08>
- <https://git.kernel.org/stable/c/a3a855764dbacbdb1cc51e15dc588f2d21c93e0e>
- <https://git.kernel.org/stable/c/4a6921095eb04a900e0000da83d9475eb958e61e>
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- <https://ubuntu.com/security/CVE-2024-49924>
- <https://www.cve.org/CVERecord?id=CVE-2024-49924>
- <https://git.kernel.org/linus/4a6921095eb04a900e0000da83d9475eb958e61e>
- <https://ubuntu.com/security/notices/USN-7166-1>
- <https://ubuntu.com/security/notices/USN-7166-2>
- <https://ubuntu.com/security/notices/USN-7166-3>
- <https://ubuntu.com/security/notices/USN-7186-1>
- <https://ubuntu.com/security/notices/USN-7186-2>
- <https://ubuntu.com/security/notices/USN-7194-1>
- <https://ubuntu.com/security/notices/USN-7166-4>

---

Data as of 2026-12-05T04:59:33.844Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
