{"id":"CVE-2024-49924","published":"2024-10-21T18:01:49Z","modified":"2026-08-05T11:40:27Z","title":"fbdev: pxafb: Fix possible use after free in pxafb_task()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nfbdev: pxafb: Fix possible use after free in pxafb_task()\n\nIn the pxafb_probe function, it calls the pxafb_init_fbinfo function,\nafter which &fbi->task is associated with pxafb_task. Moreover,\nwithin this pxafb_init_fbinfo function, the pxafb_blank function\nwithin the &pxafb_ops struct is capable of scheduling work.\n\nIf we remove the module which will call pxafb_remove to make cleanup,\nit will call unregister_framebuffer function which can call\ndo_unregister_framebuffer to free fbi->fb through\nput_fb_info(fb_info), while the work mentioned above will be used.\nThe sequence of operations that may lead to a UAF bug is as follows:\n\nCPU0                                                CPU1\n\n                                   | pxafb_task\npxafb_remove                       |\nunregister_framebuffer(info)       |\ndo_unregister_framebuffer(fb_info) |\nput_fb_info(fb_info)               |\n// free fbi->fb                    | set_ctrlr_state(fbi, state)\n                                   | __pxafb_lcd_power(fbi, 0)\n                                   | fbi->lcd_power(on, &fbi->fb.var)\n                                   | //use fbi->fb\n\nFix it by ensuring that the work is canceled before proceeding\nwith the cleanup in pxafb_remove.\n\nNote that only root user can remove the driver at runtime.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0033,"percentile":0.18671,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/e657fa2df4429f3805a9b3e47fb1a4a1b02a72bd","tags":[]},{"url":"https://git.kernel.org/stable/c/6d0a07f68b66269e167def6c0b90a219cd3e7473","tags":[]},{"url":"https://git.kernel.org/stable/c/e6897e299f57b103e999e62010b88e363b3eebae","tags":[]},{"url":"https://git.kernel.org/stable/c/4cda484e584be34d55ee17436ebf7ad11922b97a","tags":[]},{"url":"https://git.kernel.org/stable/c/3c0d416eb4bef705f699213cee94bf54b6acdacd","tags":[]},{"url":"https://git.kernel.org/stable/c/fdda354f60a576d52dcf90351254714681df4370","tags":[]},{"url":"https://git.kernel.org/stable/c/aaadc0cb05c999ccd8898a03298b7e5c31509b08","tags":[]},{"url":"https://git.kernel.org/stable/c/a3a855764dbacbdb1cc51e15dc588f2d21c93e0e","tags":[]},{"url":"https://git.kernel.org/stable/c/4a6921095eb04a900e0000da83d9475eb958e61e","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[]}],"priority":{"score":9.2,"factors":[{"name":"EPSS percentile","points":3.73},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 9f17f2874834f4cdbe48cc05676d8f7558793204, < e657fa2df4429f3805a9b3e47fb1a4a1b02a72bd",">= 9f17f2874834f4cdbe48cc05676d8f7558793204, < 6d0a07f68b66269e167def6c0b90a219cd3e7473",">= 9f17f2874834f4cdbe48cc05676d8f7558793204, < e6897e299f57b103e999e62010b88e363b3eebae",">= 9f17f2874834f4cdbe48cc05676d8f7558793204, < 4cda484e584be34d55ee17436ebf7ad11922b97a",">= 9f17f2874834f4cdbe48cc05676d8f7558793204, < 3c0d416eb4bef705f699213cee94bf54b6acdacd",">= 9f17f2874834f4cdbe48cc05676d8f7558793204, < fdda354f60a576d52dcf90351254714681df4370",">= 9f17f2874834f4cdbe48cc05676d8f7558793204, < aaadc0cb05c999ccd8898a03298b7e5c31509b08",">= 9f17f2874834f4cdbe48cc05676d8f7558793204, < a3a855764dbacbdb1cc51e15dc588f2d21c93e0e",">= 9f17f2874834f4cdbe48cc05676d8f7558793204, < 4a6921095eb04a900e0000da83d9475eb958e61e"]},{"vendor":"Linux","product":"Linux","versions":["2.6.27"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-10-22T13:39:57.349772Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-43614","exploited":false,"provenance":"source"}}