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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.33% (percentile 19, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2024-10-21T18:01:49.076Z
- **Modified:** 2026-08-05T11:40:27.887Z

## Who should check

- Anyone running Linux \>= 9f17f2874834f4cdbe48cc05676d8f7558793204, \< e657fa2df4429f3805a9b3e47fb1a4a1b02a72bd; \>= 9f17f2874834f4cdbe48cc05676d8f7558793204, \< 6d0a07f68b66269e167def6c0b90a219cd3e7473; \>= 9f17f2874834f4cdbe48cc05676d8f7558793204, \< e6897e299f57b103e999e62010b88e363b3eebae; \>= 9f17f2874834f4cdbe48cc05676d8f7558793204, \< 4cda484e584be34d55ee17436ebf7ad11922b97a; \>= 9f17f2874834f4cdbe48cc05676d8f7558793204, \< 3c0d416eb4bef705f699213cee94bf54b6acdacd; \>= 9f17f2874834f4cdbe48cc05676d8f7558793204, \< fdda354f60a576d52dcf90351254714681df4370; \>= 9f17f2874834f4cdbe48cc05676d8f7558793204, \< aaadc0cb05c999ccd8898a03298b7e5c31509b08; \>= 9f17f2874834f4cdbe48cc05676d8f7558793204, \< a3a855764dbacbdb1cc51e15dc588f2d21c93e0e; \>= 9f17f2874834f4cdbe48cc05676d8f7558793204, \< 4a6921095eb04a900e0000da83d9475eb958e61e
- Anyone running Linux 2.6.27

## Description

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.

## Affected and fixed versions

- Linux: \>= 9f17f2874834f4cdbe48cc05676d8f7558793204, \< e657fa2df4429f3805a9b3e47fb1a4a1b02a72bd; \>= 9f17f2874834f4cdbe48cc05676d8f7558793204, \< 6d0a07f68b66269e167def6c0b90a219cd3e7473; \>= 9f17f2874834f4cdbe48cc05676d8f7558793204, \< e6897e299f57b103e999e62010b88e363b3eebae; \>= 9f17f2874834f4cdbe48cc05676d8f7558793204, \< 4cda484e584be34d55ee17436ebf7ad11922b97a; \>= 9f17f2874834f4cdbe48cc05676d8f7558793204, \< 3c0d416eb4bef705f699213cee94bf54b6acdacd; \>= 9f17f2874834f4cdbe48cc05676d8f7558793204, \< fdda354f60a576d52dcf90351254714681df4370; \>= 9f17f2874834f4cdbe48cc05676d8f7558793204, \< aaadc0cb05c999ccd8898a03298b7e5c31509b08; \>= 9f17f2874834f4cdbe48cc05676d8f7558793204, \< a3a855764dbacbdb1cc51e15dc588f2d21c93e0e; \>= 9f17f2874834f4cdbe48cc05676d8f7558793204, \< 4a6921095eb04a900e0000da83d9475eb958e61e (cvelist)
- Linux: 2.6.27 (cvelist)

## Mitigation

- Upgrade Linux to 4a6921095eb04a900e0000da83d9475eb958e61e or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-49924. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-49924.md
Affected: Linux >= 9f17f2874834f4cdbe48cc05676d8f7558793204, < e657fa2df4429f3805a9b3e47fb1a4a1b02a72bd; >= 9f17f2874834f4cdbe48cc05676d8f7558793204, < 6d0a07f68b66269e167def6c0b90a219cd3e7473; >= 9f17f2874834f4cdbe48cc05676d8f7558793204, < e6897e299f57b103e999e62010b88e363b3eebae; >= 9f17f2874834f4cdbe48cc0…
Fixed in: Linux 6d0a07f68b66269e167def6c0b90a219cd3e7473, Linux 4cda484e584be34d55ee17436ebf7ad11922b97a, Linux 3c0d416eb4bef705f699213cee94bf54b6acdacd, Linux 4a6921095eb04a900e0000da83d9475eb958e61e

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-49924 being exploited?

There is no confirmed exploitation: CVE-2024-49924 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-49924?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-49924?

Linux \>= 9f17f2874834f4cdbe48cc05676d8f7558793204, \< e657fa2df4429f3805a9b3e47fb1a4a1b02a72bd; \>= 9f17f2874834f4cdbe48cc05676d8f7558793204, \< 6d0a07f68b66269e167def6c0b90a219cd3e7473; \>= 9f17f2874834f4cdbe48cc05676d8f7558793204, \< e6897e299f57b103e999e62010b88e363b3eebae; \>= 9f17f2874834f4cdbe48cc05676d8f7558793204, \< 4cda484e584be34d55ee17436ebf7ad11922b97a; \>= 9f17f2874834f4cdbe48cc05676d8f7558793204, \< 3c0d416eb4bef705f699213cee94bf54b6acdacd; \>= 9f17f2874834f4cdbe48cc05676d8f7558793204, \< fdda354f60a576d52dcf90351254714681df4370; \>= 9f17f2874834f4cdbe48cc05676d8f7558793204, \< aaadc0cb05c999ccd8898a03298b7e5c31509b08; \>= 9f17f2874834f4cdbe48cc05676d8f7558793204, \< a3a855764dbacbdb1cc51e15dc588f2d21c93e0e; \>= 9f17f2874834f4cdbe48cc05676d8f7558793204, \< 4a6921095eb04a900e0000da83d9475eb958e61e; Linux 2.6.27.

### Is there a fix for CVE-2024-49924?

Yes. Fixed in Linux 6d0a07f68b66269e167def6c0b90a219cd3e7473, Linux 4cda484e584be34d55ee17436ebf7ad11922b97a, Linux 3c0d416eb4bef705f699213cee94bf54b6acdacd, Linux 4a6921095eb04a900e0000da83d9475eb958e61e. Upgrade Linux to 4a6921095eb04a900e0000da83d9475eb958e61e or later.

### How do I check if I'm affected by CVE-2024-49924?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/e657fa2df4429f3805a9b3e47fb1a4a1b02a72bd>
- patch: <https://git.kernel.org/stable/c/6d0a07f68b66269e167def6c0b90a219cd3e7473>
- patch: <https://git.kernel.org/stable/c/e6897e299f57b103e999e62010b88e363b3eebae>
- patch: <https://git.kernel.org/stable/c/4cda484e584be34d55ee17436ebf7ad11922b97a>
- patch: <https://git.kernel.org/stable/c/3c0d416eb4bef705f699213cee94bf54b6acdacd>
- patch: <https://git.kernel.org/stable/c/fdda354f60a576d52dcf90351254714681df4370>
- patch: <https://git.kernel.org/stable/c/aaadc0cb05c999ccd8898a03298b7e5c31509b08>
- patch: <https://git.kernel.org/stable/c/a3a855764dbacbdb1cc51e15dc588f2d21c93e0e>
- patch: <https://git.kernel.org/stable/c/4a6921095eb04a900e0000da83d9475eb958e61e>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-49924>

HTML: <https://flawdb.com/CVE-2024-49924> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-49924>
