{"id":"CVE-2024-49925","state":"PUBLISHED","title":"fbdev: efifb: Register sysfs groups through driver core","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nfbdev: efifb: Register sysfs groups through driver core\n\nThe driver core can register and cleanup sysfs groups already.\nMake use of that functionality to simplify the error handling and\ncleanup.\n\nAlso avoid a UAF race during unregistering where the sysctl attributes\nwere usable after the info struct was freed.","publishedAt":"2024-10-21T18:01:49.732Z","updatedAt":"2026-08-05T11:40:28.960Z","severity":{"score":7.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"753375a881caa01112b7cec2c796749154e0bb23","status":"affected","lessThan":"2d97b85eb5a86766ad0f8ea3d121e6ae144e3ed8","versionType":"git"},{"version":"753375a881caa01112b7cec2c796749154e0bb23","status":"affected","lessThan":"2a9c40c72097b583b23aeb2a26d429ccfc81fbc1","versionType":"git"},{"version":"753375a881caa01112b7cec2c796749154e0bb23","status":"affected","lessThan":"36bfefb6baaa8e46de44f4fd919ce4347337620f","versionType":"git"},{"version":"753375a881caa01112b7cec2c796749154e0bb23","status":"affected","lessThan":"872cd2d029d2c970a8a1eea88b48dab2b3f2e93a","versionType":"git"},{"version":"753375a881caa01112b7cec2c796749154e0bb23","status":"affected","lessThan":"4684d69b9670a83992189f6271dc0fcdec4ed0d7","versionType":"git"},{"version":"753375a881caa01112b7cec2c796749154e0bb23","status":"affected","lessThan":"95cdd538e0e5677efbdf8aade04ec098ab98f457","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/video/fbdev/efifb.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.10","versionType":"semver"},{"version":"5.15.209","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.120","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.55","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.10.14","status":"unaffected","lessThanOrEqual":"6.10.*","versionType":"semver"},{"version":"6.11.3","status":"unaffected","lessThanOrEqual":"6.11.*","versionType":"semver"},{"version":"6.12","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/video/fbdev/efifb.c"]}],"references":["https://git.kernel.org/stable/c/2d97b85eb5a86766ad0f8ea3d121e6ae144e3ed8","https://git.kernel.org/stable/c/2a9c40c72097b583b23aeb2a26d429ccfc81fbc1","https://git.kernel.org/stable/c/36bfefb6baaa8e46de44f4fd919ce4347337620f","https://git.kernel.org/stable/c/872cd2d029d2c970a8a1eea88b48dab2b3f2e93a","https://git.kernel.org/stable/c/4684d69b9670a83992189f6271dc0fcdec4ed0d7","https://git.kernel.org/stable/c/95cdd538e0e5677efbdf8aade04ec098ab98f457","https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:56.516Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/49xxx/CVE-2024-49925.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-49925","state":"PUBLISHED","datePublished":"2024-10-21T18:01:49.732Z","dateUpdated":"2026-08-05T11:40:28.960Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-10-21T12:17:06.036Z"},"containers":{"cna":{"title":"fbdev: efifb: Register sysfs groups through driver core","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nfbdev: efifb: Register sysfs groups through driver core\n\nThe driver core can register and cleanup sysfs groups already.\nMake use of that functionality to simplify the error handling and\ncleanup.\n\nAlso avoid a UAF race during unregistering where the sysctl attributes\nwere usable after the info struct was freed."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"753375a881caa01112b7cec2c796749154e0bb23","status":"affected","lessThan":"2d97b85eb5a86766ad0f8ea3d121e6ae144e3ed8","versionType":"git"},{"version":"753375a881caa01112b7cec2c796749154e0bb23","status":"affected","lessThan":"2a9c40c72097b583b23aeb2a26d429ccfc81fbc1","versionType":"git"},{"version":"753375a881caa01112b7cec2c796749154e0bb23","status":"affected","lessThan":"36bfefb6baaa8e46de44f4fd919ce4347337620f","versionType":"git"},{"version":"753375a881caa01112b7cec2c796749154e0bb23","status":"affected","lessThan":"872cd2d029d2c970a8a1eea88b48dab2b3f2e93a","versionType":"git"},{"version":"753375a881caa01112b7cec2c796749154e0bb23","status":"affected","lessThan":"4684d69b9670a83992189f6271dc0fcdec4ed0d7","versionType":"git"},{"version":"753375a881caa01112b7cec2c796749154e0bb23","status":"affected","lessThan":"95cdd538e0e5677efbdf8aade04ec098ab98f457","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/video/fbdev/efifb.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.10","versionType":"semver"},{"version":"5.15.209","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.120","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.55","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.10.14","status":"unaffected","lessThanOrEqual":"6.10.*","versionType":"semver"},{"version":"6.11.3","status":"unaffected","lessThanOrEqual":"6.11.*","versionType":"semver"},{"version":"6.12","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/video/fbdev/efifb.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/2d97b85eb5a86766ad0f8ea3d121e6ae144e3ed8"},{"url":"https://git.kernel.org/stable/c/2a9c40c72097b583b23aeb2a26d429ccfc81fbc1"},{"url":"https://git.kernel.org/stable/c/36bfefb6baaa8e46de44f4fd919ce4347337620f"},{"url":"https://git.kernel.org/stable/c/872cd2d029d2c970a8a1eea88b48dab2b3f2e93a"},{"url":"https://git.kernel.org/stable/c/4684d69b9670a83992189f6271dc0fcdec4ed0d7"},{"url":"https://git.kernel.org/stable/c/95cdd538e0e5677efbdf8aade04ec098ab98f457"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","baseScore":7.1,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The vulnerable code is reached only by reading sysfs files under /sys/devices/platform/efi-framebuffer.0/ from a local process; there is no network, adjacent-network, or remote-peer path into efifb's attribute show handlers.\nAC:L - Exploitation requires the system to be in the narrow state of tearing down the efifb platform driver — a state only root can induce (driver unbind, or a DRM driver load calling aperture_remove_conflicting_devices()) — and the window between unregister_framebuffer() and sysfs_remove_groups() is a handful of instructions. The attacker controls only the reader side of the race and cannot trigger, widen, or retry the free.\nPR:L - The attributes are DEVICE_ATTR_RO (mode 0444), so any unprivileged local user, including one inside a container with /sys mounted, can read them in a tight loop with no capability at all.\nUI:N - The driver-removal event that opens the window is an automatic boot-time DRM handoff on typical systems rather than a deliberate victim action, and the attacker's own read requires no interaction from anyone else.\nS:U - The stale attribute access and the freed struct fb_info both live in the kernel's own security authority; no VM, IOMMU, or sandbox boundary is crossed.\nC:H - A successful read in the window dereferences the freed struct fb_info allocation, and because the read is repeatable and the attacker can spray the slab between attempts to control what lands in the freed slot, it acts as a kernel-heap disclosure oracle rather than a single bounded leak.\nI:N - Every attribute in efifb_groups is DEVICE_ATTR_RO with no store() method, so the code path performs only loads — there is no out-of-bounds write, no write into the freed object, and no way to alter kernel memory or control flow.\nA:H - Touching the freed fb_info can fault and oops when the backing page has been returned to the allocator or on hardened builds (KASAN/KFENCE/DEBUG_PAGEALLOC), and any such fault in the fbdev teardown path takes down the kernel."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T11:40:28.960Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.10","versionEndExcluding":"5.15.209"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.10","versionEndExcluding":"6.1.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.10","versionEndExcluding":"6.6.55"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.10","versionEndExcluding":"6.10.14"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.10","versionEndExcluding":"6.11.3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.10","versionEndExcluding":"6.12"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-49925","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-10-22T13:39:49.983687Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-10-22T13:48:44.061Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T20:42:00.980Z"}}]}}}